Definition at line 410 of file UIModSources.cs.
411 {
412 if (!ModLoader.SeenFirstLaunchModderWelcomeMessage)
413 {
414 ShowWelcomeMessage(
"tModLoader.ViewOnGitHub",
"https://github.com/tModLoader/tModLoader/wiki/Update-Migration-Guide");
415 ModLoader.SeenFirstLaunchModderWelcomeMessage = true;
416 Main.SaveSettings();
417 return true;
418 }
420 {
422 {
424 }
425 else
426 {
427 ShowWelcomeMessage(
"tModLoader.DownloadNetSDK",
"https://github.com/tModLoader/tModLoader/wiki/tModLoader-guide-for-developers#developing-with-tmodloader", 888,
PreviousUIState);
428 }
429 return true;
430 }
431 return false;
432 }
static string GetTextValue(string key)
Retrieves the text value for a specified localization key. The text returned will be for the currentl...
Contains methods to access or retrieve localization values. The Localization Guideteaches more about ...
void ShowWelcomeMessage(string altButtonTextKey, string url, int gotoMenu=10001, UIState state=null)
static bool IsCompatibleDotnetSdkAvailable()
static bool IsRunningInSandbox()
References Terraria.Localization.Language.GetTextValue(), Terraria.ModLoader.UI.UIModSources.IsCompatibleDotnetSdkAvailable(), Terraria.ModLoader.UI.UIModSources.IsRunningInSandbox(), Terraria.ModLoader.UI.UIModSources.PreviousUIState, Terraria.Main.SaveSettings(), Terraria.ModLoader.ModLoader.SeenFirstLaunchModderWelcomeMessage, Terraria.Utils.ShowFancyErrorMessage(), and Terraria.ModLoader.UI.UIModSources.ShowWelcomeMessage().
Referenced by Terraria.ModLoader.UI.UIModSources.OnActivate().