Navigation
API > API/Plugins > API/Plugins/Party > API/Plugins/Party/Chat
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- USocialChatManager
References
| Module | Party |
| Header | /Engine/Plugins/Online/OnlineFramework/Source/Party/Public/Chat/SocialChatManager.h |
| Include | #include "Chat/SocialChatManager.h" |
Syntax
UCLASS&40;Within&61;SocialToolkit, Config&61;Game&41;
class USocialChatManager : public UObject
Remarks
The chat manager is a fully passive construct that watches for creation of chat rooms and message activity therein
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | |||
| USocialChatChannel * | CreateChatChannel
(
FSocialChatChannelConfig& InConfig |
TODO - Deubanks - Move to Protected here (public version in UFortChatManager once it exists) | |
| USocialChatChannel & | CreateChatChannel
(
USocialUser& InRecipient |
TODO - Deubanks - Move to Protected here (public version in UFortChatManager once it exists) | |
| USocialChatManager * | CreateChatManager
(
USocialToolkit& InOwnerToolkit |
||
| void | DisplayChatChannel
(
USocialChatChannel& InChannel |
||
| void | ExitChatRoom
(
const FChatRoomId& RoomId, |
||
| USocialGroupChannel & | FindOrCreateGroupChannel
(
IOnlineGroupsPtr InGroupInterface, |
||
| void | FocusChatChannel
(
USocialUser& InChannelUser |
||
| void | FocusChatChannel
(
USocialChatChannel& InChannel |
||
| USocialChatRoom * | GetChatRoom
(
const FChatRoomId& ChannelId |
||
| USocialChatChannel * | GetChatRoomForType
(
ESocialChannelType Key |
||
| TSubclassOf< USocialChatRoom > | GetClassForChatRoom
(
ESocialChannelType Type |
||
| TSubclassOf< USocialGroupChannel > | |||
| TSubclassOf< USocialChatChannel > | |||
| TSubclassOf< USocialChatChannel > | |||
| void | GetGroupChannels
(
TArray< USocialGroupChannel* >& JoinedChannels |
||
| void | GetJoinedChannels
(
TArray< USocialChatChannel* >& JoinedChannels |
||
| IOnlineChatPtr | GetOnlineChatInterface
(
ESocialSubsystem InSocialSubsystem |
END KIAROS GROUP MANAGEMENT. | |
| IOnlineGroupsPtr | GetOnlineGroupInterface
(
ESocialSubsystem InSocialSubsystem |
||
| USocialToolkit & | |||
| void | HandleChatPrivateMessageReceived
(
const FUniqueNetId& LocalUserId, |
||
| void | HandleChatRoomMessageReceived
(
const FUniqueNetId& LocalUserId, |
||
| void | |||
| void | DECLARE_EVENT_OneParam(USocialChatManager, FOnChatChannelFocusRequested, USocialChatChannel&); FOnChatChannelFocusRequested& OnGroupsChanged() const { return OnChannelFocusRequestedEvent; } | ||
| bool | |||
| bool | IsUniqueIdOfOwner
(
const FUniqueNetId& LocalUserId |
||
| void | JoinChatRoomPrivate
(
const FChatRoomId& RoomId, |
Configuration for creating/joining a chat room | |
| void | JoinChatRoomPublic
(
const FChatRoomId& RoomId, |
Void SendDirectMessage(const ISocialUserRef& InRecipient, const FString& InMessage); void SendMessage(const USocialChatChannel& Channel, const FString& InMessage); virtual bool SendMessage(const FString& InChannelName, const FString& InMessage) override; virtual bool SendMessage(const ISocialUserRef& InRecipient, const FString& InMessage) override; | |
| void | LocalUserInitialized
(
USocialUser& LocalUser |
||
| FOnChatChannelCreated & | |||
| void | OnChannelCreatedInternal
(
USocialChatChannel& CreatedChannel |
||
| FOnChatChannelDisplayRequested & | |||
| FOnChatChannelFocusRequested & | |||
| FOnChatChannelLeft & | |||
| void | OnChannelLeftInternal
(
USocialChatChannel& ChannelLeft |
||
| void | OnGroupUpdated
(
const FUniqueNetId& GroupId |
||
| void | RefreshGroupsRequestCompleted
(
FGroupsResult Result |
||
| ESocialChannelType | TryChannelTypeLookupByRoomId
(
const FChatRoomId& RoomID |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FOnChatChannelCreated | |||
| FOnChatChannelDisplayRequested | |||
| FOnChatChannelFocusRequested | |||
| FOnChatChannelLeft |