Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem > API/Plugins/OnlineSubsystem/Interfaces > API/Plugins/OnlineSubsystem/Interfaces/IOnlineChat
References
| Module | OnlineSubsystem |
| 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
)
Remarks
Check if a message is from the local user true if the message is from the local user, false if not
Parameters
| Name | 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 |