Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
PlayerManager.c
Go to the documentation of this file.
1/*
2===========================================
3Do not modify, this script is generated
4===========================================
5*/
6
11
13{
14 static ref ScriptInvoker<bool> s_OnPlayerNameCacheUpdateInvoker = new ScriptInvoker<bool>();
15
22 proto external void KickPlayer(int iPlayerId, PlayerManagerKickReason reason, int timeout = 0);
24 proto external int GetPlayerCount();
26 proto external int GetAllPlayerCount();
28 proto external int GetDisconnectedPlayerCount();
30 proto external int GetPlayers(out notnull array<int> outPlayers);
32 proto external int GetAllPlayers(out notnull array<int> outPlayers);
34 proto external int GetDisconnectedPlayers(out notnull array<int> outPlayers);
36 proto external string GetPlayerName(int iPlayerId);
41 static proto bool RequestPlayerNameCacheUpdate(array<string> aIdentityIDs);
43 proto external owned string GetPlayerNameByIdentity(string playerIdentity);
45 proto external IEntity GetPlayerControlledEntity(int iPlayerId);
51 proto external RespawnComponent GetPlayerRespawnComponent(int iPlayerId);
53 proto external int GetPlayerIdFromControlledEntity(IEntity controlled);
54 proto external int GetPlayerIdFromEntityRplId(int entityRplId);
56 proto external PlayerController GetPlayerController(int iPlayerId);
58 proto external PlatformKind GetPlatformKind(int iPlayerId);
60 proto external bool IsPlayerConnected(int iPlayerId);
62 proto external bool HasPlayerRole(int iPlayerId, EPlayerRole role);
64 proto external EPlayerRole GetPlayerRoles(int iPlayerId);
69 proto external bool GivePlayerRole(int iPlayerId, EPlayerRole role);
74 proto external bool ClearPlayerRole(int iPlayerId, EPlayerRole role);
80 proto external void ShowUserProfile(int iPlayerId);
84 proto external bool IsUserProfileAvailable(int iPlayerId);
90 proto external bool ShowMultiplayerActivityInvite();
95 proto external bool IsMultiplayerActivityInviteAvailable();
96
97 // callbacks
98
100 static event protected void OnPlayerNameCacheUpdate(bool success) { s_OnPlayerNameCacheUpdateInvoker.Invoke(success); };
101}
102
EPlayerRole
Definition EPlayerRole.c:8
PlatformKind
Definition PlatformKind.c:8
int GetPlayerCount()
void OnPlayerNameCacheUpdate(bool success)
Event invoked as a result of RequestPlayerNameCacheUpdate.
proto external PlayerController GetPlayerController()
PlayerManagerKickReason
ScriptInvokerBase< func > ScriptInvoker
Definition tools.c:134