DarkflameServer/dDatabase/CDClientDatabase/CDClientTables
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
..
CDActivitiesTable.cpp chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDActivitiesTable.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDActivityRewardsTable.cpp chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDActivityRewardsTable.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDAnimationsTable.cpp chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDAnimationsTable.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDBehaviorParameterTable.cpp chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDBehaviorParameterTable.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDBehaviorTemplateTable.cpp chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDBehaviorTemplateTable.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDBrickIDTableTable.cpp chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDBrickIDTableTable.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDComponentsRegistryTable.cpp chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDComponentsRegistryTable.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDCurrencyTableTable.cpp chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDCurrencyTableTable.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDDestructibleComponentTable.cpp chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDDestructibleComponentTable.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDEmoteTable.cpp chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDEmoteTable.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDFeatureGatingTable.cpp chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDFeatureGatingTable.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDInventoryComponentTable.cpp chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDInventoryComponentTable.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDItemComponentTable.cpp chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDItemComponentTable.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDItemSetSkillsTable.cpp chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDItemSetSkillsTable.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDItemSetsTable.cpp chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDItemSetsTable.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDLevelProgressionLookupTable.cpp chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDLevelProgressionLookupTable.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDLootMatrixTable.cpp chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDLootMatrixTable.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDLootTableTable.cpp chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDLootTableTable.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDMissionEmailTable.cpp chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDMissionEmailTable.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDMissionNPCComponentTable.cpp chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDMissionNPCComponentTable.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDMissionsTable.cpp chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDMissionsTable.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDMissionTasksTable.cpp chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDMissionTasksTable.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDMovementAIComponentTable.cpp chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDMovementAIComponentTable.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDObjectSkillsTable.cpp chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDObjectSkillsTable.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDObjectsTable.cpp chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDObjectsTable.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDPackageComponentTable.cpp chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDPackageComponentTable.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDPetComponentTable.cpp chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDPetComponentTable.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDPhysicsComponentTable.cpp chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDPhysicsComponentTable.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDPropertyEntranceComponentTable.cpp chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDPropertyEntranceComponentTable.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDPropertyTemplateTable.cpp chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDPropertyTemplateTable.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDProximityMonitorComponentTable.cpp chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDProximityMonitorComponentTable.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDRailActivatorComponent.cpp chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDRailActivatorComponent.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDRarityTableTable.cpp chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDRarityTableTable.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDRebuildComponentTable.cpp chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDRebuildComponentTable.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDRewardCodesTable.cpp chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDRewardCodesTable.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDRewardsTable.cpp chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDRewardsTable.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDScriptComponentTable.cpp chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDScriptComponentTable.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDSkillBehaviorTable.cpp chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDSkillBehaviorTable.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDTable.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDVendorComponentTable.cpp chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDVendorComponentTable.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDZoneTableTable.cpp chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CDZoneTableTable.h chore: Move database storage containers to be translation unit local to allow for safe references (#1434) 2024-02-09 07:37:58 -06:00
CMakeLists.txt chore: Assorted pet improvements (#1402) 2024-01-08 15:32:09 -08:00