Core/Misc: Added the possibility to configure the hour at which the server will be return old mails or delete them.

Port From (https://github.com/TrinityCore/TrinityCore/commit/3b36278d0227d241643a618fdc0e8cce5133d78c)
This commit is contained in:
hondacrx
2021-01-08 20:38:58 -05:00
parent 90f8029fe1
commit 3e9b4d0cef
4 changed files with 18 additions and 2 deletions
+2 -1
View File
@@ -952,7 +952,7 @@ namespace Framework.Constants
// Db Scripting Commands
public enum ScriptCommands
{
Talk = 0, // Source/Target = Creature, Target = Any, Datalong = Talk Type (0=Say, 1=Whisper, 2=Yell, 3=Emote Text, 4=Boss Emote Text), Datalong2 & 1 = Player Talk (Instead Of Creature), Dataint = StringId
Talk = 0, // Source/Target = Creature, Target = Any, Datalong = Talk Type (see ChatType enum), datalong2 & 1 = player talk (instead of creature), dataint = string_id
Emote = 1, // Source/Target = Creature, Datalong = Emote Id, Datalong2 = 0: Set Emote State; > 0: Play Emote State
FieldSetDeprecated = 2,
MoveTo = 3, // Source/Target = Creature, Datalong2 = Time To Reach, X/Y/Z = Destination
@@ -1111,6 +1111,7 @@ namespace Framework.Constants
ChatYellLevelReq,
CheckGobjectLos,
CleanCharacterDb,
CleanOldMailTime,
ClientCacheVersion,
Compression,
CorpseDecayElite,