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

◆ PredictiveTakeEntityToTargetCargoEx()

override bool EntityAI::PredictiveTakeEntityToTargetCargoEx ( notnull CargoBase cargo,
notnull EntityAI item,
int row,
int col )
inlineprotected

См. определение в файле 3_Game/DayZ/Entities/Man.c строка 576

577 {
578 if (!ScriptInputUserData.CanStoreInputUserData())
579 {
580 Print("[inv] " + GetDebugName(this) + " STS = " + GetSimulationTimeStamp() + " ::PredictiveTakeEntityToTargetCargoEx input data not sent yet, cannot allow another input action");
581 return false;
582 }
583
584 if (NeedInventoryJunctureFromServer(item, item.GetHierarchyParent(), cargo.GetCargoOwner()))
585 return JunctureTakeEntityToTargetCargoEx(cargo, item, row, col);
586 else
587 return TakeEntityToTargetCargoExImpl(InventoryMode.PREDICTIVE, cargo, item, row, col);
588 }
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
bool JunctureTakeEntityToTargetCargoEx(notnull CargoBase cargo, notnull EntityAI item, int row, int col)
to target cgo ex juncture
Определения 3_Game/DayZ/Entities/Man.c:571
bool NeedInventoryJunctureFromServer(notnull EntityAI item, EntityAI currParent, EntityAI newParent)
Определения 3_Game/DayZ/Entities/Man.c:170
bool TakeEntityToTargetCargoExImpl(InventoryMode mode, notnull CargoBase cargo, notnull EntityAI item, int row, int col)
Определения 3_Game/DayZ/Entities/Man.c:600
override string GetDebugName()
Определения dayzplayer.c:1191
proto void Print(void var)
Prints content of variable to console/log.

Перекрестные ссылки ScriptInputUserData::CanStoreInputUserData(), GetDebugName(), JunctureTakeEntityToTargetCargoEx(), NeedInventoryJunctureFromServer(), Print() и TakeEntityToTargetCargoExImpl().