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

◆ SendMuteListToServer()

void MissionBase::SendMuteListToServer ( map< string, bool > mute_list)
inlineprotected

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

238 {
239 if( mute_list && mute_list.Count() > 0 )
240 {
241 ScriptRPC rpc = new ScriptRPC();
242 rpc.Write(mute_list);
243 rpc.Send(null, ERPCs.RPC_USER_SYNC_PERMISSIONS, true, null);
244 }
245 }
ERPCs
Определения ERPCs.c:2
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...
proto bool Write(void value_out)

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