Module |
|
Header |
/Engine/Plugins/Online/OnlineFramework/Source/Party/Public/Chatroom.h |
Include |
#include "Chatroom.h" |
Source |
/Engine/Plugins/Online/OnlineFramework/Source/Party/Private/Chatroom.cpp |
void CreateOrJoinChatRoom
(
FUniqueNetIdRepl LocalUserId,
FChatRoomId ChatRoomId,
FOnChatRoomCreatedOrJoined CompletionDelegate,
FChatRoomConfig RoomConfig
)
Chat room functions Try to join a chat room by calling CreateRoom, will either create or join if it already exists
Parameter |
Description |
---|---|
LocalUserId |
local user that will be joining the room |
ChatRoomId |
chat room id to connect with |
CompletionDelegate |
delegate fired when operation completes |
RoomConfig |
optional room configuration NOTE: All parameters are by value because ClearTimer/SetTimer can destroy the internal lambda function |