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

◆ RequestPlayerInfo()

void RequestPlayerInfo ( PlayerBase player,
int type )

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

149 {
150#ifdef DIAG_DEVELOPER
151 if (type == 0)
152 {
153 EnableWidgets(false);
154 }
155 /*
156 else
157 {
158 EnableWidgets(true);
159 }
160 */
161 ScriptRPC rpc = new ScriptRPC();
162 m_DebugType = type;
163 rpc.Write(type);
164 rpc.Send( player, ERPCs.DEV_PLAYER_DEBUG_REQUEST, true, player.GetIdentity() );
165#endif
166 }
ERPCs
Определения ERPCs.c:2
eRemoteDebugType m_DebugType
Определения PluginRemotePlayerDebugClient.c:19
void EnableWidgets(bool enable)
Определения PluginRemotePlayerDebugClient.c:47
proto native void Send(Object target, int rpc_type, bool guaranteed, PlayerIdentity recipient=NULL)
Initiate remote procedure call. When called on client, RPC is evaluated on server; When called on ser...
Определения gameplay.c:105
proto bool Write(void value_out)

Перекрестные ссылки PluginBase::EnableWidgets(), m_DebugType, ScriptRPC::Send() и Serializer::Write().