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

◆ Pack()

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

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

510 {
512
513 m_State = PACKED;
517
518 Refresh();
519
520 GetInventory().LockInventory(HIDE_INV_FROM_SCRIPT);
521
522 if (update_navmesh)
523 {
525 }
526
528
529 if (g_Game.IsServer() && !IsHologram())
530 MiscGameplayFunctions.DropAllItemsInInventoryInBounds(this, m_HalfExtents);
531
532 SetSynchDirty();
533
534 if ((!g_Game.IsDedicatedServer()) && !init)
535 {
536 GetOnViewIndexChanged().Invoke();
537 }
538 }
DayZGame g_Game
Определения DayZGame.c:3942
override bool IsHologram()
Определения ItemBase.c:5885
enum MagnumStableStateID init
void Refresh()
Определения TentBase.c:640
void HideAllAnimationsAndProxyPhysics(bool hide_animations=true, bool hide_physics=true)
Определения TentBase.c:247
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:791
void DestroyClutterCutter()
Определения TentBase.c:801

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

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