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

◆ OnRPC()

override void InventoryItemSuper::OnRPC ( PlayerIdentity sender,
int rpc_type,
ParamsReadContext ctx )
inlineprotected

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

1101 {
1102 super.OnRPC(sender, rpc_type, ctx);
1103
1104 //array<vector,int,int,string> tmp_array = new array<vector,int,int,string>;
1105 //Param1<ref array<vector,int,int,string>> param = new Param1<ref array<vector,int,int,string>>(m_MarkerArray);
1106 Param1<ref array<ref MapMarker>> params = new Param1<ref array<ref MapMarker>>( m_MapMarkerArray );
1107
1108 if (rpc_type == ERPCs.RPC_SEND_MAP_MARKERS)
1109 {
1110 if (ctx.Read(params))
1111 {
1112 //Print("Map | OnRPC | m_MapMarkerArray_new count: " + m_MapMarkerArray_new.Count());
1113 }
1114 }
1115 }
ERPCs
Определения ERPCs.c:2
ref array< ref MapMarker > m_MapMarkerArray
Определения InventoryItem.c:1009
proto bool Read(void value_in)

Перекрестные ссылки m_MapMarkerArray и Serializer::Read().