Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
ActionToggleNVMode Class Reference
Inheritance diagram for ActionToggleNVMode:
ActionSingleUseBase

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)

Detailed Description

Definition at line 2 of file actiontogglenvmode.c.

Constructor & Destructor Documentation

◆ ActionToggleNVMode()

Member Function Documentation

◆ ActionCondition()

override bool ActionCondition ( PlayerBase player,
ActionTarget target,
ItemBase item )
inlineprivate

Definition at line 23 of file actiontogglenvmode.c.

References ActionTarget, Class::CastTo(), and ItemOptics::IsNVOptic().

◆ CreateConditionComponents()

override void CreateConditionComponents ( )
inlineprivate

◆ HasTarget()

override bool HasTarget ( )
inlineprivate

Definition at line 18 of file actiontogglenvmode.c.

◆ OnExecuteClient()

override void OnExecuteClient ( ActionData action_data)
inlineprivate

Definition at line 39 of file actiontogglenvmode.c.

References ActionData, and SwitchMode().

◆ OnExecuteServer()

override void OnExecuteServer ( ActionData action_data)
inlineprivate

Definition at line 34 of file actiontogglenvmode.c.

References ActionData, and SwitchMode().

◆ SwitchMode()


The documentation for this class was generated from the following file: