![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Private Member Functions | |
| void | ActionToggleNVMode () |
| override bool | ActionCondition (PlayerBase player, ActionTarget target, ItemBase item) |
| override void | CreateConditionComponents () |
| override bool | HasTarget () |
| override void | OnExecuteClient (ActionData action_data) |
| override void | OnExecuteServer (ActionData action_data) |
| void | SwitchMode (ActionData action_data) |
Definition at line 2 of file actiontogglenvmode.c.
|
inlineprivate |
Definition at line 4 of file actiontogglenvmode.c.
References AnimatedActionBase::m_CommandUID, AnimatedActionBase::m_CommandUIDProne, and ActionBase::m_Text.
|
inlineprivate |
Definition at line 23 of file actiontogglenvmode.c.
References ActionTarget, Class::CastTo(), and ItemOptics::IsNVOptic().
|
inlineprivate |
Definition at line 12 of file actiontogglenvmode.c.
References ActionBase::m_ConditionItem, and ActionBase::m_ConditionTarget.
|
inlineprivate |
Definition at line 18 of file actiontogglenvmode.c.
|
inlineprivate |
Definition at line 39 of file actiontogglenvmode.c.
References ActionData, and SwitchMode().
|
inlineprivate |
Definition at line 34 of file actiontogglenvmode.c.
References ActionData, and SwitchMode().
|
inlineprivate |
Definition at line 44 of file actiontogglenvmode.c.
References ActionData, ItemOptics::GetCurrentOpticMode(), GameConstants::OPTICS_STATE_DAY, GameConstants::OPTICS_STATE_NIGHTVISION, and ItemOptics::SetCurrentOpticMode().
Referenced by OnExecuteClient(), and OnExecuteServer().