Navigation
API > API/Plugins > API/Plugins/OnlineSubsystemEOS > API/Plugins/OnlineSubsystemEOS/IOnlinePlayerSanctionEOS
Description
Query active player sanction. The sanctions will be cached locally and can be retrieved using GetCachedActivePlayerSanctions
| Name | QueryActivePlayerSanctions |
| Type | function |
| Header File | /Engine/Plugins/Online/OnlineSubsystemEOS/Source/OnlineSubsystemEOS/Public/Interfaces/OnlinePlayerSanctionEOSInterface.h |
| Include Path | #include "Interfaces/OnlinePlayerSanctionEOSInterface.h" |
void QueryActivePlayerSanctions
(
const FUniqueNetId & LocalUserId,
const FUniqueNetId & TargetUserId,
FOnQueryActivePlayerSanctionsComplete && Delegate
)
Parameters
| Name | Remarks |
|---|---|
| LocalUserId | the player id of the local user querying the sanctions. |
| TargetUserId | the player id of the player we are querying sanctions for. |