DayZ 1.24
Loading...
Searching...
No Matches
GearChangeActionCallback Class Reference
Inheritance diagram for GearChangeActionCallback:
[legend]
Collaboration diagram for GearChangeActionCallback:
[legend]

Private Member Functions

void SetVehicleCommand (HumanCommandVehicle hcv)
 
override void OnFinish (bool pCanceled)
 
- Private Member Functions inherited from HumanCommandActionCallback
void PluginDayzPlayerActionCallback ()
 
void ~PluginDayzPlayerActionCallback ()
 
override void OnFinish (bool pCanceled)
 
bool CancelCondition ()
 
override void OnAnimationEvent (int pEventID)
 
override void OnStateChange (int pOldState, int pCurrentState)
 

Private Attributes

HumanCommandVehicle m_hcv
 
- Private Attributes inherited from HumanCommandActionCallback
float m_fTimeStart
 
TextWidget m_pStateWidget
 
TextWidget m_pAnimEventWidget
 
TextListboxWidget m_EventsHistory
 

Additional Inherited Members

- Static Private Attributes inherited from HumanCommandActionCallback
static ref set< stringm_AnimEventMapping
 

Detailed Description

Definition at line 1 of file DayZPlayerImplementVehicle.c.

Member Function Documentation

◆ OnFinish()

override void GearChangeActionCallback::OnFinish ( bool pCanceled)
inlineprivate

Definition at line 13 of file DayZPlayerImplementVehicle.c.

14 {
16 if (owner)
17 {
18 HumanCommandVehicle hcv = owner.GetCommand_Vehicle();
19 if (hcv)
20 hcv.SetClutchState(false);
21 }
22 }
proto native Human GetHuman()
get the human this cb belongs to

References GetHuman().

◆ SetVehicleCommand()

void GearChangeActionCallback::SetVehicleCommand ( HumanCommandVehicle hcv)
inlineprivate

Definition at line 6 of file DayZPlayerImplementVehicle.c.

7 {
8 //m_hcv = hcv;
9 hcv.SetClutchState(true);
10 }

Member Data Documentation

◆ m_hcv

HumanCommandVehicle GearChangeActionCallback::m_hcv
private

Definition at line 4 of file DayZPlayerImplementVehicle.c.


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