mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-03 05:16:37 +00:00
[Commands] Command Status Reload and Helper Method (#2377)
* [Commands] Command Status Reloading
Currently command status changes require a server restart to take effect, this will allow them to be changed and use `#reload commands` without needing a restart.
Added a helper method called GetCommandStatus() for future reference when sending command saylinks to people and making sure if they're high enough status for the command before sending the link.
* Update client.cpp
* Update command.h
* Saylink cleanup.
* Remove unnecessary packet sending.
* Revert "Remove unnecessary packet sending."
This reverts commit e7e77b83af.
This commit is contained in:
+20
-19
@@ -226,25 +226,26 @@
|
||||
#define ServerOP_ReloadAAData 0x4100
|
||||
#define ServerOP_ReloadAlternateCurrencies 0x4101
|
||||
#define ServerOP_ReloadBlockedSpells 0x4102
|
||||
#define ServerOP_ReloadContentFlags 0x4103
|
||||
#define ServerOP_ReloadDoors 0x4104
|
||||
#define ServerOP_ReloadGroundSpawns 0x4105
|
||||
#define ServerOP_ReloadLevelEXPMods 0x4106
|
||||
#define ServerOP_ReloadLogs 0x4107
|
||||
#define ServerOP_ReloadMerchants 0x4108
|
||||
#define ServerOP_ReloadNPCEmotes 0x4109
|
||||
#define ServerOP_ReloadObjects 0x4110
|
||||
#define ServerOP_ReloadPerlExportSettings 0x4111
|
||||
#define ServerOP_ReloadRules 0x4112
|
||||
#define ServerOP_ReloadStaticZoneData 0x4113
|
||||
#define ServerOP_ReloadTasks 0x4114
|
||||
#define ServerOP_ReloadTitles 0x4115
|
||||
#define ServerOP_ReloadTraps 0x4116
|
||||
#define ServerOP_ReloadVariables 0x4117
|
||||
#define ServerOP_ReloadVeteranRewards 0x4118
|
||||
#define ServerOP_ReloadWorld 0x4119
|
||||
#define ServerOP_ReloadZonePoints 0x4120
|
||||
#define ServerOP_ReloadDzTemplates 0x4121
|
||||
#define ServerOP_ReloadCommands 0x4103
|
||||
#define ServerOP_ReloadContentFlags 0x4104
|
||||
#define ServerOP_ReloadDoors 0x4105
|
||||
#define ServerOP_ReloadGroundSpawns 0x4106
|
||||
#define ServerOP_ReloadLevelEXPMods 0x4107
|
||||
#define ServerOP_ReloadLogs 0x4108
|
||||
#define ServerOP_ReloadMerchants 0x4109
|
||||
#define ServerOP_ReloadNPCEmotes 0x4110
|
||||
#define ServerOP_ReloadObjects 0x4111
|
||||
#define ServerOP_ReloadPerlExportSettings 0x4112
|
||||
#define ServerOP_ReloadRules 0x4113
|
||||
#define ServerOP_ReloadStaticZoneData 0x4114
|
||||
#define ServerOP_ReloadTasks 0x4115
|
||||
#define ServerOP_ReloadTitles 0x4116
|
||||
#define ServerOP_ReloadTraps 0x4117
|
||||
#define ServerOP_ReloadVariables 0x4118
|
||||
#define ServerOP_ReloadVeteranRewards 0x4119
|
||||
#define ServerOP_ReloadWorld 0x4120
|
||||
#define ServerOP_ReloadZonePoints 0x4121
|
||||
#define ServerOP_ReloadDzTemplates 0x4122
|
||||
|
||||
#define ServerOP_CZDialogueWindow 0x4500
|
||||
#define ServerOP_CZLDoNUpdate 0x4501
|
||||
|
||||
Reference in New Issue
Block a user