SEGS  0.6.1-develop [3e741b81]
Super Entity Game Server
Functions | Variables
Projects/CoX/Common/NetStructures

Functions

uint32_t getLevel (const Character &c)
 
uint32_t getCombatLevel (const Character &c)
 
uint32_t getSecurityThreat (const Character &c)
 
float getHP (const Character &c)
 
float getEnd (const Character &c)
 
float getMaxHP (const Character &c)
 
float getMaxEnd (const Character &c)
 
uint32_t getCurrentCostumeIdx (const Character &c)
 
const QString & getOrigin (const Character &c)
 
const QString & getClass (const Character &c)
 
uint32_t getXP (const Character &c)
 
uint32_t getDebt (const Character &c)
 
uint32_t getPatrolXP (const Character &c)
 
const QString & getGenericTitle (const Character &c)
 
const QString & getOriginTitle (const Character &c)
 
const QString & getSpecialTitle (const Character &c)
 
uint32_t getInf (const Character &c)
 
const QString & getDescription (const Character &c)
 
const QString & getBattleCry (const Character &c)
 
const QString & getAlignment (const Character &c)
 
const QString & getLastOnline (const Character &c)
 
void setLevel (Character &c, uint32_t val)
 
void setCombatLevel (Character &c, uint32_t val)
 
void setSecurityThreat (Character &c, uint32_t val)
 
void setHP (Character &c, float val)
 
void setHPToMax (Character &c)
 
void setEnd (Character &c, float val)
 
void setEndToMax (Character &c)
 
void setCurrentCostumeIdx (Character &c, uint32_t idx)
 
void setXP (Character &c, uint32_t val)
 
void setDebt (Character &c, uint32_t val)
 
void setTitles (Character &c, bool prefix, QString generic, QString origin, QString special)
 
void setInf (Character &c, uint32_t val)
 
void setDescription (Character &c, QString val)
 
void setBattleCry (Character &c, QString val)
 
void updateLastOnline (Character &c)
 
void toggleAFK (Character &c, const bool isTrue, QString msg)
 
void toggleAFK (Character &c, QString msg)
 
const QString & getGenericTitle (uint32_t val)
 
const QString & getOriginTitle (uint32_t val)
 
uint32_t getIdx (const Entity &e)
 
uint32_t getDbId (const Entity &e)
 
uint32_t getAccessLevel (const Entity &e)
 
uint32_t getTargetIdx (const Entity &e)
 
uint32_t getAssistTargetIdx (const Entity &e)
 
glm::vec3 getSpeed (const Entity &e)
 
float getBackupSpd (const Entity &e)
 
float getJumpHeight (const Entity &e)
 
uint8_t getUpdateId (const Entity &e)
 
Destination getCurrentDestination (const Entity &e)
 
ClientStates getStateMode (const Entity &e)
 
void setDbId (Entity &e, uint8_t val)
 
void setMapIdx (Entity &e, uint32_t val)
 
void setSpeed (Entity &e, float v1, float v2, float v3)
 
void setBackupSpd (Entity &e, float val)
 
void setJumpHeight (Entity &e, float val)
 
void setUpdateID (Entity &e, uint8_t val)
 
void setTeamID (Entity &e, uint8_t team_id)
 
void setSuperGroup (Entity &e, int sg_id, QString sg_name, uint32_t sg_rank)
 
void setTarget (Entity &e, uint32_t target_idx)
 
void setAssistTarget (Entity &e, uint32_t target_idx)
 
void setCurrentDestination (Entity &e, int point_idx, glm::vec3 location)
 
void setStateMode (Entity &e, ClientStates state)
 
void setu1 (Entity &e, int val)
 
void toggleFlying (Entity &e)
 
void toggleFalling (Entity &e)
 
void toggleJumping (Entity &e)
 
void toggleSliding (Entity &e)
 
void toggleStunned (Entity &e)
 
void toggleJumppack (Entity &e)
 
void toggleControlsDisabled (Entity &e)
 
void toggleFullUpdate (Entity &e)
 
void toggleControlId (Entity &e)
 
void toggleInterp (Entity &e)
 
void toggleMoveInstantly (Entity &e)
 
void toggleTeamBuffs (PlayerData &c)
 
void toggleCollision (Entity &e)
 
void toggleMovementAuthority (Entity &e)
 
void abortLogout (Entity *e)
 
void initializeNewPlayerEntity (Entity &e)
 
void initializeNewNpcEntity (const GameDataStore &data, Entity &e, const Parse_NPC *src, int idx, int variant)
 
void initializeNewCritterEntity (const GameDataStore &data, Entity &e, const Parse_NPC *src, int idx, int variant, int level)
 
void fillEntityFromNewCharData (Entity &e, BitStream &src, const GameDataStore &data)
 
void markEntityForDbStore (Entity *e, DbStoreFlags f)
 
void unmarkEntityForDbStore (Entity *e, DbStoreFlags f)
 
void revivePlayer (Entity &e, ReviveLevel lvl)
 
void TimeState::serializefrom_delta (BitStream &bs, const TimeState &prev)
 
void TimeState::serializefrom_base (BitStream &bs)
 
void TimeState::dump ()
 
void StateStorage::addNewState (InputState &new_state)
 

Variables

const char * control_name []
 

Detailed Description

Function Documentation

◆ abortLogout()

void abortLogout ( Entity e)
Here is the caller graph for this function:

◆ addNewState()

void StateStorage::addNewState ( InputState new_state)
Here is the call graph for this function:

◆ dump()

void TimeState::dump ( )
Here is the caller graph for this function:

◆ fillEntityFromNewCharData()

void fillEntityFromNewCharData ( Entity e,
BitStream src,
const GameDataStore data 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getAccessLevel()

uint32_t getAccessLevel ( const Entity e)

◆ getAlignment()

const QString& getAlignment ( const Character c)

◆ getAssistTargetIdx()

uint32_t getAssistTargetIdx ( const Entity e)
Here is the caller graph for this function:

◆ getBackupSpd()

float getBackupSpd ( const Entity e)

◆ getBattleCry()

const QString& getBattleCry ( const Character c)
Here is the caller graph for this function:

◆ getClass()

const QString& getClass ( const Character c)
Here is the caller graph for this function:

◆ getCombatLevel()

uint32_t getCombatLevel ( const Character c)
Here is the caller graph for this function:

◆ getCurrentCostumeIdx()

uint32_t getCurrentCostumeIdx ( const Character c)
Here is the caller graph for this function:

◆ getCurrentDestination()

Destination getCurrentDestination ( const Entity e)

◆ getDbId()

uint32_t getDbId ( const Entity e)
Here is the caller graph for this function:

◆ getDebt()

uint32_t getDebt ( const Character c)
Here is the caller graph for this function:

◆ getDescription()

const QString& getDescription ( const Character c)
Here is the caller graph for this function:

◆ getEnd()

float getEnd ( const Character c)
Here is the caller graph for this function:

◆ getGenericTitle() [1/2]

const QString& getGenericTitle ( const Character c)
Here is the caller graph for this function:

◆ getGenericTitle() [2/2]

const QString& getGenericTitle ( uint32_t  val)

◆ getHP()

float getHP ( const Character c)
Here is the caller graph for this function:

◆ getIdx()

uint32_t getIdx ( const Entity e)
Here is the caller graph for this function:

◆ getInf()

uint32_t getInf ( const Character c)
Here is the caller graph for this function:

◆ getJumpHeight()

float getJumpHeight ( const Entity e)

◆ getLastOnline()

const QString& getLastOnline ( const Character c)
Here is the caller graph for this function:

◆ getLevel()

uint32_t getLevel ( const Character c)
Here is the caller graph for this function:

◆ getMaxEnd()

float getMaxEnd ( const Character c)
Here is the caller graph for this function:

◆ getMaxHP()

float getMaxHP ( const Character c)
Here is the caller graph for this function:

◆ getOrigin()

const QString& getOrigin ( const Character c)
Here is the caller graph for this function:

◆ getOriginTitle() [1/2]

const QString& getOriginTitle ( const Character c)
Here is the caller graph for this function:

◆ getOriginTitle() [2/2]

const QString& getOriginTitle ( uint32_t  val)

◆ getPatrolXP()

uint32_t getPatrolXP ( const Character c)

◆ getSecurityThreat()

uint32_t getSecurityThreat ( const Character c)

◆ getSpecialTitle()

const QString& getSpecialTitle ( const Character c)
Here is the caller graph for this function:

◆ getSpeed()

glm::vec3 getSpeed ( const Entity e)

◆ getStateMode()

ClientStates getStateMode ( const Entity e)

◆ getTargetIdx()

uint32_t getTargetIdx ( const Entity e)
Here is the caller graph for this function:

◆ getUpdateId()

uint8_t getUpdateId ( const Entity e)

◆ getXP()

uint32_t getXP ( const Character c)
Here is the caller graph for this function:

◆ initializeNewCritterEntity()

void initializeNewCritterEntity ( const GameDataStore data,
Entity e,
const Parse_NPC src,
int  idx,
int  variant,
int  level 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ initializeNewNpcEntity()

void initializeNewNpcEntity ( const GameDataStore data,
Entity e,
const Parse_NPC src,
int  idx,
int  variant 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ initializeNewPlayerEntity()

void initializeNewPlayerEntity ( Entity e)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ markEntityForDbStore()

void markEntityForDbStore ( Entity e,
DbStoreFlags  f 
)
Here is the caller graph for this function:

◆ revivePlayer()

void revivePlayer ( Entity e,
ReviveLevel  lvl 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ serializefrom_base()

void TimeState::serializefrom_base ( BitStream bs)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ serializefrom_delta()

void TimeState::serializefrom_delta ( BitStream bs,
const TimeState prev 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setAssistTarget()

void setAssistTarget ( Entity e,
uint32_t  target_idx 
)
Here is the call graph for this function:

◆ setBackupSpd()

void setBackupSpd ( Entity e,
float  val 
)

◆ setBattleCry()

void setBattleCry ( Character c,
QString  val 
)
Here is the caller graph for this function:

◆ setCombatLevel()

void setCombatLevel ( Character c,
uint32_t  val 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setCurrentCostumeIdx()

void setCurrentCostumeIdx ( Character c,
uint32_t  idx 
)
Here is the caller graph for this function:

◆ setCurrentDestination()

void setCurrentDestination ( Entity e,
int  point_idx,
glm::vec3  location 
)
Here is the caller graph for this function:

◆ setDbId()

void setDbId ( Entity e,
uint8_t  val 
)

◆ setDebt()

void setDebt ( Character c,
uint32_t  val 
)
Here is the caller graph for this function:

◆ setDescription()

void setDescription ( Character c,
QString  val 
)
Here is the caller graph for this function:

◆ setEnd()

void setEnd ( Character c,
float  val 
)
Here is the caller graph for this function:

◆ setEndToMax()

void setEndToMax ( Character c)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setHP()

void setHP ( Character c,
float  val 
)
Here is the caller graph for this function:

◆ setHPToMax()

void setHPToMax ( Character c)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setInf()

void setInf ( Character c,
uint32_t  val 
)
Here is the caller graph for this function:

◆ setJumpHeight()

void setJumpHeight ( Entity e,
float  val 
)

◆ setLevel()

void setLevel ( Character c,
uint32_t  val 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMapIdx()

void setMapIdx ( Entity e,
uint32_t  val 
)
Here is the caller graph for this function:

◆ setSecurityThreat()

void setSecurityThreat ( Character c,
uint32_t  val 
)
Here is the call graph for this function:

◆ setSpeed()

void setSpeed ( Entity e,
float  v1,
float  v2,
float  v3 
)

◆ setStateMode()

void setStateMode ( Entity e,
ClientStates  state 
)
Here is the caller graph for this function:

◆ setSuperGroup()

void setSuperGroup ( Entity e,
int  sg_id,
QString  sg_name,
uint32_t  sg_rank 
)

◆ setTarget()

void setTarget ( Entity e,
uint32_t  target_idx 
)
Here is the caller graph for this function:

◆ setTeamID()

void setTeamID ( Entity e,
uint8_t  team_id 
)

◆ setTitles()

void setTitles ( Character c,
bool  prefix,
QString  generic,
QString  origin,
QString  special 
)
Here is the caller graph for this function:

◆ setu1()

void setu1 ( Entity e,
int  val 
)

◆ setUpdateID()

void setUpdateID ( Entity e,
uint8_t  val 
)

◆ setXP()

void setXP ( Character c,
uint32_t  val 
)
Here is the caller graph for this function:

◆ toggleAFK() [1/2]

void toggleAFK ( Character c,
const bool  isTrue,
QString  msg 
)
Here is the caller graph for this function:

◆ toggleAFK() [2/2]

void toggleAFK ( Character c,
QString  msg 
)
Here is the call graph for this function:

◆ toggleCollision()

void toggleCollision ( Entity e)

◆ toggleControlId()

void toggleControlId ( Entity e)
Here is the caller graph for this function:

◆ toggleControlsDisabled()

void toggleControlsDisabled ( Entity e)

◆ toggleFalling()

void toggleFalling ( Entity e)

◆ toggleFlying()

void toggleFlying ( Entity e)

◆ toggleFullUpdate()

void toggleFullUpdate ( Entity e)
Here is the caller graph for this function:

◆ toggleInterp()

void toggleInterp ( Entity e)

◆ toggleJumping()

void toggleJumping ( Entity e)

◆ toggleJumppack()

void toggleJumppack ( Entity e)

◆ toggleMoveInstantly()

void toggleMoveInstantly ( Entity e)

◆ toggleMovementAuthority()

void toggleMovementAuthority ( Entity e)
Here is the call graph for this function:

◆ toggleSliding()

void toggleSliding ( Entity e)

◆ toggleStunned()

void toggleStunned ( Entity e)

◆ toggleTeamBuffs()

void toggleTeamBuffs ( PlayerData c)

◆ unmarkEntityForDbStore()

void unmarkEntityForDbStore ( Entity e,
DbStoreFlags  f 
)
Here is the caller graph for this function:

◆ updateLastOnline()

void updateLastOnline ( Character c)
Here is the caller graph for this function:

Variable Documentation

◆ control_name

const char* control_name[]
Initial value:
= {
"FORWARD",
"BACK",
"LEFT",
"RIGHT",
"UP",
"DOWN",
"PITCH",
"YAW",
}