PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
ActionStartEngine.c File Reference

Data Structures

class  ActionStartCarCB
 

Functions

ActionStartCarCB ActionContinuousBaseCB ActionStartEngine ()
 
override void CreateActionComponent ()
 
override void CreateConditionComponents ()
 
override bool ActionCondition (PlayerBase player, ActionTarget target, ItemBase item)
 
override void OnFinishProgress (ActionData action_data)
 
override void OnExecute (ActionData action_data)
 
override bool CanBeUsedInVehicle ()
 
override bool HasTarget ()
 
override bool UseMainItem ()
 

Variables

private const int SOUND_IGNITION_DELAY = 700
 DEPRECATED.
 
private const float ROUGH_SPECIALTY_WEIGHT = 0.5
 
static const float MINIMUM_BATTERY_ENERGY = 5.0
 
bool m_BatteryCon = false
 
bool m_SparkCon = false
 
bool m_BeltCon = false
 
bool m_FuelCon = false
 

Function Documentation

◆ ActionCondition()

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

◆ ActionStartEngine()

◆ CanBeUsedInVehicle()

override bool CanBeUsedInVehicle ( )

◆ CreateActionComponent()

override void CreateActionComponent ( )

References m_CommandUID, and m_StanceMask.

◆ CreateConditionComponents()

override void CreateConditionComponents ( )

◆ HasTarget()

override bool HasTarget ( )

◆ OnExecute()

override void OnExecute ( ActionData  action_data)

◆ OnFinishProgress()

override void OnFinishProgress ( ActionData  action_data)

◆ UseMainItem()

override bool UseMainItem ( )

Variable Documentation

◆ m_BatteryCon

bool m_BatteryCon = false

◆ m_BeltCon

bool m_BeltCon = false

◆ m_FuelCon

bool m_FuelCon = false

◆ m_SparkCon

bool m_SparkCon = false

◆ MINIMUM_BATTERY_ENERGY

const float MINIMUM_BATTERY_ENERGY = 5.0
static

◆ ROUGH_SPECIALTY_WEIGHT

private const float ROUGH_SPECIALTY_WEIGHT = 0.5

◆ SOUND_IGNITION_DELAY

private const int SOUND_IGNITION_DELAY = 700

DEPRECATED.