DarkflameServer/dGame/dUtilities
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
..
BrickDatabase.cpp dGame Precompiled header improvements (#876) 2023-01-06 23:17:05 -06:00
BrickDatabase.h format codebase 2022-07-28 08:39:57 -05:00
CMakeLists.txt Remove GameConfig (#874) 2023-01-06 23:21:40 -06:00
GUID.cpp format codebase 2022-07-28 08:39:57 -05:00
GUID.h format codebase 2022-07-28 08:39:57 -05:00
Loot.cpp Breakout rest of the enums from dCommonVars and clean it up (#1061) 2023-05-02 17:39:21 -05:00
Loot.h Breakout rest of the enums from dCommonVars and clean it up (#1061) 2023-05-02 17:39:21 -05:00
Mail.cpp Breakout message identifiers (#1065) 2023-05-03 16:38:32 -05:00
Mail.h format codebase 2022-07-28 08:39:57 -05:00
Preconditions.cpp cleanup enums to make them more consistent 2023-01-22 17:38:47 -06:00
Preconditions.h convert to unix line endings 2022-08-05 22:01:59 -05:00
SlashCommandHandler.cpp Refactor: Amf3 implementation (#998) 2023-05-13 17:22:00 -05:00
SlashCommandHandler.h Removed some hardcoded logic for racing (#1075) 2023-05-08 04:38:08 -05:00
VanityUtilities.cpp Add ldf controlls to vanity npc tools 2023-01-11 01:10:14 -06:00
VanityUtilities.h Add ldf controlls to vanity npc tools 2023-01-11 01:10:14 -06:00