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

◆ SaveCurrentFSMState()

void Weapon::SaveCurrentFSMState ( ParamsWriteContext ctx)
inlineprotected

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

563 {
564 if (m_fsm && m_fsm.IsRunning())
565 {
566 if (m_fsm.SaveCurrentFSMState(ctx))
567 {
568 if (LogManager.IsWeaponLogEnable()) { wpnDebugPrint("[wpnfsm] " + Object.GetDebugName(this) + " Weapon=" + this + " state saved."); }
569 }
570 else
571 Error("[wpnfsm] " + Object.GetDebugName(this) + " Weapon=" + this + " state NOT saved.");
572 }
573 else
574 Error("[wpnfsm] " + Object.GetDebugName(this) + " Weapon.SaveCurrentFSMState: trying to save weapon without FSM (or uninitialized weapon) this=" + this + " type=" + GetType());
575 }
eBleedingSourceType GetType()
Определения BleedingSource.c:63
void wpnDebugPrint(string s)
Определения Debug.c:9
ref WeaponFSM m_fsm
weapon abilities
Определения Weapon_Base.c:49
class LOD Object
void Error(string err)
Messagebox with error message.
Определения EnDebug.c:90

Перекрестные ссылки Error(), GetType(), LogManager::IsWeaponLogEnable(), m_fsm и wpnDebugPrint().