DarkflameServer/dScripts/02_server/Map/NT
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
..
CMakeLists.txt Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
NtAssemblyTubeServer.cpp Breakout rest of the enums from dCommonVars and clean it up (#1061) 2023-05-02 17:39:21 -05:00
NtAssemblyTubeServer.h Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
NtBeamImaginationCollectors.cpp Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
NtBeamImaginationCollectors.h Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
NtCombatChallengeDummy.cpp Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
NtCombatChallengeDummy.h Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
NtCombatChallengeExplodingDummy.cpp Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
NtCombatChallengeExplodingDummy.h Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
NtCombatChallengeServer.cpp dGame Precompiled header improvements (#876) 2023-01-06 23:17:05 -06:00
NtCombatChallengeServer.h Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
NtConsoleTeleportServer.cpp Refactor: Amf3 implementation (#998) 2023-05-13 17:22:00 -05:00
NtConsoleTeleportServer.h Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
NtDarkitectRevealServer.cpp Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
NtDarkitectRevealServer.h Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
NtDirtCloudServer.cpp Breakout rest of the enums from dCommonVars and clean it up (#1061) 2023-05-02 17:39:21 -05:00
NtDirtCloudServer.h Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
NtDukeServer.cpp Breakout rest of the enums from dCommonVars and clean it up (#1061) 2023-05-02 17:39:21 -05:00
NtDukeServer.h cleanup enums to make them more consistent 2023-01-22 17:38:47 -06:00
NtHaelServer.cpp Breakout rest of the enums from dCommonVars and clean it up (#1061) 2023-05-02 17:39:21 -05:00
NtHaelServer.h Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
NtImagBeamBuffer.cpp Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
NtImagBeamBuffer.h Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
NtImagimeterVisibility.cpp Breakout rest of the enums from dCommonVars and clean it up (#1061) 2023-05-02 17:39:21 -05:00
NtImagimeterVisibility.h Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
NtOverbuildServer.cpp Breakout rest of the enums from dCommonVars and clean it up (#1061) 2023-05-02 17:39:21 -05:00
NtOverbuildServer.h Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
NtParadoxPanelServer.cpp Breakout rest of the enums from dCommonVars and clean it up (#1061) 2023-05-02 17:39:21 -05:00
NtParadoxPanelServer.h Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
NtParadoxTeleServer.cpp Breakout rest of the enums from dCommonVars and clean it up (#1061) 2023-05-02 17:39:21 -05:00
NtParadoxTeleServer.h Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
NtSentinelWalkwayServer.cpp Implement some more trigger event calls and command handlers (#989) 2023-03-25 05:26:39 -05:00
NtSentinelWalkwayServer.h Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
NtSleepingGuard.cpp Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
NtSleepingGuard.h Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
NtVandaServer.cpp cleanup enums to make them more consistent 2023-01-22 17:38:47 -06:00
NtVandaServer.h cleanup enums to make them more consistent 2023-01-22 17:38:47 -06:00
NtVentureCannonServer.cpp Breakout rest of the enums from dCommonVars and clean it up (#1061) 2023-05-02 17:39:21 -05:00
NtVentureCannonServer.h Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
NtVentureSpeedPadServer.cpp cleanup enums to make them more consistent 2023-01-22 17:38:47 -06:00
NtVentureSpeedPadServer.h Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
NtXRayServer.cpp Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
NtXRayServer.h Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
SpawnSaberCatServer.cpp Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
SpawnSaberCatServer.h Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
SpawnShrakeServer.cpp Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
SpawnShrakeServer.h Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
SpawnStegoServer.cpp Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
SpawnStegoServer.h Organize dScripts (#814) 2022-11-03 12:57:54 -05:00