DarkflameServer/dGame/dComponents
David Markowitz f0b6ad89d9
chore: Player class removal (#1445)
* SystemAddress and destructor

* move respawn logic to character comp

Tested that respawn pos and rot can be set as per previously by crossing a respawn point and smashing to see if I would respawn at the new place.

* Move loot cheat checking

* Remove GetParentUser overload

Tested completing missions
control behaviors
collecting life crate
completing a bunch of missions using macros
loading into worlds
brick-by-brick
placing models
digging the x spot in gnarled forest
can still ban and mute players
cheat detection is still doing its thing
flags are still set (checked with flag 45)
claim codes still work (created new char, checked the lego club mail was there)

* Move player constructor logic

Its now at the bottom of Entity constructor.  Time to remove Player

* Remove Player class

Removes the Player class.  Tested that I can still login and see another player in Venture Explorer and logging out a few times still works as well as smashing enemies

* store ptr

* Update SlashCommandHandler.cpp
2024-02-04 06:29:05 -08:00
..
AchievementCacheKey.h cleanup enums to make them more consistent 2023-01-22 17:38:47 -06:00
ActivityComponent.cpp chore: Player class removal (#1445) 2024-02-04 06:29:05 -08:00
ActivityComponent.h fix: activity id not using overridden id (#1400) 2024-01-07 07:43:53 -06:00
BaseCombatAIComponent.cpp refactor: allow usage of NiPoint3 and NiQuaternion in constexpr context (#1414) 2024-01-29 01:53:12 -06:00
BaseCombatAIComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
BouncerComponent.cpp fix: make include paths consistent (#1390) 2024-01-05 06:33:52 -06:00
BouncerComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
BuffComponent.cpp fix: make include paths consistent (#1390) 2024-01-05 06:33:52 -06:00
BuffComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
BuildBorderComponent.cpp refactor: allow usage of NiPoint3 and NiQuaternion in constexpr context (#1414) 2024-01-29 01:53:12 -06:00
BuildBorderComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
CharacterComponent.cpp chore: Player class removal (#1445) 2024-02-04 06:29:05 -08:00
CharacterComponent.h chore: Player class removal (#1445) 2024-02-04 06:29:05 -08:00
CMakeLists.txt chore: Update render component and delete unused code (#1429) 2024-01-31 08:38:38 -06:00
CollectibleComponent.cpp feat: Add isolated and simplified path to add components (#1204) 2023-10-22 20:08:49 -05:00
CollectibleComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
Component.cpp chore: Make serialize actually virtual (#1156) 2023-08-10 14:33:15 -07:00
Component.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
ControllablePhysicsComponent.cpp remove singleton for dpWorld (#1427) 2024-01-19 15:12:05 -06:00
ControllablePhysicsComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
DestroyableComponent.cpp chore: Player class removal (#1445) 2024-02-04 06:29:05 -08:00
DestroyableComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
DonationVendorComponent.cpp refactor: Database abstraction and organization of files (#1274) 2023-11-17 18:47:18 -06:00
DonationVendorComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
GhostComponent.cpp refactor: allow usage of NiPoint3 and NiQuaternion in constexpr context (#1414) 2024-01-29 01:53:12 -06:00
GhostComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
HavokVehiclePhysicsComponent.cpp refactor: allow usage of NiPoint3 and NiQuaternion in constexpr context (#1414) 2024-01-29 01:53:12 -06:00
HavokVehiclePhysicsComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
InventoryComponent.cpp chore: Player class removal (#1445) 2024-02-04 06:29:05 -08:00
InventoryComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
ItemComponent.cpp feat: Add isolated and simplified path to add components (#1204) 2023-10-22 20:08:49 -05:00
ItemComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
LevelProgressionComponent.cpp feat: Abstract Logger and simplify code (#1207) 2023-10-21 16:31:55 -07:00
LevelProgressionComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
LUPExhibitComponent.cpp fix: LUP Exhibit component type and use delta compression on serialization (#1365) 2023-12-28 22:24:45 -06:00
LUPExhibitComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
MinigameComponent.cpp chore: rename zonecontrolcomp to minigamecontrolcomp 2023-12-04 20:59:08 -06:00
MiniGameControlComponent.cpp chore: rename zonecontrolcomp to minigamecontrolcomp 2023-12-04 20:59:08 -06:00
MiniGameControlComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
MissionComponent.cpp chore: Eradicate C-style casts and further clean up some code (#1361) 2023-12-27 22:18:20 -06:00
MissionComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
MissionOfferComponent.cpp fix: mission offering (#1359) 2023-12-26 15:45:10 -08:00
MissionOfferComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
ModelComponent.cpp feat: partially functioning property behavior ui (no saving or loading yet) (#1384) 2024-01-03 07:34:38 -06:00
ModelComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
ModuleAssemblyComponent.cpp chore: Eradicate C-style casts and further clean up some code (#1361) 2023-12-27 22:18:20 -06:00
ModuleAssemblyComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
MovementAIComponent.cpp refactor: allow usage of NiPoint3 and NiQuaternion in constexpr context (#1414) 2024-01-29 01:53:12 -06:00
MovementAIComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
MovingPlatformComponent.cpp chore: rename rebuild to quickbuild (#1364) 2023-12-28 22:24:30 -06:00
MovingPlatformComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
MultiZoneEntranceComponent.cpp fix #1194 (#1196) 2023-09-19 05:59:02 -05:00
MultiZoneEntranceComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
PetComponent.cpp refactor: allow usage of NiPoint3 and NiQuaternion in constexpr context (#1414) 2024-01-29 01:53:12 -06:00
PetComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
PhantomPhysicsComponent.cpp refactor: allow usage of NiPoint3 and NiQuaternion in constexpr context (#1414) 2024-01-29 01:53:12 -06:00
PhantomPhysicsComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
PhysicsComponent.cpp refactor: allow usage of NiPoint3 and NiQuaternion in constexpr context (#1414) 2024-01-29 01:53:12 -06:00
PhysicsComponent.h chore: Physics Component abstraction and addition of tests (#1159) 2023-10-09 15:19:38 -05:00
PlayerForcedMovementComponent.cpp chore: Make serialize actually virtual (#1156) 2023-08-10 14:33:15 -07:00
PlayerForcedMovementComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
PossessableComponent.cpp chore: Make serialize actually virtual (#1156) 2023-08-10 14:33:15 -07:00
PossessableComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
PossessorComponent.cpp chore: Make serialize actually virtual (#1156) 2023-08-10 14:33:15 -07:00
PossessorComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
PropertyComponent.h chore: Update render component and delete unused code (#1429) 2024-01-31 08:38:38 -06:00
PropertyEntranceComponent.cpp fix: make include paths consistent (#1390) 2024-01-05 06:33:52 -06:00
PropertyEntranceComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
PropertyManagementComponent.cpp chore: Player class removal (#1445) 2024-02-04 06:29:05 -08:00
PropertyManagementComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
PropertyVendorComponent.cpp feat: Abstract Logger and simplify code (#1207) 2023-10-21 16:31:55 -07:00
PropertyVendorComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
ProximityMonitorComponent.cpp remove singleton for dpWorld (#1427) 2024-01-19 15:12:05 -06:00
ProximityMonitorComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
QuickBuildComponent.cpp refactor: allow usage of NiPoint3 and NiQuaternion in constexpr context (#1414) 2024-01-29 01:53:12 -06:00
QuickBuildComponent.h refactor: allow usage of NiPoint3 and NiQuaternion in constexpr context (#1414) 2024-01-29 01:53:12 -06:00
RacingControlComponent.cpp chore: Player class removal (#1445) 2024-02-04 06:29:05 -08:00
RacingControlComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
RacingSoundTriggerComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
RacingStatsComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
RailActivatorComponent.cpp chore: rename rebuild to quickbuild (#1364) 2023-12-28 22:24:30 -06:00
RailActivatorComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
RenderComponent.cpp chore: nitpicks on rendercomponent changes (#1440) 2024-02-01 09:43:28 -06:00
RenderComponent.h chore: Update render component and delete unused code (#1429) 2024-01-31 08:38:38 -06:00
RigidbodyPhantomPhysicsComponent.cpp chore: Physics Component abstraction and addition of tests (#1159) 2023-10-09 15:19:38 -05:00
RigidbodyPhantomPhysicsComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
RocketLaunchpadControlComponent.cpp feat: Abstract Logger and simplify code (#1207) 2023-10-21 16:31:55 -07:00
RocketLaunchpadControlComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
ScriptedActivityComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
ShootingGalleryComponent.cpp fix: shooting gallery bugs (#1347) 2023-12-23 17:50:14 +00:00
ShootingGalleryComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
SimplePhysicsComponent.cpp feat: Add isolated and simplified path to add components (#1204) 2023-10-22 20:08:49 -05:00
SimplePhysicsComponent.h refactor: allow usage of NiPoint3 and NiQuaternion in constexpr context (#1414) 2024-01-29 01:53:12 -06:00
SkillComponent.cpp chore: Eradicate C-style casts and further clean up some code (#1361) 2023-12-27 22:18:20 -06:00
SkillComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
SoundTriggerComponent.cpp feat: Abstract Logger and simplify code (#1207) 2023-10-21 16:31:55 -07:00
SoundTriggerComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
SwitchComponent.cpp chore: rename rebuild to quickbuild (#1364) 2023-12-28 22:24:30 -06:00
SwitchComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
TriggerComponent.cpp chore: Player class removal (#1445) 2024-02-04 06:29:05 -08:00
TriggerComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00
VendorComponent.cpp feat: Abstract Logger and simplify code (#1207) 2023-10-21 16:31:55 -07:00
VendorComponent.h chore: Misc. component cleanup (#1433) 2024-01-23 23:13:23 -06:00