UChatroom::OnChatRoomCreatedOrJoined

Delegate fired after CreateOrJoinChatRoom completes

Windows
MacOS
Linux

References

Module

Party

Header

/Engine/Plugins/Online/OnlineFramework/Source/Party/Public/Chatroom.h

Include

#include "Chatroom.h"

Source

/Engine/Plugins/Online/OnlineFramework/Source/Party/Private/Chatroom.cpp

Syntax

void OnChatRoomCreatedOrJoined
(
    const FUniqueNetId & LocalUserId,
    const FChatRoomId & RoomId,
    bool bWasSuccessful,
    const FString & Error,
    FOnChatRoomCreatedOrJoined CompletionDelegate,
    FChatRoomConfig RoomConfig
)

Remarks

Delegate fired after CreateOrJoinChatRoom completes

Parameters

Parameter

Description

LocalUserId

user joining the chat room

RoomId

id of room joined

bWasSuccessful

was the join successful

Error

error string if not successful

CompletionDelegate

user passed in delegate

RoomConfig

room configuration from previous call if needed on retry

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss