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

◆ SendMuteListToServer()

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

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

228 {
229 if( mute_list && mute_list.Count() > 0 )
230 {
231 ScriptRPC rpc = new ScriptRPC();
232 rpc.Write(mute_list);
233 rpc.Send(null, ERPCs.RPC_USER_SYNC_PERMISSIONS, true, null);
234 }
235 }
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().