Module |
|
Header |
/Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineChatInterface.h |
Include |
#include "Interfaces/OnlineChatInterface.h" |
bool IsMessageFromLocalUser
(
const FUniqueNetId & UserId,
const FChatMessage & Message,
const bool bIncludeExternalInstances
)
Check if a message is from the local user
true if the message is from the local user, false if not
Parameter |
Description |
---|---|
UserId |
local user id |
Message |
message to check |
bIncludeExternalInstances |
relevant when multiple logins on the same account name are possible. Use false if we want to restrict to the current (this) instance of the game, true if we want to include instances running in other processes |