DarkflameServer/dGame
David Markowitz 4fe335cc66
Refactor: Amf3 implementation (#998)
* Update AMFDeserializeTests.cpp

Redo Amf3 functionality

Overhaul the whole thing due to it being outdated and clunky to use

Sometimes you want to keep the value

Update AMFDeserializeTests.cpp

* Fix enum and constructors

Correct enum to a class and simplify names.
Add a proper default constructor

* Update MasterServer.cpp

* Fix bugs and add more tests

* Refactor: AMF with templates in mind

- Remove hard coded bodge
- Use templates and generics to allow for much looser typing and strengthened implementation
- Move code into header only implementation for portability

Refactor: Convert AMF implementation to templates

- Rip out previous implementation
- Remove all extraneous terminology
- Add proper overloads for all types of inserts
- Fix up tests and codebase

* Fix compiler errors

* Check for null first

* Add specialization for const char*

* Update tests for new template specialization

* Switch BitStream to use references

* Rename files

* Check enum bounds on deserialize

I did this on a phone
2023-05-13 17:22:00 -05:00
..
dBehaviors feature: Implement FallSpeedBehavior (#1084) 2023-05-13 09:30:59 -05:00
dComponents Refactor: Amf3 implementation (#998) 2023-05-13 17:22:00 -05:00
dEntity format codebase 2022-07-28 08:39:57 -05:00
dGameMessages Refactor: Amf3 implementation (#998) 2023-05-13 17:22:00 -05:00
dInventory Breakout rest of the enums from dCommonVars and clean it up (#1061) 2023-05-02 17:39:21 -05:00
dMission Breakout rest of the enums from dCommonVars and clean it up (#1061) 2023-05-02 17:39:21 -05:00
dPropertyBehaviors Refactor: Amf3 implementation (#998) 2023-05-13 17:22:00 -05:00
dUtilities Refactor: Amf3 implementation (#998) 2023-05-13 17:22:00 -05:00
Character.cpp Add better logs to saving (#1068) 2023-05-06 13:32:38 -05:00
Character.h Breakout rest of the enums from dCommonVars and clean it up (#1061) 2023-05-02 17:39:21 -05:00
CMakeLists.txt Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
Entity.cpp fix: not everything attached to a path is a moving platform (#1090) 2023-05-13 13:47:28 -07:00
Entity.h fix: not exiting shooting gallery when clicking activity close button 2023-05-10 19:26:04 -05:00
EntityManager.cpp Add more null checks and split out code 2023-05-05 23:31:30 -07:00
EntityManager.h Add more null checks and split out code 2023-05-05 23:31:30 -07:00
LeaderboardManager.cpp CDClient cleanup and optimization (#1023) 2023-03-17 07:36:21 -07:00
LeaderboardManager.h format codebase 2022-07-28 08:39:57 -05:00
Player.cpp breakout the component types into a scoped enum (#1002) 2023-03-04 01:16:37 -06:00
Player.h convert to unix line endings 2022-08-05 22:01:59 -05:00
TeamManager.cpp format codebase 2022-07-28 08:39:57 -05:00
TeamManager.h format codebase 2022-07-28 08:39:57 -05:00
TradingManager.cpp Breakout rest of the enums from dCommonVars and clean it up (#1061) 2023-05-02 17:39:21 -05:00
TradingManager.h format codebase 2022-07-28 08:39:57 -05:00
User.cpp breakout gmlevel into a scoped enum (#996) 2023-03-24 18:16:45 -05:00
User.h breakout gmlevel into a scoped enum (#996) 2023-03-24 18:16:45 -05:00
UserManager.cpp Breakout message identifiers (#1065) 2023-05-03 16:38:32 -05:00
UserManager.h format codebase 2022-07-28 08:39:57 -05:00