terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ button_OnUpdate()

void Terraria.GameContent.Creative.CreativePowers.APerPlayerTogglePower.button_OnUpdate ( UIElement affectedElement)
inlineprivateinherited

Definition at line 202 of file CreativePowers.cs.

203 {
204 int num = 1;
206 if (num == 0)
207 {
208 }
209 int myPlayer = Main.myPlayer;
210 if (affectedElement.<IsMouseHovering>k__BackingField)
211 {
212 string powerNameKey = this._powerNameKey;
213 string text;
215 string text2 = this._powerNameKey + "_Description";
216 string powerNameKey2 = this._powerNameKey;
217 string text3 = powerNameKey2 + "_Unlock";
218 CreativePowersHelper.AddPermissionTextIfNeeded(this, "_Unlock");
219 if (powerNameKey2 == null)
220 {
221 }
222 }
223 }
class f__AnonymousType0<< Count > j__TPar
static string GetTextValue(string key)
Definition Language.cs:54

References Terraria.GameContent.Creative.CreativePowers.APerPlayerTogglePower._perPlayerIsEnabled, Terraria.GameContent.Creative.CreativePowers.APerPlayerTogglePower._powerNameKey, Terraria.GameContent.Creative.CreativePowersHelper.AddPermissionTextIfNeeded(), Terraria.Localization.Language.GetTextValue(), j__TPar, Terraria.GameContent.Creative.CreativePowers.APerPlayerTogglePower.k__BackingField, Terraria.Main.myPlayer, and System.text.