Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
quickbarbase.c File Reference

Go to the source code of this file.

Classes

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.
 
void OnSetEntityRequest (ParamsReadContext ctx)
 Reaction on SetEntityShortcut from client.
 
void _SetEntityShortcut (EntityAI entity, int index, bool force=false)
 
void updateSlotsCount ()
 
void _RemoveEntity (int index)
 
void _SetEntity (EntityAI entity, int index, bool force=false)
 
void ~QuickBarBase ()
 
void CancelContinuousUse (int index)
 

Variables

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

Function Documentation

◆ _RemoveEntity()

void _RemoveEntity ( int index)
protected

Definition at line 242 of file quickbarbase.c.

◆ _SetEntity()

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

Definition at line 256 of file quickbarbase.c.

◆ _SetEntityShortcut()

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

Definition at line 209 of file quickbarbase.c.

◆ CanAddAsShortcut()

bool CanAddAsShortcut ( EntityAI entity)
protected

Definition at line 137 of file quickbarbase.c.

◆ CancelContinuousUse()

void CancelContinuousUse ( int index)
protected

Definition at line 281 of file quickbarbase.c.

◆ FindEntityIndex()

int FindEntityIndex ( EntityAI entity)
protected

Definition at line 95 of file quickbarbase.c.

◆ GetEntity()

EntityAI GetEntity ( int index)
protected

Definition at line 78 of file quickbarbase.c.

◆ GetNonEmptyCount()

int GetNonEmptyCount ( )
protected

Definition at line 66 of file quickbarbase.c.

◆ GetSize()

int GetSize ( )
protected

Definition at line 90 of file quickbarbase.c.

◆ OnInputUserDataProcess()

bool OnInputUserDataProcess ( int userDataType,
ParamsReadContext ctx )
protected

Definition at line 106 of file quickbarbase.c.

◆ OnSetEntityNoSync()

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

Definition at line 175 of file quickbarbase.c.

◆ OnSetEntityRequest()

void OnSetEntityRequest ( ParamsReadContext ctx)
protected

Reaction on SetEntityShortcut from client.

Definition at line 192 of file quickbarbase.c.

◆ OnSetEntityRPC()

void OnSetEntityRPC ( ParamsReadContext ctx)
protected

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

Definition at line 181 of file quickbarbase.c.

◆ QuickBarBase()

void QuickBarBase ( PlayerBase player)
protected

Definition at line 21 of file quickbarbase.c.

◆ SetEntityShortcut()

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

Definition at line 146 of file quickbarbase.c.

◆ SetShotcutEnable()

void SetShotcutEnable ( int index,
bool value )
protected

Definition at line 127 of file quickbarbase.c.

◆ SetSize()

void SetSize ( int newSize)
protected

Definition at line 34 of file quickbarbase.c.

◆ UpdateShotcutVisibility()

void UpdateShotcutVisibility ( int index)
protected

Definition at line 117 of file quickbarbase.c.

◆ updateSlotsCount()

void updateSlotsCount ( )
protected

Definition at line 228 of file quickbarbase.c.

◆ ~QuickBarBase()

void ~QuickBarBase ( )
protected

Definition at line 276 of file quickbarbase.c.

Variable Documentation

◆ _player

PlayerBase _player
protected

Definition at line 18 of file quickbarbase.c.

◆ m_aQuickbarEnts

class QuickBarItem m_aQuickbarEnts[MAX_QUICKBAR_SLOTS_COUNT]

◆ m_slotsCount

int m_slotsCount
protected

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.