mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-09 20:24:16 +00:00
Split out Level progression component (#671)
* Split out Level progression component from Character Component This is to get to the Player forced movement Comp in a sane way * move XML to component insted of abusing charComp * use overrides should probably make everything that calls that call it correctly * fix linking issue
This commit is contained in:
@@ -95,18 +95,6 @@ public:
|
||||
*/
|
||||
void RocketUnEquip(Entity* player);
|
||||
|
||||
/**
|
||||
* Gets the current level of the entity
|
||||
* @return the current level of the entity
|
||||
*/
|
||||
const uint32_t GetLevel() const { return m_Level; }
|
||||
|
||||
/**
|
||||
* Sets the level of the entity
|
||||
* @param level the level to set
|
||||
*/
|
||||
void SetLevel(uint32_t level) { m_Level = level; }
|
||||
|
||||
/**
|
||||
* Gets the universe score of the entity
|
||||
* @return the universe score of the entity
|
||||
@@ -191,11 +179,6 @@ public:
|
||||
*/
|
||||
void SetMountItemID(LWOOBJID mountItemID) { m_MountItemID = mountItemID; }
|
||||
|
||||
/**
|
||||
* Gives the player rewards for the last level that they leveled up from
|
||||
*/
|
||||
void HandleLevelUp();
|
||||
|
||||
/**
|
||||
* Gets the name of this character
|
||||
* @return the name of this character
|
||||
@@ -323,11 +306,6 @@ private:
|
||||
*/
|
||||
uint8_t m_PossessableType = 1;
|
||||
|
||||
/**
|
||||
* Level of the entity
|
||||
*/
|
||||
uint32_t m_Level;
|
||||
|
||||
/**
|
||||
* Universe score of the entity
|
||||
*/
|
||||
|
Reference in New Issue
Block a user