mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
Merge branch 'master' of github.com:EggLinks/DanhengServer
This commit is contained in:
@@ -26,4 +26,14 @@ public class CommandReload : ICommand
|
||||
await arg.SendMsg(I18NManager.Translate("Game.Command.Reload.ConfigReloaded",
|
||||
I18NManager.Translate("Word.Activity")));
|
||||
}
|
||||
|
||||
[CommandMethod("0 videokey")]
|
||||
public async ValueTask ReloadVideoKey(CommandArg arg)
|
||||
{
|
||||
// Reload the videokeys
|
||||
GameData.VideoKeysConfig = ResourceManager.LoadCustomFile<VideoKeysConfig>("VideoKeys", "VideoKeysConfig") ??
|
||||
new VideoKeysConfig();
|
||||
await arg.SendMsg(I18NManager.Translate("Game.Command.Reload.ConfigReloaded",
|
||||
I18NManager.Translate("Word.VideoKeys")));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user