DarkflameServer/dCommon/dEnums
Aaron Kimbrell feeac2e041
feat: refactor slash commands system into more scalable system ()
* WIP, but working

* Scaffolding

* testing and making it compile again

* move all commands to functions

* renaming to compile

* fix failing tests

idk how these werent failing before.  Seems to have been magic.

* move commandss into their namespace
make help command useful
fix mac error

TODO: remove the multiple not founds/ rework the structure to split into help and handling

* Just need to fill out the fields, but it's all there templated

* Add all aliases, register missing commands

* All help text

* remove test logs

* improvements

pass through added code for optimizations and cleanup as well as reduce the amount of scoping for readability and maintainability

* Update SlashCommandHandler.cpp

* only save command if it is a GM command

* simplify if checks

* remove broken delimiter

* Update SlashCommandHandler.cpp

* Update SlashCommandHandler.cpp

---------

Co-authored-by: David Markowitz <EmosewaMC@gmail.com>
2024-04-08 15:11:59 -05:00
..
dCommonVars.h chore: Change dServer and related code to use BitStream references () 2024-02-26 23:43:33 -06:00
dpCollisionGroups.h Move enums to a single directory 2022-11-26 14:22:00 -08:00
dpCommon.h Move enums to a single directory 2022-11-26 14:22:00 -08:00
dPlatforms.h Move enums to a single directory 2022-11-26 14:22:00 -08:00
eAddFriendResponseCode.h cleanup enums to make them more consistent 2023-01-22 17:38:47 -06:00
eAddFriendResponseType.h cleanup enums to make them more consistent 2023-01-22 17:38:47 -06:00
eAninmationFlags.h Add change idle flags behavior and GM () 2022-12-16 15:24:13 -06:00
eAuthMessageType.h Breakout message identifiers () 2023-05-03 16:38:32 -05:00
eBasicAttackSuccessTypes.h Basic Attack Behavior Live Accuracy Improvements () 2022-12-28 14:04:37 -08:00
eBlueprintSaveResponseType.h dGame Precompiled header improvements () 2023-01-06 23:17:05 -06:00
eBubbleType.h cleanup enums to make them more consistent 2023-01-22 17:38:47 -06:00
eBuildType.h Breakout rest of the enums from dCommonVars and clean it up () 2023-05-02 17:39:21 -05:00
eCharacterCreationResponse.h Breakout rest of the enums from dCommonVars and clean it up () 2023-05-02 17:39:21 -05:00
eCharacterVersion.h Add speedbase readling and writing to the level prograssion component and impli proper character versions for fixes () 2022-12-19 13:45:50 -06:00
eChatMessageType.h chore: remove chat_internal and processes everything over chat connection () 2024-03-31 22:27:50 -05:00
eCinematicEvent.h Breakout rest of the enums from dCommonVars and clean it up () 2023-05-02 17:39:21 -05:00
eClientMessageType.h Breakout message identifiers () 2023-05-03 16:38:32 -05:00
eConnectionType.h chore: remove chat_internal and processes everything over chat connection () 2024-03-31 22:27:50 -05:00
eControlScheme.h Breakout rest of the enums from dCommonVars and clean it up () 2023-05-02 17:39:21 -05:00
eCyclingMode.h Breakout rest of the enums from dCommonVars and clean it up () 2023-05-02 17:39:21 -05:00
eEndBehavior.h Implement some more trigger event calls and command handlers () 2023-03-25 05:26:39 -05:00
eGameActivity.h Breakout rest of the enums from dCommonVars and clean it up () 2023-05-02 17:39:21 -05:00
eGameMasterLevel.h breakout gmlevel into a scoped enum () 2023-03-24 18:16:45 -05:00
eGameMessageType.h feat: refactor slash commands system into more scalable system () 2024-04-08 15:11:59 -05:00
eHelpType.h cleanup enums to make them more consistent 2023-01-22 17:38:47 -06:00
eInventoryType.h Add Delete Inventory Slash Command () 2022-12-18 09:46:04 -06:00
eItemSetPassiveAbilityID.h cleanup enums to make them more consistent 2023-01-22 17:38:47 -06:00
eItemType.h Resolution of accidental shifting of eItemType enum () 2023-01-25 16:21:12 -08:00
eKillType.h Breakout rest of the enums from dCommonVars and clean it up () 2023-05-02 17:39:21 -05:00
eLoginResponse.h Breakout rest of the enums from dCommonVars and clean it up () 2023-05-02 17:39:21 -05:00
eLootSourceType.h Breakout rest of the enums from dCommonVars and clean it up () 2023-05-02 17:39:21 -05:00
eMasterMessageType.h Breakout message identifiers () 2023-05-03 16:38:32 -05:00
eMatchUpdate.h Breakout rest of the enums from dCommonVars and clean it up () 2023-05-02 17:39:21 -05:00
eMissionLockState.h cleanup enums to make them more consistent 2023-01-22 17:38:47 -06:00
eMissionState.h cleanup enums to make them more consistent 2023-01-22 17:38:47 -06:00
eMissionTaskType.h cleanup enums to make them more consistent 2023-01-22 17:38:47 -06:00
eMovementPlatformState.h dGame Precompiled header improvements () 2023-01-06 23:17:05 -06:00
eObjectBits.h breakout object bits into scoped enum () 2023-04-25 13:17:40 -05:00
eObjectWorldState.h Breakout rest of the enums from dCommonVars and clean it up () 2023-05-02 17:39:21 -05:00
ePackageType.h cleanup enums to make them more consistent 2023-01-22 17:38:47 -06:00
ePermissionMap.h chore: remove uneeded old perm map check () 2023-10-25 11:44:57 -05:00
ePetAbilityType.h chore: Assorted pet improvements () 2024-01-08 15:32:09 -08:00
ePetTamingNotifyType.h Breakout rest of the enums from dCommonVars and clean it up () 2023-05-02 17:39:21 -05:00
ePhysicsEffectType.h Implement some more trigger event calls and command handlers () 2023-03-25 05:26:39 -05:00
ePlayerFlag.h feat: Add ability to toggle skipping of cinematics () 2023-11-21 18:04:44 -08:00
eQuickBuildFailReason.h Breakout rest of the enums from dCommonVars and clean it up () 2023-05-02 17:39:21 -05:00
eQuickBuildState.h chore: rename rebuild to quickbuild () 2023-12-28 22:24:30 -06:00
eRacingTaskParam.h cleanup enums to make them more consistent 2023-01-22 17:38:47 -06:00
eRenameResponse.h Breakout rest of the enums from dCommonVars and clean it up () 2023-05-02 17:39:21 -05:00
eReplicaComponentType.h feat: achievement vendor and vendor feedback () 2024-02-25 01:47:05 -06:00
eReplicaPacketType.h Breakout rest of the enums from dCommonVars and clean it up () 2023-05-02 17:39:21 -05:00
eServerDisconnectIdentifiers.h Breakout ServerDisconnectIdentifiers into an enum () 2023-02-19 04:29:14 -08:00
eServerMessageType.h Breakout message identifiers () 2023-05-03 16:38:32 -05:00
eSqliteDataType.h Implement FDB to SQLite () 2022-12-05 00:57:58 -08:00
eStateChangeType.h Breakout rest of the enums from dCommonVars and clean it up () 2023-05-02 17:39:21 -05:00
eTerminateType.h Breakout rest of the enums from dCommonVars and clean it up () 2023-05-02 17:39:21 -05:00
eTriggerCommandType.h Split out LUTriggers into it's own component () 2023-02-10 02:29:53 -06:00
eTriggerEventType.h Implement some more trigger event calls and command handlers () 2023-03-25 05:26:39 -05:00
eUnequippableActiveType.h Move enums to a single directory 2022-11-26 14:22:00 -08:00
eUseItemResponse.h Breakout rest of the enums from dCommonVars and clean it up () 2023-05-02 17:39:21 -05:00
eVendorTransactionResult.h feat: achievement vendor and vendor feedback () 2024-02-25 01:47:05 -06:00
eWaypointCommandType.h feat: add further MovementAI skeleton () 2024-03-08 19:29:01 -06:00
eWorldMessageType.h replace white and blacklist () 2024-04-05 00:51:40 -05:00
StringifiedEnum.h use reference syntax () 2024-01-20 17:22:56 -06:00