Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
GameBlocklist.c
Go to the documentation of this file.
1/*
2===========================================
3Do not modify, this script is generated
4===========================================
5*/
6
8{
9 ref ScriptInvoker<bool> OnBlockListUpdateInvoker = new ScriptInvoker<bool>();
11
16 proto external void UpdateBlockList();
22 proto external void CheckBlockedPlayersInRoom(notnull Room room);
27 proto external int GetBlockedPlayers(notnull array<BlockListItem> outItems);
32 proto external void Block(BackendCallback callback, int otherPlayerID);
37 proto external bool Unblock(BackendCallback callback, int otherPlayerID);
45 proto external bool IsBlockedIdentity(string identity, PlatformKind platform, string platformIdHash);
46
47 // callbacks
48
50 event protected void OnBlockListUpdate(bool success) { OnBlockListUpdateInvoker.Invoke(success); };
55 event protected void OnCheckedBlockedPlayersInRoom(Room room, array<BlockedRoomPlayer> blockedPlayers) { OnGetBlockedPlayersInRoomInvoker.Invoke(room, blockedPlayers); };
56}
PlatformKind
Definition PlatformKind.c:8
void OnBlockListUpdate(bool success)
Event invoked as a result of UpdateBlockList.
void OnCheckedBlockedPlayersInRoom(Room room, array< BlockedRoomPlayer > blockedPlayers)
Definition Room.c:13
ScriptInvokerBase< func > ScriptInvoker
Definition tools.c:134