DayZ 1.29
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 строка 1136

1137 {
1138 super.OnRPC(sender, rpc_type, ctx);
1139
1140 //array<vector,int,int,string> tmp_array = new array<vector,int,int,string>;
1141 //Param1<ref array<vector,int,int,string>> param = new Param1<ref array<vector,int,int,string>>(m_MarkerArray);
1142 Param1<ref array<ref MapMarker>> params = new Param1<ref array<ref MapMarker>>( m_MapMarkerArray );
1143
1144 if (rpc_type == ERPCs.RPC_SEND_MAP_MARKERS)
1145 {
1146 if (ctx.Read(params))
1147 {
1148 //Print("Map | OnRPC | m_MapMarkerArray_new count: " + m_MapMarkerArray_new.Count());
1149 }
1150 }
1151 }
ERPCs
Определения ERPCs.c:2
ref array< ref MapMarker > m_MapMarkerArray
proto bool Read(void value_in)

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