UChatroom::CreateOrJoinChatRoom

Chat room functions Try to join a chat room by calling CreateRoom, will either create or join if it already exists

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 CreateOrJoinChatRoom
(
    FUniqueNetIdRepl LocalUserId,
    FChatRoomId ChatRoomId,
    FOnChatRoomCreatedOrJoined CompletionDelegate,
    FChatRoomConfig RoomConfig
)

Remarks

Chat room functions Try to join a chat room by calling CreateRoom, will either create or join if it already exists

All parameters are by value because ClearTimer/SetTimer can destroy the internal lambda function

Parameters

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

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