DayZ 1.24
|
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 |
Definition at line 236 of file QuickBarBase.c.
References _player, CancelContinuousUse(), m_aQuickbarEnts, and MAX_QUICKBAR_SLOTS_COUNT.
Referenced by _SetEntityShortcut().
Definition at line 250 of file QuickBarBase.c.
References _player, CanAddAsShortcut(), CancelContinuousUse(), m_aQuickbarEnts, and MAX_QUICKBAR_SLOTS_COUNT.
Referenced by _SetEntityShortcut().
Definition at line 205 of file QuickBarBase.c.
References _RemoveEntity(), _SetEntity(), and FindEntityIndex().
Referenced by OnSetEntityNoSync(), OnSetEntityRequest(), OnSetEntityRPC(), and SetEntityShortcut().
Definition at line 135 of file QuickBarBase.c.
References _player.
Referenced by _SetEntity(), SetShotcutEnable(), and UpdateShotcutVisibility().
Definition at line 275 of file QuickBarBase.c.
References _player.
Referenced by _RemoveEntity(), _SetEntity(), SetShotcutEnable(), and UpdateShotcutVisibility().
Definition at line 93 of file QuickBarBase.c.
References m_aQuickbarEnts, and MAX_QUICKBAR_SLOTS_COUNT.
Referenced by _SetEntityShortcut().
Definition at line 76 of file QuickBarBase.c.
References m_aQuickbarEnts, and m_slotsCount.
|
protected |
Definition at line 64 of file QuickBarBase.c.
References m_aQuickbarEnts, and m_slotsCount.
|
protected |
Definition at line 88 of file QuickBarBase.c.
References m_slotsCount.
|
protected |
Definition at line 104 of file QuickBarBase.c.
References INPUT_UDT_QUICKABARSHORTCUT, and OnSetEntityRequest().
Definition at line 171 of file QuickBarBase.c.
References _SetEntityShortcut().
|
protected |
Reaction on SetEntityShortcut from client.
Definition at line 188 of file QuickBarBase.c.
References _SetEntityShortcut().
Referenced by OnInputUserDataProcess().
|
protected |
Reaction on Rpc from server for set inicial state for quickbar.
Definition at line 177 of file QuickBarBase.c.
References _SetEntityShortcut().
|
protected |
Definition at line 21 of file QuickBarBase.c.
References _player, m_aQuickbarEnts, m_slotsCount, and MAX_QUICKBAR_SLOTS_COUNT.
Referenced by ManBase::Init().
Definition at line 144 of file QuickBarBase.c.
References _player, _SetEntityShortcut(), ScriptInputUserData::CanStoreInputUserData(), GetGame(), INPUT_UDT_QUICKABARSHORTCUT, and DayZPlayerSyncJunctures::SendQuickbarSetShortcut().
Definition at line 125 of file QuickBarBase.c.
References _player, CanAddAsShortcut(), CancelContinuousUse(), and m_aQuickbarEnts.
Definition at line 34 of file QuickBarBase.c.
References _player, m_aQuickbarEnts, m_slotsCount, and MAX_QUICKBAR_SLOTS_COUNT.
Definition at line 115 of file QuickBarBase.c.
References _player, CanAddAsShortcut(), CancelContinuousUse(), and m_aQuickbarEnts.
|
protected |
Definition at line 224 of file QuickBarBase.c.
References _player, Math::Min(), and SetSize().
|
protected |
Definition at line 270 of file QuickBarBase.c.
|
protected |
Definition at line 18 of file QuickBarBase.c.
Referenced by _RemoveEntity(), _SetEntity(), CanAddAsShortcut(), CancelContinuousUse(), ManBase::OnRPC(), QuickBarBase(), ScriptConsoleEnfScriptTab::RunEnscript(), SetEntityShortcut(), SetShotcutEnable(), SetSize(), UpdateShotcutVisibility(), and updateSlotsCount().
class QuickBarItem m_aQuickbarEnts[MAX_QUICKBAR_SLOTS_COUNT] |
Referenced by _RemoveEntity(), _SetEntity(), FindEntityIndex(), GetEntity(), GetNonEmptyCount(), QuickBarBase(), SetShotcutEnable(), SetSize(), and UpdateShotcutVisibility().
|
protected |
Definition at line 19 of file QuickBarBase.c.
Referenced by GetEntity(), GetNonEmptyCount(), GetSize(), QuickBarBase(), and SetSize().
Definition at line 1 of file QuickBarBase.c.
Referenced by _RemoveEntity(), _SetEntity(), FindEntityIndex(), QuickBarBase(), and SetSize().