18 super.InitOpticMode();
30 return NVTypes.NV_OPTICS_KAZUAR_DAY;
33 return NVTypes.NV_OPTICS_KAZUAR_NIGHT;
35 Error(
"Undefined optic mode of " +
this);
44 super.OnOpticModeChange();
58 super.UpdateSelectionVisibility();
87 super.InitOpticMode();
99 return NVTypes.NV_OPTICS_STARLIGHT_DAY;
102 return NVTypes.NV_OPTICS_STARLIGHT_NIGHT;
104 Error(
"Undefined optic mode of " +
this);
113 super.OnOpticModeChange();
120 super.OnOpticEnter();
127 super.UpdateSelectionVisibility();
void AddAction(typename actionName)
int GetCurrentOpticMode()
proto native bool IsInOptics()
is weapon in optics mode or not
override void ShowSelection(string selection_name)
override void HideSelection(string selection_name)
void SetCurrentOpticMode(int mode)
override void SetActions()
override int GetCurrentNVType()
override void UpdateSelectionVisibility()
override void InitOpticMode()
override void OnOpticEnter()
override void OnOpticModeChange()
override void InitOpticMode()
override int GetCurrentNVType()
override void OnOpticEnter()
override void SetActions()
override void UpdateSelectionVisibility()
override void OnOpticModeChange()
proto native CGame GetGame()
void Error(string err)
Messagebox with error message.
const int OPTICS_STATE_DAY
const int OPTICS_STATE_NIGHTVISION