DarkflameServer/dGame
David Markowitz d2aeebcd46
chore: Move database storage containers to be translation unit local to allow for safe references (#1434)
* Move CDClientManager to be a namespace

Tested that worlds still load data as expected.  Had no use being a singleton anyways.

* Move cdclient data storage to tu local containers

Allows some data from these containers to be saved on object by reference instead of always needing to copy.

iteration 2

- move all unnamed namespace containers to a singular spot
- use macro for template specialization and variable declaration
- use templates to allow for as little copy paste of types and functions as possible

* remember to use typename!

compiler believes T::StorageType is accessing a member, not a type.

* Update CDClientManager.cpp

* move to cpp?
2024-02-09 07:37:58 -06:00
..
dBehaviors Move CDClientManager to be a namespace (#1431) 2024-02-08 23:40:43 -06:00
dComponents chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
dEntity change timers to not use ptrs (#1399) 2024-01-06 03:45:23 -06:00
dGameMessages Move CDClientManager to be a namespace (#1431) 2024-02-08 23:40:43 -06:00
dInventory Move CDClientManager to be a namespace (#1431) 2024-02-08 23:40:43 -06:00
dMission Move CDClientManager to be a namespace (#1431) 2024-02-08 23:40:43 -06:00
dPropertyBehaviors chore: Player class removal (#1445) 2024-02-04 06:29:05 -08:00
dUtilities Move CDClientManager to be a namespace (#1431) 2024-02-08 23:40:43 -06:00
Character.cpp refactor: allow usage of NiPoint3 and NiQuaternion in constexpr context (#1414) 2024-01-29 01:53:12 -06:00
Character.h chore: Player class removal (#1445) 2024-02-04 06:29:05 -08:00
CMakeLists.txt chore: Player class removal (#1445) 2024-02-04 06:29:05 -08:00
Entity.cpp Move CDClientManager to be a namespace (#1431) 2024-02-08 23:40:43 -06:00
Entity.h chore: Player class removal (#1445) 2024-02-04 06:29:05 -08:00
EntityManager.cpp chore: Player class removal (#1445) 2024-02-04 06:29:05 -08:00
EntityManager.h chore: Player class removal (#1445) 2024-02-04 06:29:05 -08:00
LeaderboardManager.cpp Move CDClientManager to be a namespace (#1431) 2024-02-08 23:40:43 -06:00
LeaderboardManager.h remove singleton for dpWorld (#1427) 2024-01-19 15:12:05 -06:00
PlayerManager.cpp chore: Player class removal (#1445) 2024-02-04 06:29:05 -08:00
PlayerManager.h chore: Player class removal (#1445) 2024-02-04 06:29:05 -08: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: upgrade MacOS build settings for better C++20 compatibility (#1435) 2024-01-29 21:45:50 -06:00
UserManager.h refactor: Database abstraction and organization of files (#1274) 2023-11-17 18:47:18 -06:00