TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ ShowWelcomeMessage()

void Terraria.ModLoader.UI.UIModSources.ShowWelcomeMessage ( string altButtonTextKey,
string url,
int gotoMenu = 10001,
UIState state = null )
inlineprivate

Definition at line 434 of file UIModSources.cs.

435 {
436 Interface.infoMessage.Show(Language.GetTextValue("tModLoader.MSFirstLaunchModderWelcomeMessage"), gotoMenu, state, Language.GetTextValue(altButtonTextKey), delegate
437 {
438 Utils.OpenToURL(url);
439 });
440 }
static string GetTextValue(string key)
Retrieves the text value for a specified localization key. The text returned will be for the currentl...
Definition Language.cs:35
Contains methods to access or retrieve localization values. The Localization Guideteaches more about ...
Definition Language.cs:12

References Terraria.Localization.Language.GetTextValue(), and Terraria.ModLoader.UI.Interface.infoMessage.

Referenced by Terraria.ModLoader.UI.UIModSources.ShowInfoMessages().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: