См. определение в файле Weapon_Base.c строка 564
565 {
567 {
568 if (
m_fsm.SaveCurrentFSMState(ctx))
569 {
570 if (LogManager.IsWeaponLogEnable()) {
wpnDebugPrint(
"[wpnfsm] " +
Object.GetDebugName(
this) +
" Weapon=" +
this +
" state saved."); }
571 }
572 else
573 Error(
"[wpnfsm] " +
Object.GetDebugName(
this) +
" Weapon=" +
this +
" state NOT saved.");
574 }
575 else
576 Error(
"[wpnfsm] " +
Object.GetDebugName(
this) +
" Weapon.SaveCurrentFSMState: trying to save weapon without FSM (or uninitialized weapon) this=" +
this +
" type=" +
GetType());
577 }
eBleedingSourceType GetType()
void wpnDebugPrint(string s)
ref WeaponFSM m_fsm
weapon abilities
void Error(string err)
Messagebox with error message.
Перекрестные ссылки Error(), GetType(), LogManager::IsWeaponLogEnable(), m_fsm и wpnDebugPrint().