USocialChatChannel

Base SocialCore chat channel class (partial ISocialChatChannel implementation)

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Party

Header

/Engine/Plugins/Online/OnlineFramework/Source/Party/Public/Chat/SocialChatChannel.h

Include

#include "Chat/SocialChatChannel.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(Abstract, Within=SocialChatManager)
class USocialChatChannel : public UObject

Remarks

Base SocialCore chat channel class (partial ISocialChatChannel implementation)

Variables

Name Description

Protected variable

FText

 

ChannelDisplayName

Protected variable

ESocialChannelT...

 

ChannelType

Constructors

Name Description

Public function

USocialChatChannel()

Functions

Name Description

Protected function

void

 

AddMessageInternal

(
    FSocialChatMessageRef NewMessage
)

Public function

void

 

AddMirroredMessage

(
    FSocialChatMessageRef NewMessage
)

Used by external classes to duplicate a message into a channel that didn't otherwise receive it

Public function

void

 

AddSystemMessage

(
    const FText& MessageBody
)

Public function Virtual Const

const FText ...

 

GetChannelDisplayName()

Public function Const

ESocialChann...

 

GetChannelType()

Protected function Const

IOnlineChatP...

 

GetChatInterface()

Public function Const

bool

 

GetIsHidden()

Public function Virtual Const

const TArray...

 

GetMessageHistory()

Protected function Const

USocialToolk...

 

GetOwningToolkit()

Public function Virtual

void

 

HandleListenedChannelMessageReceived

(
    const FSocialChatMessageRef& Messa...,
    USocialChatChannel* SourceChan...
)

Public function Virtual

void

 

Initialize

(
    USocialUser* InSocialUser,
    const FChatRoomId& InChannelId,
    ESocialChannelType InSourceChannelT...
)

Public function Virtual

void

 

InjectLocalMessage

(
    const TSharedRef< FSocialLocalChatM...
)

Manually adds the given message to the channel's log locally.

Public function Virtual

void

 

ListenToChannel

(
    USocialChatChannel& Channel
)

Public function

void

 

NotifyChannelUserChanged

(
    USocialUser& InUser
)

Public function

void

 

NotifyMessageReceived

(
    const TSharedRef< FChatMessage >& ...
)

Public function

void

 

NotifyUserJoinedChannel

(
    USocialUser& InUser
)

Public function

void

 

NotifyUserLeftChannel

(
    USocialUser& InUser
)

Public function Virtual Const

FOnChannelDi...

 

OnChannelDisplayNameChanged()

Public function Virtual Const

FOnChannelUs...

 

OnChannelUserChanged()

Public function

FOnHiddenCha...

 

OnHiddenChanged()

Public function Virtual Const

FOnMessageRe...

 

OnMessageReceived()

Public function Virtual Const

FOnChannelUs...

 

OnUserJoinedChannel()

Public function Virtual Const

FOnChannelUs...

 

OnUserLeftChannel()

Protected function Const

void

 

SanitizeMessage

(
    FString& RawMessage
)

Public function Virtual

bool

 

SendMessage

(
    const FString& Message
)

Sends a text message to all other users in this channel.

Public function Virtual

void

 

SetAutoUpdatePeriod

(
    float
)

Public function

void

 

SetChannelDisplayName

(
    const FText& InDisplayName
)

Public function

void

 

SetChannelType

(
    ESocialChannelType InType
)

Public function

void

 

SetIsHidden

(
    bool InValue
)

Public function Virtual Const

bool

 

SupportsMessageSending()

Public function Virtual

void

 

UpdateNow()

Classes

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