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

Data Structures

class  ActionCarHornBase
 
class  CarHornActionData
 
class  ActionCarHornLong
 

Functions

CarHornActionData ActionData ActionCarHornShort ()
 
override bool HasTarget ()
 
override bool HasProgress ()
 
override bool CanBeUsedInVehicle ()
 
override bool UseMainItem ()
 
override void CreateConditionComponents ()
 
override GetInputType ()
 
override ActionData CreateActionData ()
 
override bool ActionCondition (PlayerBase player, ActionTarget target, ItemBase item)
 
override void OnUpdate (ActionData action_data)
 special case - manually ends the action on exec event
 
override void OnEndInput (ActionData action_data)
 
override void OnStart (ActionData action_data)
 sets the m_ActionNeeded flag on both sides
 
override void OnStartServer (ActionData action_data)
 
override void OnEndServer (ActionData action_data)
 
override void WriteToContext (ParamsWriteContext ctx, ActionData action_data)
 
override bool ReadFromContext (ParamsReadContext ctx, out ActionReciveData action_recive_data)
 
override void HandleReciveData (ActionReciveData action_recive_data, ActionData action_data)
 

Variables

class ActionCarHornBase m_ActionNeedEnd
 
CarScript m_Car
 

Function Documentation

◆ ActionCarHornShort()

◆ ActionCondition()

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

◆ CanBeUsedInVehicle()

override bool CanBeUsedInVehicle ( )

◆ CreateActionData()

override ActionData CreateActionData ( )

References ActionData.

◆ CreateConditionComponents()

override void CreateConditionComponents ( )

◆ GetInputType()

override GetInputType ( )

◆ HandleReciveData()

override void HandleReciveData ( ActionReciveData  action_recive_data,
ActionData  action_data 
)

◆ HasProgress()

override bool HasProgress ( )

◆ HasTarget()

override bool HasTarget ( )

◆ OnEndInput()

override void OnEndInput ( ActionData  action_data)

◆ OnEndServer()

override void OnEndServer ( ActionData  action_data)

◆ OnStart()

override void OnStart ( ActionData  action_data)

sets the m_ActionNeeded flag on both sides

References CarHornActionData::m_ActionNeedEnd, and CarHornActionData::m_Car.

◆ OnStartServer()

override void OnStartServer ( ActionData  action_data)

◆ OnUpdate()

override void OnUpdate ( ActionData  action_data)

special case - manually ends the action on exec event

References CarHornActionData::m_ActionNeedEnd.

◆ ReadFromContext()

override bool ReadFromContext ( ParamsReadContext  ctx,
out ActionReciveData  action_recive_data 
)

References Serializer::Read().

◆ UseMainItem()

override bool UseMainItem ( )

◆ WriteToContext()

override void WriteToContext ( ParamsWriteContext  ctx,
ActionData  action_data 
)

Variable Documentation

◆ m_ActionNeedEnd

bool m_ActionNeedEnd

◆ m_Car

CarScript m_Car