DayZ 1.24
Loading...
Searching...
No Matches
ActionCraftImprovisedEyePatch Class Reference
Inheritance diagram for ActionCraftImprovisedEyePatch:
[legend]
Collaboration diagram for ActionCraftImprovisedEyePatch:
[legend]

Private Member Functions

void ActionCraftImprovisedEyePatch ()
 
override void CreateConditionComponents ()
 
override bool ActionCondition (PlayerBase player, ActionTarget target, ItemBase item)
 
override bool HasTarget ()
 
override void OnFinishProgressServer (ActionData action_data)
 
override string GetSoundCategory (ActionData action_data)
 
- Private Member Functions inherited from ActionContinuousBase
void OnStartAnimationLoopServer (ActionData action_data)
 
void OnStartAnimationLoopClient (ActionData action_data)
 
void OnEndAnimationLoopServer (ActionData action_data)
 
void OnEndAnimationLoopClient (ActionData action_data)
 
void OnFinishProgressServer (ActionData action_data)
 
void OnFinishProgressClient (ActionData action_data)
 

Detailed Description

Definition at line 9 of file ActionCraftImprovisedEyePatch.c.

Constructor & Destructor Documentation

◆ ActionCraftImprovisedEyePatch()

void ActionCraftImprovisedEyePatch::ActionCraftImprovisedEyePatch ( )
inlineprivate

Member Function Documentation

◆ ActionCondition()

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

Definition at line 27 of file ActionCraftImprovisedEyePatch.c.

28 {
29 return true;
30 }

◆ CreateConditionComponents()

override void ActionCraftImprovisedEyePatch::CreateConditionComponents ( )
inlineprivate

Definition at line 21 of file ActionCraftImprovisedEyePatch.c.

22 {
25 }
ref CCIBase m_ConditionItem
Definition ActionBase.c:55
ref CCTBase m_ConditionTarget
Definition ActionBase.c:56

References m_ConditionItem, and m_ConditionTarget.

◆ GetSoundCategory()

override string ActionCraftImprovisedEyePatch::GetSoundCategory ( ActionData action_data)
inlineprivate

Definition at line 48 of file ActionCraftImprovisedEyePatch.c.

49 {
50 return "ImprovisedCloth_craft";
51 }

◆ HasTarget()

override bool ActionCraftImprovisedEyePatch::HasTarget ( )
inlineprivate

Definition at line 32 of file ActionCraftImprovisedEyePatch.c.

33 {
34 return false;
35 }

◆ OnFinishProgressServer()

override void ActionCraftImprovisedEyePatch::OnFinishProgressServer ( ActionData action_data)
inlineprivate

Definition at line 37 of file ActionCraftImprovisedEyePatch.c.

38 {
41
42 cover = action_data.m_Player.SpawnEntityOnGroundPos("EyePatch_Improvised", action_data.m_Player.GetPosition());
43 action_data.m_MainItem.AddQuantity(-1);
44
45 MiscGameplayFunctions.TransferItemProperties(item_ingredient, cover);
46 }

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