mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-22 05:27:19 +00:00
c83ec8228c
* Moving and organizing Player code - Move code to CharacterComponent - Remove extraneous interfaces - Simplify some code greatly - Change some types to return and take in const ref (only structs larger than 8 bytes benefit from this change.) - Update code to use CharacterComponent for sending to zone instead of Player*. * Moving and organizing Player code - Move code to CharacterComponent - Remove extraneous interfaces - Simplify some code greatly - Change some types to return and take in const ref (only structs larger than 8 bytes benefit from this change.) - Update code to use CharacterComponent for sending to zone instead of Player*. - Remove static storage container (static containers can be destroyed before exit/terminate handler executes) * remove player cast * Remove extra includes * Add a player manager Used for the static Player functions. Further removes stuff from the Player class/file. * chore: Move ghosting functionality to component Tested that ghosting still works and players are still firing off the OnPlayerLeave and relevant handlers. * move to unordered_set |
||
---|---|---|
.. | ||
dBehaviors | ||
dComponents | ||
dEntity | ||
dGameMessages | ||
dInventory | ||
dMission | ||
dPropertyBehaviors | ||
dUtilities | ||
Character.cpp | ||
Character.h | ||
CMakeLists.txt | ||
Entity.cpp | ||
Entity.h | ||
EntityManager.cpp | ||
EntityManager.h | ||
LeaderboardManager.cpp | ||
LeaderboardManager.h | ||
Player.cpp | ||
Player.h | ||
PlayerManager.cpp | ||
PlayerManager.h | ||
TeamManager.cpp | ||
TeamManager.h | ||
TradingManager.cpp | ||
TradingManager.h | ||
User.cpp | ||
User.h | ||
UserManager.cpp | ||
UserManager.h |