См. определение в файле ScriptedSandstormController.c строка 42
43 {
44 if (!player)
45 return NULL;
46
47 PlayerSandstormData playerData;
48 PlayerIdentity identity = player.GetIdentity();
49 if (
g_Game.IsMultiplayer() ||
g_Game.IsDedicatedServer())
50 {
51 if (!identity)
52 return NULL;
53
55 }
56 else
57 {
59 }
60
61 if (!playerData)
62 {
63 if (
g_Game.IsMultiplayer() ||
g_Game.IsDedicatedServer())
64 {
66 }
67 else
68 {
70 }
71 }
72
73 return playerData;
74 }
proto string GetId()
unique id of player (hashed steamID, database Xbox id...) can be used in database or logs
PlayerSandstormData GetPlayerData(string playerId)
Перекрестные ссылки ErrorEx, g_Game, PlayerIdentityBase::GetId() и GetPlayerData().
Используется в GetIntensityForPlayer().