Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
actioncarhorn.c File Reference

Go to the source code of this file.

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 More...
 
override void OnEndInput (ActionData action_data)
 
override void OnStart (ActionData action_data)
 sets the m_ActionNeeded flag on both sides More...
 
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()

CarHornActionData ActionData ActionCarHornShort ( )

Definition at line 67 of file actioncarhorn.c.

◆ ActionCondition()

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

Definition at line 111 of file actioncarhorn.c.

◆ CanBeUsedInVehicle()

override bool CanBeUsedInVehicle ( )

Definition at line 84 of file actioncarhorn.c.

◆ CreateActionData()

override ActionData CreateActionData ( )

Definition at line 105 of file actioncarhorn.c.

◆ CreateConditionComponents()

override void CreateConditionComponents ( )

Definition at line 94 of file actioncarhorn.c.

◆ GetInputType()

override GetInputType ( )

Definition at line 100 of file actioncarhorn.c.

◆ HandleReciveData()

override void HandleReciveData ( ActionReciveData  action_recive_data,
ActionData  action_data 
)

Definition at line 197 of file actioncarhorn.c.

◆ HasProgress()

override bool HasProgress ( )

Definition at line 79 of file actioncarhorn.c.

◆ HasTarget()

override bool HasTarget ( )

Definition at line 74 of file actioncarhorn.c.

◆ OnEndInput()

override void OnEndInput ( ActionData  action_data)

Definition at line 129 of file actioncarhorn.c.

◆ OnEndServer()

override void OnEndServer ( ActionData  action_data)

Definition at line 155 of file actioncarhorn.c.

◆ OnStart()

override void OnStart ( ActionData  action_data)

sets the m_ActionNeeded flag on both sides

Definition at line 138 of file actioncarhorn.c.

◆ OnStartServer()

override void OnStartServer ( ActionData  action_data)

Definition at line 147 of file actioncarhorn.c.

◆ OnUpdate()

override void OnUpdate ( ActionData  action_data)

special case - manually ends the action on exec event

Definition at line 117 of file actioncarhorn.c.

◆ ReadFromContext()

override bool ReadFromContext ( ParamsReadContext  ctx,
out ActionReciveData  action_recive_data 
)

Definition at line 173 of file actioncarhorn.c.

◆ UseMainItem()

override bool UseMainItem ( )

Definition at line 89 of file actioncarhorn.c.

◆ WriteToContext()

override void WriteToContext ( ParamsWriteContext  ctx,
ActionData  action_data 
)

Definition at line 163 of file actioncarhorn.c.

Variable Documentation

◆ m_ActionNeedEnd

bool m_ActionNeedEnd

Definition at line 54 of file actioncarhorn.c.

◆ m_Car

CarScript m_Car

Definition at line 53 of file actioncarhorn.c.