tModLoader v2023.01
A mod to make and play Terraria mods
|
Wrapper class for a LocalizedText and visibility field that has intended use with modification of Game Tips. More...
Public Member Functions | |
GameTipData (LocalizedText text, Mod mod) | |
void | Hide () |
Until reload, prevents this tip from ever appearing during loading screens. | |
Properties | |
string | FullName [get, set] |
Retrieves the FULL "name" of this GameTip, which includes the Mod and this tip's Name. For example, if this tip was from ExampleMod and was named "ExampleTip", this would return "ExampleMod/ExampleTip" | |
Mod | Mod [get, set] |
The mod instance this tip belongs to. This value is null for vanilla tips. | |
string | Name [get, set] |
Retrieves the "name" of this GameTip, which is the Key excluding the beginning Mods.ModName.GameTips portion. For example, if the key was "Mods.ExampleMod.GameTips.ExampleTip", this would return "ExampleTip". | |
LocalizedText | TipText [get, set] |
Wrapper class for a LocalizedText and visibility field that has intended use with modification of Game Tips.