TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ QuickBuff_FindFoodPriority()

int Terraria.Player.QuickBuff_FindFoodPriority ( int buffType)
inlineprivate

Definition at line 6245 of file Player.cs.

6246 {
6247 return buffType switch
6248 {
6249 26 => 1,
6250 206 => 2,
6251 207 => 3,
6252 _ => 0,
6253 };
6254 }
int[] buffType
The T:Terraria.ID.BuffIDs of all buffs this player has active. A value of 0 means that buff slot is...
Definition Player.cs:1684

References Terraria.Player.buffType.

Referenced by Terraria.Player.QuickBuff_PickBestFoodItem().

+ Here is the caller graph for this function: