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

◆ UpdateBuffNavigation()

void GUIBuffs.UpdateBuffNavigation ( )
inline

Definition at line 74 of file GUIBuffs.cs.

75 {
76 int num = this.numActiveBuffs;
77 int num2 = this.numActiveBuffs;
78 if (this.buffActive && this.numActiveBuffs != 0)
79 {
80 bool flag = this.CanRemoveBuff();
81 return;
82 }
83 int num3 = this.numActiveBuffs;
85 if (!this.buffTogglePressed)
86 {
87 this.NextItem();
88 return;
89 }
90 if (this.buffActive)
91 {
93 int num4 = this.numActiveBuffs;
94 int[] array = this.activeBuffs;
95 return;
96 }
97 int num5 = 1;
98 this.buffActive = num5 != 0;
101 if (num5 == 0)
102 {
103 }
108 }
class f__AnonymousType0<< Count > j__TPar
bool CanRemoveBuff()
Definition GUIBuffs.cs:111
int[] activeBuffs
Definition GUIBuffs.cs:229
GUIControllerBuff buffController
Definition GUIBuffs.cs:238
bool buffTogglePressed
Definition GUIBuffs.cs:232
void NextItem()
Definition GUIBuffs.cs:48
int numActiveBuffs
Definition GUIBuffs.cs:226
bool buffActive
Definition GUIBuffs.cs:235
static float UITextAlpha
static DateTime Now
Definition DateTime.cs:530

References GUIControllerBuff.Activate(), activeBuffs, System.array, buffActive, buffController, buffTogglePressed, CanRemoveBuff(), j__TPar, NextItem(), System.DateTime.Now, numActiveBuffs, XNAUIInputLayer.UITextAlpha, and Microsoft.Xna.Framework.Input.Mouse.UpdateUICursorPoint().

Referenced by Draw().