Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
quickbarbase.c File Reference

Go to the source code of this file.

Data Structures

class  QuickBarItem
 

Functions

void QuickBarBase (PlayerBase player)
 
void SetSize (int newSize)
 
int GetNonEmptyCount ()
 
EntityAI GetEntity (int index)
 
int GetSize ()
 
int FindEntityIndex (EntityAI entity)
 
bool OnInputUserDataProcess (int userDataType, ParamsReadContext ctx)
 
void UpdateShotcutVisibility (int index)
 
void SetShotcutEnable (int index, bool value)
 
bool CanAddAsShortcut (EntityAI entity)
 
void SetEntityShortcut (EntityAI entity, int index, bool force=false)
 
void OnSetEntityNoSync (EntityAI entity, int index, bool force=false)
 
void OnSetEntityRPC (ParamsReadContext ctx)
 Reaction on Rpc from server for set inicial state for quickbar. More...
 
void OnSetEntityRequest (ParamsReadContext ctx)
 Reaction on SetEntityShortcut from client. More...
 
protected void _SetEntityShortcut (EntityAI entity, int index, bool force=false)
 
void updateSlotsCount ()
 
protected void _RemoveEntity (int index)
 
protected void _SetEntity (EntityAI entity, int index, bool force=false)
 
void ~QuickBarBase ()
 
protected void CancelContinuousUse (int index)
 

Variables

const int MAX_QUICKBAR_SLOTS_COUNT = 10
 
class QuickBarItem m_aQuickbarEnts [MAX_QUICKBAR_SLOTS_COUNT]
 
protected PlayerBase _player
 
protected int m_slotsCount
 

Function Documentation

◆ _RemoveEntity()

protected void _RemoveEntity ( int  index)

Definition at line 242 of file quickbarbase.c.

◆ _SetEntity()

protected void _SetEntity ( EntityAI  entity,
int  index,
bool  force = false 
)

Definition at line 256 of file quickbarbase.c.

◆ _SetEntityShortcut()

protected void _SetEntityShortcut ( EntityAI  entity,
int  index,
bool  force = false 
)

Definition at line 209 of file quickbarbase.c.

◆ CanAddAsShortcut()

bool CanAddAsShortcut ( EntityAI  entity)

Definition at line 137 of file quickbarbase.c.

◆ CancelContinuousUse()

protected void CancelContinuousUse ( int  index)

Definition at line 281 of file quickbarbase.c.

◆ FindEntityIndex()

int FindEntityIndex ( EntityAI  entity)

Definition at line 95 of file quickbarbase.c.

◆ GetEntity()

EntityAI GetEntity ( int  index)

Definition at line 78 of file quickbarbase.c.

◆ GetNonEmptyCount()

int GetNonEmptyCount ( )

Definition at line 66 of file quickbarbase.c.

◆ GetSize()

int GetSize ( )

Definition at line 90 of file quickbarbase.c.

◆ OnInputUserDataProcess()

bool OnInputUserDataProcess ( int  userDataType,
ParamsReadContext  ctx 
)

Definition at line 106 of file quickbarbase.c.

◆ OnSetEntityNoSync()

void OnSetEntityNoSync ( EntityAI  entity,
int  index,
bool  force = false 
)

Definition at line 175 of file quickbarbase.c.

◆ OnSetEntityRequest()

void OnSetEntityRequest ( ParamsReadContext  ctx)

Reaction on SetEntityShortcut from client.

Definition at line 192 of file quickbarbase.c.

◆ OnSetEntityRPC()

void OnSetEntityRPC ( ParamsReadContext  ctx)

Reaction on Rpc from server for set inicial state for quickbar.

Definition at line 181 of file quickbarbase.c.

◆ QuickBarBase()

void QuickBarBase ( PlayerBase  player)

Definition at line 21 of file quickbarbase.c.

◆ SetEntityShortcut()

void SetEntityShortcut ( EntityAI  entity,
int  index,
bool  force = false 
)

Definition at line 146 of file quickbarbase.c.

◆ SetShotcutEnable()

void SetShotcutEnable ( int  index,
bool  value 
)

Definition at line 127 of file quickbarbase.c.

◆ SetSize()

void SetSize ( int  newSize)

Definition at line 34 of file quickbarbase.c.

◆ UpdateShotcutVisibility()

void UpdateShotcutVisibility ( int  index)

Definition at line 117 of file quickbarbase.c.

◆ updateSlotsCount()

void updateSlotsCount ( )

Definition at line 228 of file quickbarbase.c.

◆ ~QuickBarBase()

void ~QuickBarBase ( )

Definition at line 276 of file quickbarbase.c.

Variable Documentation

◆ _player

protected PlayerBase _player

Definition at line 18 of file quickbarbase.c.

◆ m_aQuickbarEnts

class QuickBarItem m_aQuickbarEnts[MAX_QUICKBAR_SLOTS_COUNT]

◆ m_slotsCount

protected int m_slotsCount

Definition at line 19 of file quickbarbase.c.

◆ MAX_QUICKBAR_SLOTS_COUNT

const int MAX_QUICKBAR_SLOTS_COUNT = 10

Definition at line 1 of file quickbarbase.c.