Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
ActionBuildShelter Class Reference
Inheritance diagram for ActionBuildShelter:
ActionContinuousBase

Protected Member Functions

void ActionBuildShelter ()
void ~ActionBuildShelter ()
override bool ActionCondition (PlayerBase player, ActionTarget target, ItemBase item)
override bool ActionConditionContinue (ActionData action_data)
override bool CanBeUsedLeaning ()
override ActionData CreateActionData ()
override void CreateConditionComponents ()
void DestroyActionLoopSound ()
void DetermineConstructionSounds (ActionData action_data)
override GetInputType ()
override string GetSoundCategory (ActionData action_data)
override string GetText ()
override void HandleReciveData (ActionReciveData action_recive_data, ActionData action_data)
override bool HasAlternativeInterrupt ()
override bool HasProgress ()
override void OnActionInfoUpdate (PlayerBase player, ActionTarget target, ItemBase item)
override void OnEnd (ActionData action_data)
override void OnEndClient (ActionData action_data)
override void OnFinishProgressClient (ActionData action_data)
override void OnFinishProgressServer (ActionData action_data)
override void OnStart (ActionData action_data)
override void OnStartAnimationLoopClient (ActionData action_data)
override void OnStartClient (ActionData action_data)
void PlayActionFinishSound (ActionData action_data)
void PlayActionLoopSound (ActionData action_data)
void PlayActionStartSound (ActionData action_data)
override bool ReadFromContext (ParamsReadContext ctx, out ActionReciveData action_recive_data)
override bool SetupAction (PlayerBase player, ActionTarget target, ItemBase item, out ActionData action_data, Param extra_data=NULL)
void StopActionLoopSound ()
override bool UseMainItem ()
override void WriteToContext (ParamsWriteContext ctx, ActionData action_data)

Protected Attributes

EffectSound m_BuildLoopSound

Private Attributes

string m_SoundsetBuildFinish
string m_SoundsetBuildLoop
string m_SoundsetBuildStart

Additional Inherited Members

Private Member Functions inherited from ActionContinuousBase
void OnEndAnimationLoopClient (ActionData action_data)
void OnEndAnimationLoopServer (ActionData action_data)
void OnFinishProgressClient (ActionData action_data)
void OnFinishProgressServer (ActionData action_data)
void OnStartAnimationLoopClient (ActionData action_data)
void OnStartAnimationLoopServer (ActionData action_data)

Detailed Description

Definition at line 1 of file actionbuildshelter.c.

Constructor & Destructor Documentation

◆ ActionBuildShelter()

◆ ~ActionBuildShelter()

void ~ActionBuildShelter ( )
inlineprotected

Definition at line 17 of file actionbuildshelter.c.

References DestroyActionLoopSound().

Member Function Documentation

◆ ActionCondition()

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

Definition at line 108 of file actionbuildshelter.c.

References ActionTarget, g_Game, and ActionBase::m_VariantID.

◆ ActionConditionContinue()

override bool ActionConditionContinue ( ActionData action_data)
inlineprotected

◆ CanBeUsedLeaning()

override bool CanBeUsedLeaning ( )
inlineprotected

Definition at line 83 of file actionbuildshelter.c.

◆ CreateActionData()

override ActionData CreateActionData ( )
inlineprotected

Definition at line 146 of file actionbuildshelter.c.

References ActionData.

◆ CreateConditionComponents()

override void CreateConditionComponents ( )
inlineprotected

◆ DestroyActionLoopSound()

void DestroyActionLoopSound ( )
inlineprotected

Definition at line 310 of file actionbuildshelter.c.

References SEffectManager::DestroyEffect(), and m_BuildLoopSound.

Referenced by ~ActionBuildShelter().

◆ DetermineConstructionSounds()

◆ GetInputType()

override GetInputType ( )
inlineprotected

Definition at line 88 of file actionbuildshelter.c.

◆ GetSoundCategory()

override string GetSoundCategory ( ActionData action_data)
inlineprotected

Definition at line 321 of file actionbuildshelter.c.

References ActionData.

◆ GetText()

override string GetText ( )
inlineprotected

◆ HandleReciveData()

override void HandleReciveData ( ActionReciveData action_recive_data,
ActionData action_data )
inlineprotected

Definition at line 176 of file actionbuildshelter.c.

References ActionData, and BuildPartActionReciveData::m_PartType.

◆ HasAlternativeInterrupt()

override bool HasAlternativeInterrupt ( )
inlineprotected

Definition at line 103 of file actionbuildshelter.c.

◆ HasProgress()

override bool HasProgress ( )
inlineprotected

Definition at line 98 of file actionbuildshelter.c.

◆ OnActionInfoUpdate()

override void OnActionInfoUpdate ( PlayerBase player,
ActionTarget target,
ItemBase item )
inlineprotected

◆ OnEnd()

override void OnEnd ( ActionData action_data)
inlineprotected

Definition at line 217 of file actionbuildshelter.c.

References ActionData.

◆ OnEndClient()

override void OnEndClient ( ActionData action_data)
inlineprotected

Definition at line 223 of file actionbuildshelter.c.

References ActionData, and StopActionLoopSound().

◆ OnFinishProgressClient()

override void OnFinishProgressClient ( ActionData action_data)
inlineprotected

Definition at line 245 of file actionbuildshelter.c.

References ActionData, and PlayActionFinishSound().

◆ OnFinishProgressServer()

override void OnFinishProgressServer ( ActionData action_data)
inlineprotected

Definition at line 231 of file actionbuildshelter.c.

References ActionData, AT_BUILD_PART, and Construction().

◆ OnStart()

override void OnStart ( ActionData action_data)
inlineprotected

Definition at line 196 of file actionbuildshelter.c.

References ActionData.

◆ OnStartAnimationLoopClient()

override void OnStartAnimationLoopClient ( ActionData action_data)
inlineprotected

Definition at line 210 of file actionbuildshelter.c.

References ActionData, and PlayActionLoopSound().

◆ OnStartClient()

override void OnStartClient ( ActionData action_data)
inlineprotected

◆ PlayActionFinishSound()

void PlayActionFinishSound ( ActionData action_data)
inlineprotected

◆ PlayActionLoopSound()

void PlayActionLoopSound ( ActionData action_data)
inlineprotected

◆ PlayActionStartSound()

void PlayActionStartSound ( ActionData action_data)
inlineprotected

◆ ReadFromContext()

override bool ReadFromContext ( ParamsReadContext ctx,
out ActionReciveData action_recive_data )
inlineprotected

◆ SetupAction()

override bool SetupAction ( PlayerBase player,
ActionTarget target,
ItemBase item,
out ActionData action_data,
Param extra_data = NULL )
inlineprotected

◆ StopActionLoopSound()

void StopActionLoopSound ( )
inlineprotected

Definition at line 301 of file actionbuildshelter.c.

References m_BuildLoopSound.

Referenced by OnEndClient().

◆ UseMainItem()

override bool UseMainItem ( )
inlineprotected

Definition at line 93 of file actionbuildshelter.c.

◆ WriteToContext()

override void WriteToContext ( ParamsWriteContext ctx,
ActionData action_data )
inlineprotected

Definition at line 152 of file actionbuildshelter.c.

References ActionData, and Serializer::Write().

Field Documentation

◆ m_BuildLoopSound

EffectSound m_BuildLoopSound
protected

◆ m_SoundsetBuildFinish

string m_SoundsetBuildFinish
private

Definition at line 5 of file actionbuildshelter.c.

Referenced by DetermineConstructionSounds(), and PlayActionFinishSound().

◆ m_SoundsetBuildLoop

string m_SoundsetBuildLoop
private

Definition at line 4 of file actionbuildshelter.c.

Referenced by DetermineConstructionSounds(), and PlayActionLoopSound().

◆ m_SoundsetBuildStart

string m_SoundsetBuildStart
private

Definition at line 3 of file actionbuildshelter.c.

Referenced by DetermineConstructionSounds(), and PlayActionStartSound().


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