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

Private Member Functions

void InitCuttingTypes ()
 
void ActionCraftBolts ()
 
override void CreateConditionComponents ()
 
protected bool IsCuttingType (Object item)
 
override bool ActionCondition (PlayerBase player, ActionTarget target, ItemBase item)
 
override void OnStartServer (ActionData action_data)
 
override void OnFinishProgressServer (ActionData action_data)
 

Private Attributes

const ref set< stringCUTTING_TYPES = new set<string>()
 
protected bool m_IsKnifeInHands
 
protected Ammunition_Base m_ResultEntity
 

Constructor & Destructor Documentation

◆ ActionCraftBolts()

Member Function Documentation

◆ ActionCondition()

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

References IsCuttingType().

◆ CreateConditionComponents()

override void CreateConditionComponents ( )
inlineprivate

◆ InitCuttingTypes()

void InitCuttingTypes ( )
inlineprivate

References CUTTING_TYPES.

Referenced by ActionCraftBolts().

◆ IsCuttingType()

protected bool IsCuttingType ( Object  item)
inlineprivate

References CUTTING_TYPES.

Referenced by ActionCondition(), and OnStartServer().

◆ OnFinishProgressServer()

override void OnFinishProgressServer ( ActionData  action_data)
inlineprivate

References m_IsKnifeInHands, and m_ResultEntity.

◆ OnStartServer()

override void OnStartServer ( ActionData  action_data)
inlineprivate

Field Documentation

◆ CUTTING_TYPES

const ref set<string> CUTTING_TYPES = new set<string>()
private

Referenced by InitCuttingTypes(), and IsCuttingType().

◆ m_IsKnifeInHands

protected bool m_IsKnifeInHands
private

◆ m_ResultEntity

protected Ammunition_Base m_ResultEntity
private

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