DarkflameServer/dScripts
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
..
02_server Refactor: Amf3 implementation (#998) 2023-05-13 17:22:00 -05:00
ai Address feedback 2023-05-11 09:23:48 -05:00
client Breakout rest of the enums from dCommonVars and clean it up (#1061) 2023-05-02 17:39:21 -05:00
EquipmentScripts Breakout rest of the enums from dCommonVars and clean it up (#1061) 2023-05-02 17:39:21 -05:00
EquipmentTriggers Make wrapper for casting skills (#987) 2023-02-10 02:30:17 -06:00
zone Fix typing of some player flag variables (#1067) 2023-05-06 13:32:26 -05:00
ActivityManager.cpp dGame Precompiled header improvements (#876) 2023-01-06 23:17:05 -06:00
ActivityManager.h format codebase 2022-07-28 08:39:57 -05:00
BaseConsoleTeleportServer.cpp Breakout rest of the enums from dCommonVars and clean it up (#1061) 2023-05-02 17:39:21 -05:00
BaseConsoleTeleportServer.h format codebase 2022-07-28 08:39:57 -05:00
BasePropertyServer.cpp Fix typing of some player flag variables (#1067) 2023-05-06 13:32:26 -05:00
BasePropertyServer.h format codebase 2022-07-28 08:39:57 -05:00
BaseRandomServer.cpp format codebase 2022-07-28 08:39:57 -05:00
BaseRandomServer.h format codebase 2022-07-28 08:39:57 -05:00
BaseSurvivalServer.cpp cleanup enums to make them more consistent 2023-01-22 17:38:47 -06:00
BaseSurvivalServer.h format codebase 2022-07-28 08:39:57 -05:00
BaseWavesGenericEnemy.cpp format codebase 2022-07-28 08:39:57 -05:00
BaseWavesGenericEnemy.h format codebase 2022-07-28 08:39:57 -05:00
BaseWavesServer.cpp Players no longer respawn if they were alive at the end of Battle of Nimbus Station (#1017) 2023-03-12 07:21:27 -07:00
BaseWavesServer.h format codebase 2022-07-28 08:39:57 -05:00
ChooseYourDestinationNsToNt.cpp Breakout rest of the enums from dCommonVars and clean it up (#1061) 2023-05-02 17:39:21 -05:00
ChooseYourDestinationNsToNt.h format codebase 2022-07-28 08:39:57 -05:00
CMakeLists.txt Implement the Imaginite Backpack and Shard armor scripts (#886) 2022-12-21 14:33:41 -08:00
CppScripts.cpp Implement some scripts for alpha FV (#1049) 2023-04-12 11:46:31 -05:00
CppScripts.h fix: not exiting shooting gallery when clicking activity close button 2023-05-10 19:26:04 -05:00
Darkitect.cpp cleanup enums to make them more consistent 2023-01-22 17:38:47 -06:00
Darkitect.h Optimize scripts for faster compilation (#597) 2022-07-04 23:00:10 -07:00
NPCAddRemoveItem.cpp Breakout rest of the enums from dCommonVars and clean it up (#1061) 2023-05-02 17:39:21 -05:00
NPCAddRemoveItem.h cleanup enums to make them more consistent 2023-01-22 17:38:47 -06:00
NtFactionSpyServer.cpp Breakout rest of the enums from dCommonVars and clean it up (#1061) 2023-05-02 17:39:21 -05:00
NtFactionSpyServer.h Breakout rest of the enums from dCommonVars and clean it up (#1061) 2023-05-02 17:39:21 -05:00
ScriptComponent.cpp format codebase 2022-07-28 08:39:57 -05:00
ScriptComponent.h breakout the component types into a scoped enum (#1002) 2023-03-04 01:16:37 -06:00
ScriptedPowerupSpawner.cpp dGame Precompiled header improvements (#876) 2023-01-06 23:17:05 -06:00
ScriptedPowerupSpawner.h format codebase 2022-07-28 08:39:57 -05:00
SpawnPetBaseServer.cpp Breakout rest of the enums from dCommonVars and clean it up (#1061) 2023-05-02 17:39:21 -05:00
SpawnPetBaseServer.h format codebase 2022-07-28 08:39:57 -05:00