1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-14 09:08:32 -05:00

implement dynamic command registration through game interface

This commit is contained in:
RaidMax
2023-06-03 22:46:15 -05:00
parent dfcf6e958c
commit cc67438b9a
5 changed files with 166 additions and 29 deletions

View File

@ -76,6 +76,11 @@ public class ScriptPluginHelper
});
}
public void RegisterDynamicCommand(JsValue command)
{
_scriptPlugin.RegisterDynamicCommand(command.ToObject());
}
private object RequestInternal(ScriptPluginWebRequest request)
{
var entered = false;