/// <summary> /// Called when the game started and all objects are ready (e.g. GameManager.Instance.World) /// </summary> public override void GameStartDone() { try { Log.Debug("Api.GameStartDone called."); Log.Out("Initializing phase 3/3 ..."); EacTools.Init(); CommandTools.InitEvents(); RepairEngine.InitAuto(); TelemetryTools.Init(); Log.Out($"Done initializing {Constants.ModName}."); CommandTools.InvokeScriptEvents(ScriptEvent.gameStartDone, () => new ScriptEventArgs()); } catch (Exception ex) { CommandTools.HandleEventException(ex); } }