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

◆ Pack()

void ItemBase::Pack ( bool update_navmesh,
bool init = false )
inlineprotected

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

489 {
491
492 m_State = PACKED;
496
497 Refresh();
498
499 GetInventory().LockInventory(HIDE_INV_FROM_SCRIPT);
500
501 if (update_navmesh)
502 {
504 }
505
507
508 if (GetGame().IsServer() && !IsHologram())
509 MiscGameplayFunctions.DropAllItemsInInventoryInBounds(this, m_HalfExtents);
510
511 SetSynchDirty();
512
513 if ((!GetGame().IsDedicatedServer()) && !init)
514 {
515 GetOnViewIndexChanged().Invoke();
516 }
517 }
override bool IsHologram()
Определения ItemBase.c:5753
enum MagnumStableStateID init
void Refresh()
Определения TentBase.c:619
void HideAllAnimationsAndProxyPhysics(bool hide_animations=true, bool hide_physics=true)
Определения TentBase.c:226
bool m_IsEntrance
Определения TentBase.c:26
bool m_IsToggle
Определения TentBase.c:28
vector m_HalfExtents
Определения TentBase.c:38
int m_State
Определения TentBase.c:24
static const int PACKED
Определения TentBase.c:20
bool m_IsWindow
Определения TentBase.c:27
void RegenerateNavmesh()
Определения TentBase.c:770
void DestroyClutterCutter()
Определения TentBase.c:780
proto native CGame GetGame()

Перекрестные ссылки DestroyClutterCutter(), GetGame(), HideAllAnimationsAndProxyPhysics(), init, IsHologram(), m_HalfExtents, m_IsEntrance, m_IsToggle, m_IsWindow, m_State, PACKED, Refresh() и RegenerateNavmesh().

Используется в OnItemLocationChanged(), OnStoreLoad(), OnVariablesSynchronized(), RefreshPhysics() и TryPitch().