DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ GetSimplePlayerList() [1/2]

static array< string > ClientData::GetSimplePlayerList ( )
inlinestaticprivate

См. определение в файле ClientData.c строка 92

93 {
94 array<string> ids = new array<string>;
95 if ( m_PlayerList && m_PlayerList.m_PlayerList )
96 {
97 for ( int i = 0; i < m_PlayerList.m_PlayerList.Count(); i++ )
98 {
99 SyncPlayer player = m_PlayerList.m_PlayerList.Get( i );
100 ids.Insert( player.m_UID );
101 }
102 }
103
104 return ids;
105 }
static ref SyncPlayerList m_PlayerList
Определения ClientData.c:8
string m_UID
Keeping for backwards compatability with mods.
Определения SyncPlayer.c:8

Перекрестные ссылки m_PlayerList и SyncPlayer::m_UID.

Используется в OnlineServices::GetPendingInviteList(), BiosSessionService::GetSessionPlayerList(), OnlineServices::SetMultiplayState() и SyncEvent_OnRecievedPlayerList().