public static void RegisterWindow(string filePath, int showMode, int openAction, int backgroundMode) { GameUI.AddWindowInfo(filePath, (ui.ShowMode)showMode, (ui.OpenAction)openAction, (ui.BackgroundMode)backgroundMode); }