Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
PlayerManager.c
Go to the documentation of this file.
1
/*
2
===========================================
3
Do not modify, this script is generated
4
===========================================
5
*/
6
11
12
class
PlayerManager
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
EPlayerRole
Definition
EPlayerRole.c:8
PlatformKind
PlatformKind
Definition
PlatformKind.c:8
GetPlayerCount
int GetPlayerCount()
Definition
SCR_Faction.c:554
reason
string reason
Definition
ServerBrowserMenuCallbacks.c:41
IEntity
Definition
IEntity.c:13
PlayerManager
Definition
PlayerManager.c:13
PlayerManager::OnPlayerNameCacheUpdate
void OnPlayerNameCacheUpdate(bool success)
Event invoked as a result of RequestPlayerNameCacheUpdate.
Definition
PlayerManager.c:100
GetPlayerController
proto external PlayerController GetPlayerController()
Definition
SCR_PlayerDeployMenuHandlerComponent.c:307
PlayerManagerKickReason
PlayerManagerKickReason
Definition
PlayerManagerKickReason.c:13
ScriptInvoker
ScriptInvokerBase< func > ScriptInvoker
Definition
tools.c:134
scripts
Game
generated
Network
PlayerManager.c
Generated by
1.17.0