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

◆ TakeEntityAsAttachmentImpl()

bool EntityAI::TakeEntityAsAttachmentImpl ( InventoryMode mode,
notnull EntityAI item )
inlineprotected

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

465 {
466 if (LogManager.IsSyncLogEnable()) syncDebugPrint("[inv] " + GetDebugName(this) + " STS = " + GetSimulationTimeStamp() + " ::Take2Att(" + typename.EnumToString(InventoryMode, mode) + ") item=" + Object.GetDebugName(item));
467 bool code = GetHumanInventory().TakeEntityAsAttachment(mode, item);
469 return code;
470 }
void syncDebugPrint(string s)
Определения 3_Game/Systems/Inventory/Debug.c:1
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
void UpdateInventoryMenu()
proto native HumanInventory GetHumanInventory()
bool TakeEntityAsAttachment(InventoryMode mode, notnull EntityAI item)
override string GetDebugName()
Определения dayzplayer.c:1170
class LOD Object

Перекрестные ссылки GetDebugName(), GetHumanInventory(), LogManager::IsSyncLogEnable(), syncDebugPrint(), GameInventory::TakeEntityAsAttachment() и UpdateInventoryMenu().

Используется в JunctureTakeEntityAsAttachment(), LocalTakeEntityAsAttachment(), PredictiveTakeEntityAsAttachment() и ServerTakeEntityAsAttachment().