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

◆ CreateStableStates()

void HumanInventoryWithFSM::CreateStableStates ( )
inlineprotected

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

17 {
18 // stable states are created only if they do not exist already (for example created by derived class like DayZPlayerInventory)
19 // @NOTE: this cannot be done in constructor, as there is NO owner set yet. GetManOwner() will therefore return NULL.
20 if (!m_Empty)
21 m_Empty = new HandStateEmpty(GetManOwner());
22 if (!m_Equipped)
23 m_Equipped = new HandStateEquipped(GetManOwner());
24 }
Man GetManOwner()
Определения HumanInventory.c:102
ref HandStateBase m_Equipped
Определения HumanInventoryWithFSM.c:9
ref HandStateBase m_Empty
hand slot state machine
Определения HumanInventoryWithFSM.c:8

Перекрестные ссылки HumanInventory::GetManOwner(), m_Empty и m_Equipped.

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