IOnlineFriends::BlockPlayer

Block a player

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

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

Include

#include "Interfaces/OnlineFriendsInterface.h"

Syntax

bool BlockPlayer
(
    int32 LocalUserNum,
    const FUniqueNetId & PlayerId
)

Remarks

Block a player

Returns

true if query was started

Parameters

Parameter

Description

LocalUserNum

The user to check for

PlayerId

The player to block

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