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

◆ OnRPCHorticultUpdate()

void PluginBase::OnRPCHorticultUpdate ( ParamsReadContext ctx,
PlayerBase player )
inlineprotected

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

703 {
704 Param6<int, GardenBase, int, int, int, int> p = new Param6<int, GardenBase, int, int, int, int>(-1, null, 0, 0, 0, 0);
705 if ( !ctx.Read(p) )
706 return;
707
708 GardenBase garden = p.param2;
709
710 if (p.param1 != -1 && garden)
711 {
712 Slot gSlot = garden.GetSlotByIndex(p.param1);
713 if (gSlot && gSlot.GetPlant())
714 gSlot.GetPlant().DebugSetTimes(p.param3, p.param4, p.param5, p.param6);
715 }
716 else
717 PlantBase.DebugSetGlobalTimes(p.param3, p.param4, p.param5, p.param6);
718 }
void PlantBase()
Определения PlantBase.c:54
proto bool Read(void value_in)

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

Используется в OnRPC().