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

◆ UpdateHungerBuffs()

void Terraria.Player.UpdateHungerBuffs ( )
inline

Definition at line 3988 of file Player.cs.

3989 {
3990 if (!true)
3991 {
3992 }
3993 int[] array = this.buffType;
3994 int[] array2 = this.buffTime;
3995 int whoAmI = this.whoAmI;
3996 if (array == null)
3997 {
3998 }
3999 int myPlayer = Main.myPlayer;
4000 if (array == null)
4001 {
4002 }
4003 if (array2 != null)
4004 {
4005 if (array2 == null)
4006 {
4007 }
4008 return;
4009 }
4010 int num = 18000;
4011 int num2 = 333;
4012 int num3 = 1;
4013 long num4 = 0L;
4014 this.AddBuff(num2, num, num3 != 0, num4 != 0L);
4016 int[] array3 = this.buffTime;
4017 }
class f__AnonymousType0<< Count > j__TPar
static void MakeLocalPlayerEmote(int emoteId)
void AddBuff(int type, int timeToAdd, bool quiet=true, bool foodHack=false)
Definition Player.cs:2280

References Terraria.Player.AddBuff(), System.array, Terraria.Player.buffTime, Terraria.Player.buffType, j__TPar, System.L, Terraria.GameContent.UI.EmoteBubble.MakeLocalPlayerEmote(), Terraria.Main.myPlayer, and Terraria.Entity.whoAmI.