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_OnClick()

void Terraria.GameContent.Creative.CreativePowers.ASharedTogglePower.button_OnClick ( UIMouseEvent evt,
UIElement listeningElement )
inlineprivateinherited

Definition at line 918 of file CreativePowers.cs.

919 {
920 if (!true)
921 {
922 }
923 int myPlayer = Main.myPlayer;
924 bool flag = CreativePowersHelper.IsAvailableForPlayer(this, myPlayer);
925 this.RequestUse();
926 }

References Terraria.GameContent.Creative.CreativePowersHelper.IsAvailableForPlayer(), Terraria.Main.myPlayer, and Terraria.GameContent.Creative.CreativePowers.ASharedTogglePower.RequestUse().