DarkflameServer/dGame
David Markowitz c83ec8228c
chore: Move Player ghosting functionality to GhostComponent (#1413)
* 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
2024-01-14 13:10:13 -06:00
..
dBehaviors chore: cleanup objectIdManager overloading and classes (#1391) 2024-01-05 06:31:22 -06:00
dComponents chore: Move Player ghosting functionality to GhostComponent (#1413) 2024-01-14 13:10:13 -06:00
dEntity change timers to not use ptrs (#1399) 2024-01-06 03:45:23 -06:00
dGameMessages chore: Move Player ghosting functionality to GhostComponent (#1413) 2024-01-14 13:10:13 -06:00
dInventory chore: cleanup objectIdManager overloading and classes (#1391) 2024-01-05 06:31:22 -06:00
dMission fix: split apart big Cmake libraries (#1381) 2024-01-03 18:41:46 -06:00
dPropertyBehaviors chore: cleanup objectIdManager overloading and classes (#1391) 2024-01-05 06:31:22 -06:00
dUtilities chore: Move static Player functions and internal linkage to manager class (#1412) 2024-01-13 03:40:56 -06:00
Character.cpp refactor: Database abstraction and organization of files (#1274) 2023-11-17 18:47:18 -06:00
Character.h fix: make include paths consistent (#1390) 2024-01-05 06:33:52 -06:00
CMakeLists.txt chore: Move static Player functions and internal linkage to manager class (#1412) 2024-01-13 03:40:56 -06:00
Entity.cpp chore: Move Player ghosting functionality to GhostComponent (#1413) 2024-01-14 13:10:13 -06:00
Entity.h fix: Remove pending timer logic (#1416) 2024-01-14 03:46:56 -06:00
EntityManager.cpp chore: Move Player ghosting functionality to GhostComponent (#1413) 2024-01-14 13:10:13 -06:00
EntityManager.h refactor: re-write AOE, add FilterTargets, Update TacArc Reading (#1035) 2023-10-09 15:18:51 -05:00
LeaderboardManager.cpp Merge pull request #1247 from maxdelayer/main 2023-12-31 00:43:37 +01:00
LeaderboardManager.h Add weekly filter 2023-06-05 16:04:56 -07:00
Player.cpp chore: Move Player ghosting functionality to GhostComponent (#1413) 2024-01-14 13:10:13 -06:00
Player.h chore: Move Player ghosting functionality to GhostComponent (#1413) 2024-01-14 13:10:13 -06:00
PlayerManager.cpp chore: Move Player ghosting functionality to GhostComponent (#1413) 2024-01-14 13:10:13 -06:00
PlayerManager.h chore: Move Player ghosting functionality to GhostComponent (#1413) 2024-01-14 13:10:13 -06:00
TeamManager.cpp Teams: Default team loot to ffa (#1224) 2023-10-18 09:18:22 -05:00
TeamManager.h Teams: Default team loot to ffa (#1224) 2023-10-18 09:18:22 -05:00
TradingManager.cpp chore: cleanup objectIdManager overloading and classes (#1391) 2024-01-05 06:31:22 -06:00
TradingManager.h format codebase 2022-07-28 08:39:57 -05:00
User.cpp fix: general crashes (#1336) 2023-12-16 12:27:06 -06:00
User.h fix: make include paths consistent (#1390) 2024-01-05 06:33:52 -06:00
UserManager.cpp chore: default size to 33 on LU(W)Strings since that's the most common lenght (#1410) 2024-01-12 14:23:44 -06:00
UserManager.h refactor: Database abstraction and organization of files (#1274) 2023-11-17 18:47:18 -06:00