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

◆ OnStoreSave()

override void OnStoreSave ( ParamsWriteContext ctx)
protected

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

3191 {
3192 super.OnStoreSave(ctx);
3193
3194 PlayerBase player;
3195 if (PlayerBase.CastTo(player,GetHierarchyRootPlayer()))
3196 {
3197 ctx.Write(true); // Keep track of if we should actually read this in or not
3198 //Save quickbar item bind
3199 int itemQBIndex = -1;
3200 itemQBIndex = player.FindQuickBarEntityIndex(this);
3201 ctx.Write(itemQBIndex);
3202 }
3203 else
3204 {
3205 ctx.Write(false); // Keep track of if we should actually read this in or not
3206 }
3207
3208 SaveAgents(ctx);//agent trasmission system
3209
3211 if (raib)
3212 {
3213 raib.OnStoreSave(ctx);
3214 }
3215 }
void SaveAgents(ParamsWriteContext ctx)
Определения ItemBase.c:4052
override RemotelyActivatedItemBehaviour GetRemotelyActivatedItemBehaviour()
Определения RemoteDetonator.c:272
Определения PlayerBaseClient.c:2
void OnStoreSave(ParamsWriteContext ctx)
proto bool Write(void value_out)

Перекрестные ссылки GetRemotelyActivatedItemBehaviour(), RemotelyActivatedItemBehaviour::OnStoreSave(), SaveAgents() и Serializer::Write().