DarkflameServer/dGame/dComponents
David Markowitz 3222e78815
Implement undo action for pre-built models (#830)
Brick building as of right now does not implement the undo action properly.  This commit addresses the issue with undoing button being non-functional server side and implements the GM needed for addressing further issues.

Implement GameMessage UnUseModel which is called when a model in BrickBuilding is UnUsed.  Important for UGC content down the line.  Final code has been tested as follows:
1. Placed a model in brick build
2. saved placed a brick
3. repeat 2 and 3 twice more for 6 total models
4. Place a new model in brick mode and then edit all 7 models into one brick model instance
5. Pressing undo returns the converted model to the inventory and properly discards the other 6 without crashing.  Intended live behavior is to store this in the inventory instead however behind the scenes work is needed to implement UGC models properly.

Implement enum

Implement the BlueprintSaveResponseType enum so there are less magic numbers sent via packets.
Correct int sizes from unsigned int to uint32_t

Add deserialize test

Add a test for de-serializing a GM that is sent to the client.  Assertions verify the data is in the correct order and has no extra information.
2022-11-27 16:48:46 -08:00
..
BaseCombatAIComponent.cpp Move Navmesh code away from dPhysics (#701) 2022-08-02 06:30:19 +01:00
BaseCombatAIComponent.h format codebase 2022-07-28 08:39:57 -05:00
BouncerComponent.cpp format codebase 2022-07-28 08:39:57 -05:00
BouncerComponent.h format codebase 2022-07-28 08:39:57 -05:00
BuffComponent.cpp Add Remove Buff Behavior and patch infinite use Imagination Backpack(#845) 2022-11-27 16:40:14 -08:00
BuffComponent.h Add Remove Buff Behavior and patch infinite use Imagination Backpack(#845) 2022-11-27 16:40:14 -08:00
BuildBorderComponent.cpp format codebase 2022-07-28 08:39:57 -05:00
BuildBorderComponent.h format codebase 2022-07-28 08:39:57 -05:00
CharacterComponent.cpp add 1261 to the disable landing animation switch case (#819) 2022-11-05 19:09:39 -05:00
CharacterComponent.h Mounts v2 (#726) 2022-09-02 13:49:19 -05:00
CMakeLists.txt Player forced movement component (#672) 2022-07-24 13:25:10 -05:00
Component.cpp format codebase 2022-07-28 08:39:57 -05:00
Component.h format codebase 2022-07-28 08:39:57 -05:00
ControllablePhysicsComponent.cpp Mounts v2 (#726) 2022-09-02 13:49:19 -05:00
ControllablePhysicsComponent.h Mounts v2 (#726) 2022-09-02 13:49:19 -05:00
DestroyableComponent.cpp Implement GTest and change windows output path 2022-11-07 00:12:35 -08:00
DestroyableComponent.h Implement GTest and change windows output path 2022-11-07 00:12:35 -08:00
InventoryComponent.cpp Implement undo action for pre-built models (#830) 2022-11-27 16:48:46 -08:00
InventoryComponent.h Mounts v2 (#726) 2022-09-02 13:49:19 -05:00
LevelProgressionComponent.cpp format codebase 2022-07-28 08:39:57 -05:00
LevelProgressionComponent.h make LoadFromXml usage consistent across comps (#673) 2022-07-24 21:03:22 -05:00
LUPExhibitComponent.cpp format codebase 2022-07-28 08:39:57 -05:00
LUPExhibitComponent.h format codebase 2022-07-28 08:39:57 -05:00
MissionComponent.cpp Fix missions re-ordering on reload (#686) 2022-07-30 20:56:21 -07:00
MissionComponent.h Fix missions re-ordering on reload (#686) 2022-07-30 20:56:21 -07:00
MissionOfferComponent.cpp format codebase 2022-07-28 08:39:57 -05:00
MissionOfferComponent.h format codebase 2022-07-28 08:39:57 -05:00
ModelComponent.cpp format codebase 2022-07-28 08:39:57 -05:00
ModelComponent.h Fix Model Component Serialization (#655) 2022-07-19 16:51:35 -05:00
ModuleAssemblyComponent.cpp format codebase 2022-07-28 08:39:57 -05:00
ModuleAssemblyComponent.h format codebase 2022-07-28 08:39:57 -05:00
MovementAIComponent.cpp convert to unix line endings 2022-08-05 22:01:59 -05:00
MovementAIComponent.h format codebase 2022-07-28 08:39:57 -05:00
MovingPlatformComponent.cpp format codebase 2022-07-28 08:39:57 -05:00
MovingPlatformComponent.h format codebase 2022-07-28 08:39:57 -05:00
PetComponent.cpp Fix Pet Taming causing seg fault (#818) 2022-11-05 19:09:26 -05:00
PetComponent.h format codebase 2022-07-28 08:39:57 -05:00
PhantomPhysicsComponent.cpp Fix death planes (#735) 2022-08-16 22:28:50 -05:00
PhantomPhysicsComponent.h format codebase 2022-07-28 08:39:57 -05:00
PlayerForcedMovementComponent.cpp format codebase 2022-07-28 08:39:57 -05:00
PlayerForcedMovementComponent.h format codebase 2022-07-28 08:39:57 -05:00
PossessableComponent.cpp Mounts v2 (#726) 2022-09-02 13:49:19 -05:00
PossessableComponent.h Mounts v2 (#726) 2022-09-02 13:49:19 -05:00
PossessorComponent.cpp Mounts v2 (#726) 2022-09-02 13:49:19 -05:00
PossessorComponent.h Mounts v2 (#726) 2022-09-02 13:49:19 -05:00
PropertyComponent.cpp format codebase 2022-07-28 08:39:57 -05:00
PropertyComponent.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
PropertyEntranceComponent.cpp format codebase 2022-07-28 08:39:57 -05:00
PropertyEntranceComponent.h convert to unix line endings 2022-08-05 22:01:59 -05:00
PropertyManagementComponent.cpp Implement undo action for pre-built models (#830) 2022-11-27 16:48:46 -08:00
PropertyManagementComponent.h convert to unix line endings 2022-08-05 22:01:59 -05:00
PropertyVendorComponent.cpp convert to unix line endings 2022-08-05 22:01:59 -05:00
PropertyVendorComponent.h convert to unix line endings 2022-08-05 22:01:59 -05:00
ProximityMonitorComponent.cpp format codebase 2022-07-28 08:39:57 -05:00
ProximityMonitorComponent.h format codebase 2022-07-28 08:39:57 -05:00
RacingControlComponent.cpp Merge branch 'main' into editorconfig 2022-07-28 09:27:06 -05:00
RacingControlComponent.h format codebase 2022-07-28 08:39:57 -05:00
RailActivatorComponent.cpp format codebase 2022-07-28 08:39:57 -05:00
RailActivatorComponent.h format codebase 2022-07-28 08:39:57 -05:00
RebuildComponent.cpp format codebase 2022-07-28 08:39:57 -05:00
RebuildComponent.h format codebase 2022-07-28 08:39:57 -05:00
RenderComponent.cpp format codebase 2022-07-28 08:39:57 -05:00
RenderComponent.h format codebase 2022-07-28 08:39:57 -05:00
RigidbodyPhantomPhysicsComponent.cpp format codebase 2022-07-28 08:39:57 -05:00
RigidbodyPhantomPhysicsComponent.h format codebase 2022-07-28 08:39:57 -05:00
RocketLaunchLupComponent.cpp remove cdclient include 2022-05-17 10:20:36 -05:00
RocketLaunchLupComponent.h format codebase 2022-07-28 08:39:57 -05:00
RocketLaunchpadControlComponent.cpp format codebase 2022-07-28 08:39:57 -05:00
RocketLaunchpadControlComponent.h format codebase 2022-07-28 08:39:57 -05:00
ScriptedActivityComponent.cpp format codebase 2022-07-28 08:39:57 -05:00
ScriptedActivityComponent.h format codebase 2022-07-28 08:39:57 -05:00
ShootingGalleryComponent.cpp format codebase 2022-07-28 08:39:57 -05:00
ShootingGalleryComponent.h format codebase 2022-07-28 08:39:57 -05:00
SimplePhysicsComponent.cpp format codebase 2022-07-28 08:39:57 -05:00
SimplePhysicsComponent.h format codebase 2022-07-28 08:39:57 -05:00
SkillComponent.cpp format codebase 2022-07-28 08:39:57 -05:00
SkillComponent.h format codebase 2022-07-28 08:39:57 -05:00
SoundTriggerComponent.cpp format codebase 2022-07-28 08:39:57 -05:00
SoundTriggerComponent.h format codebase 2022-07-28 08:39:57 -05:00
SwitchComponent.cpp format codebase 2022-07-28 08:39:57 -05:00
SwitchComponent.h format codebase 2022-07-28 08:39:57 -05:00
VehiclePhysicsComponent.cpp format codebase 2022-07-28 08:39:57 -05:00
VehiclePhysicsComponent.h format codebase 2022-07-28 08:39:57 -05:00
VendorComponent.cpp format codebase 2022-07-28 08:39:57 -05:00
VendorComponent.h format codebase 2022-07-28 08:39:57 -05:00