IOnlineChat::IsMessageFromLocalUser

Check if a message is from the local user

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

/Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineChatInterface.h

Include

#include "Interfaces/OnlineChatInterface.h"

Syntax

bool IsMessageFromLocalUser
(
    const FUniqueNetId & UserId,
    const FChatMessage & Message,
    const bool bIncludeExternalInstances
)

Remarks

Check if a message is from the local user

Returns

true if the message is from the local user, false if not

Parameters

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

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