Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
actioncarhorn.c File Reference

Go to the source code of this file.

Data Structures

class  ActionCarHornBase
class  ActionCarHornLong
class  CarHornActionData

Functions

CarHornActionData ActionData ActionCarHornShort ()
override bool ActionCondition (PlayerBase player, ActionTarget target, ItemBase item)
override bool CanBeUsedInVehicle ()
override ActionData CreateActionData ()
override void CreateConditionComponents ()
override GetInputType ()
override void HandleReciveData (ActionReciveData action_recive_data, ActionData action_data)
override bool HasProgress ()
override bool HasTarget ()
override void OnEndInput (ActionData action_data)
override void OnEndServer (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 OnUpdate (ActionData action_data)
 special case - manually ends the action on exec event
override bool ReadFromContext (ParamsReadContext ctx, out ActionReciveData action_recive_data)
override bool UseMainItem ()
override void WriteToContext (ParamsWriteContext ctx, ActionData action_data)

Variables

class ActionCarHornBase m_ActionNeedEnd
CarScript m_Car

Function Documentation

◆ ActionCarHornShort()

CarHornActionData ActionData ActionCarHornShort ( )

Definition at line 53 of file actioncarhorn.c.

References m_Car.

Referenced by ActionConstructor::RegisterActions(), and Car::SetActions().

◆ ActionCondition()

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

Definition at line 111 of file actioncarhorn.c.

References ActionCarHornBase::ActionCondition(), and ActionTarget.

◆ CanBeUsedInVehicle()

override bool CanBeUsedInVehicle ( )

Definition at line 84 of file actioncarhorn.c.

◆ CreateActionData()

override ActionData CreateActionData ( )

Definition at line 105 of file actioncarhorn.c.

References ActionData.

◆ 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 )

◆ 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.

References ActionData, and ActionCarHornBase::SetCarHornState().

◆ OnEndServer()

override void OnEndServer ( ActionData action_data)

Definition at line 155 of file actioncarhorn.c.

References ActionData, and ActionCarHornBase::SetCarHornState().

◆ OnStart()

override void OnStart ( ActionData action_data)

sets the m_ActionNeeded flag on both sides

Definition at line 138 of file actioncarhorn.c.

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

◆ OnStartServer()

override void OnStartServer ( ActionData action_data)

Definition at line 147 of file actioncarhorn.c.

References ActionData, and ActionCarHornBase::SetCarHornState().

◆ OnUpdate()

override void OnUpdate ( ActionData action_data)

special case - manually ends the action on exec event

Definition at line 117 of file actioncarhorn.c.

References ActionData, and CarHornActionData::m_ActionNeedEnd.

◆ ReadFromContext()

override bool ReadFromContext ( ParamsReadContext ctx,
out ActionReciveData action_recive_data )

Definition at line 173 of file actioncarhorn.c.

References Serializer::Read().

◆ UseMainItem()

override bool UseMainItem ( )

Definition at line 89 of file actioncarhorn.c.

◆ WriteToContext()

override void WriteToContext ( ParamsWriteContext ctx,
ActionData action_data )

Variable Documentation

◆ m_ActionNeedEnd

bool m_ActionNeedEnd

Definition at line 68 of file actioncarhorn.c.

◆ m_Car

CarScript m_Car

Definition at line 53 of file actioncarhorn.c.