20 public const string fName =
"SettingsCompatibilityScreen";
23 XElement node =
ContentManager.
Get<XElement>(
"Screens/SettingsCompatibilityScreen");
37 m_fileAssociationEnabledButton.IsEnabled =
false;
40 m_shareGameLogButtonPanel.IsVisible =
true;
45 public override void Enter(
object[] parameters) {
83 Task.Run(async () => {
static void Dispatch(Action action, bool waitUntilCompleted=false)
static void OpenFileWithExternalApplication(string path, string chooserTitle=null, string mimeType=null)
static bool FileExists(string path)
static string CombinePaths(params string[] paths)
static async Task ShareFile(string path, string chooserTitle=null, string mimeType=null)
static object Get(Type type, string name)
static void ShowDialog(ContainerWidget parentWidget, Dialog dialog)
static string GetContentWidgets(string name, string prop)
static string Get(string className, int key)
获取在当前语言类名键对应的字符串
static void GoBack(params object[] parameters)
static void SwitchScreen(string name, params object[] parameters)
SettingsCompatibilityScreen()
LabelWidget m_descriptionLabel
ButtonWidget m_fileAssociationEnabledButton
ButtonWidget m_safeModeButton
ButtonWidget m_shareGameLogButton
override void Enter(object[] parameters)
ButtonWidget m_manageClassSubstitutesButton
ButtonWidget m_reportButton
ButtonWidget m_openGameLogButton
ContainerWidget m_shareGameLogButtonPanel
ButtonWidget m_resetDefaultsButton
ButtonWidget m_viewGameLogButton
static bool FileAssociationEnabled
static bool MultithreadedTerrainUpdate
static void LaunchBrowser(string url)