45 switch (
optics.GetCurrentOpticMode())
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
override bool HasTarget()
override void OnExecuteClient(ActionData action_data)
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
void SwitchMode(ActionData action_data)
override void CreateConditionComponents()
override void OnExecuteServer(ActionData action_data)
void ActionToggleNVMode()
Super root of all classes in Enforce script.
DayZPlayerConstants
defined in C++
const int OPTICS_STATE_DAY
const int OPTICS_STATE_NIGHTVISION
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.