added a way to create console commands
This commit is contained in:
@@ -73,6 +73,8 @@ namespace Barotrauma
|
||||
{
|
||||
GameMain.Server.StartGame();
|
||||
}
|
||||
|
||||
public void AssignOnClientRequestExecute(string names, object onExecute) => DebugConsole.AssignOnClientRequestExecute(names, (Client a, Vector2 b, string[] c) => { env.CallFunction(onExecute, new object[] { a, b, c }); });
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user