DarkflameServer/dGame
Aaron Kimbrell feeac2e041
feat: refactor slash commands system into more scalable system (#1510)
* 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
..
dBehaviors update to current knowledge (#1523) 2024-03-30 11:16:06 -05:00
dComponents chore: Remove dpEntity pointers from collision checking (#1529) 2024-04-05 00:52:26 -05:00
dEntity fix: Dissolve more CMake dependencies (#1387) 2024-03-05 20:13:24 -06:00
dGameMessages feat: refactor slash commands system into more scalable system (#1510) 2024-04-08 15:11:59 -05:00
dInventory fix: Dissolve more CMake dependencies (#1387) 2024-03-05 20:13:24 -06:00
dMission fix: Dissolve more CMake dependencies (#1387) 2024-03-05 20:13:24 -06:00
dPropertyBehaviors fix: Dissolve more CMake dependencies (#1387) 2024-03-05 20:13:24 -06:00
dUtilities feat: refactor slash commands system into more scalable system (#1510) 2024-04-08 15:11:59 -05:00
Character.cpp refactor: allow usage of NiPoint3 and NiQuaternion in constexpr context (#1414) 2024-01-29 01:53:12 -06:00
Character.h chore: Player class removal (#1445) 2024-02-04 06:29:05 -08:00
CMakeLists.txt fix: Dissolve more CMake dependencies (#1387) 2024-03-05 20:13:24 -06:00
Entity.cpp feat: Add MovingAI pathing for NPCs without combatAI (#1509) 2024-03-26 21:06:22 -05:00
Entity.h Remove multiple Script syntax (#1496) 2024-03-06 19:49:29 -06:00
EntityManager.cpp feat: Provide SerializeEntity constant reference overload (#1491) 2024-03-06 19:23:24 -06:00
EntityManager.h feat: Provide SerializeEntity constant reference overload (#1491) 2024-03-06 19:23:24 -06:00
LeaderboardManager.cpp chore: Convert LeaderboardManager to use BitStream refs (#1469) 2024-02-26 23:25:45 -06:00
LeaderboardManager.h chore: Convert LeaderboardManager to use BitStream refs (#1469) 2024-02-26 23:25:45 -06:00
PlayerManager.cpp chore: Player class removal (#1445) 2024-02-04 06:29:05 -08:00
PlayerManager.h chore: Player class removal (#1445) 2024-02-04 06:29:05 -08:00
TeamManager.cpp Teams: Default team loot to ffa (#1224) 2023-10-18 09:18:22 -05:00
TeamManager.h Teams: Default team loot to ffa (#1224) 2023-10-18 09:18:22 -05:00
TradingManager.cpp close trade window (#1457) 2024-02-11 21:00:39 -06:00
TradingManager.h close trade window (#1457) 2024-02-11 21:00:39 -06:00
User.cpp fix: general crashes (#1336) 2023-12-16 12:27:06 -06:00
User.h fix: make include paths consistent (#1390) 2024-01-05 06:33:52 -06:00
UserManager.cpp replace white and blacklist (#1530) 2024-04-05 00:51:40 -05:00
UserManager.h refactor: Database abstraction and organization of files (#1274) 2023-11-17 18:47:18 -06:00