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

Go to the source code of this file.

Data Structures

class  AttachActionData

Functions

AttachActionData ActionData ActionAttach ()
override bool ActionCondition (PlayerBase player, ActionTarget target, ItemBase item)
void AttachItem (AttachActionData action_data)
override bool CanBeSetFromInventory ()
override ActionData CreateActionData ()
override void CreateConditionComponents ()
override void OnExecuteClient (ActionData action_data)
override void OnExecuteServer (ActionData action_data)
override bool SetupAction (PlayerBase player, ActionTarget target, ItemBase item, out ActionData action_data, Param extra_data=null)

Variables

int m_AttSlot

Function Documentation

◆ ActionAttach()

◆ ActionCondition()

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

Definition at line 61 of file actionattach.c.

References ActionTarget.

◆ AttachItem()

void AttachItem ( AttachActionData action_data)
protected

Definition at line 90 of file actionattach.c.

References AttachActionData::m_AttSlot.

◆ CanBeSetFromInventory()

override bool CanBeSetFromInventory ( )
protected

Definition at line 108 of file actionattach.c.

◆ CreateActionData()

override ActionData CreateActionData ( )

Definition at line 22 of file actionattach.c.

References ActionData.

◆ CreateConditionComponents()

override void CreateConditionComponents ( )

Definition at line 14 of file actionattach.c.

References UAMaxDistances::DEFAULT, m_CommandUID, and m_StanceMask.

◆ OnExecuteClient()

override void OnExecuteClient ( ActionData action_data)

Definition at line 82 of file actionattach.c.

References ActionData, and AttachItem().

◆ OnExecuteServer()

override void OnExecuteServer ( ActionData action_data)

Definition at line 72 of file actionattach.c.

References ActionData, AttachItem(), and g_Game.

◆ SetupAction()

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

Variable Documentation

◆ m_AttSlot

int m_AttSlot

Definition at line 10 of file actionattach.c.