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

◆ OnRPC()

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

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

1126 {
1127 super.OnRPC(sender, rpc_type, ctx);
1128
1129 //array<vector,int,int,string> tmp_array = new array<vector,int,int,string>;
1130 //Param1<ref array<vector,int,int,string>> param = new Param1<ref array<vector,int,int,string>>(m_MarkerArray);
1131 Param1<ref array<ref MapMarker>> params = new Param1<ref array<ref MapMarker>>( m_MapMarkerArray );
1132
1133 if (rpc_type == ERPCs.RPC_SEND_MAP_MARKERS)
1134 {
1135 if (ctx.Read(params))
1136 {
1137 //Print("Map | OnRPC | m_MapMarkerArray_new count: " + m_MapMarkerArray_new.Count());
1138 }
1139 }
1140 }
ERPCs
Определения ERPCs.c:2
ref array< ref MapMarker > m_MapMarkerArray
proto bool Read(void value_in)

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