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

◆ OnRPC()

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

См. определение в файле 4_World/DayZ/Entities/Core/Inherited/InventoryItem.c строка 1281

1282 {
1283 super.OnRPC(sender, rpc_type, ctx);
1284
1285 //array<vector,int,int,string> tmp_array = new array<vector,int,int,string>;
1286 //Param1<ref array<vector,int,int,string>> param = new Param1<ref array<vector,int,int,string>>(m_MarkerArray);
1287 Param1<ref array<ref MapMarker>> params = new Param1<ref array<ref MapMarker>>( m_MapMarkerArray );
1288
1289 if (rpc_type == ERPCs.RPC_SEND_MAP_MARKERS)
1290 {
1291 if (ctx.Read(params))
1292 {
1293 //Print("Map | OnRPC | m_MapMarkerArray_new count: " + m_MapMarkerArray_new.Count());
1294 }
1295 }
1296 }
ERPCs
Определения ERPCs.c:2
ref array< ref MapMarker > m_MapMarkerArray
proto bool Read(void value_in)

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