Definition at line 55041 of file Player.cs.
55042 {
55043
55044
55045
55046
55047
55048
55049
55050
55051
55052
55053
55054
55055
55056
55057
55058
55059
55060
55082 for (int i = 0; i < 59; i++)
55083 {
55085 if (i <
armor.Length)
55086 {
55088 }
55089 if (i <
dye.Length)
55090 {
55092 }
55094 {
55096 }
55098 {
55100 }
55102 {
55104 }
55105 }
55106 }
Vector2 velocity
The velocity of this Entity in world coordinates per tick.
Vector2 position
The position of this Entity in world coordinates.
int statLifeMax2
The maximum health this player can have, adjusted by buffs and equipment.
int statManaMax2
The maximum mana this player can have, adjusted by buffs and equipment.
int statManaMax
The maximum mana this player can have without adjustment. You should not modify this value....
Item[] armor
The player's armor and accessories. Indexes 0-2 hold head, chest, and legs armor while 10-12 hold the...
int statLife
The current health of this player. Capped at F:Terraria.Player.statLifeMax2. If you increase this v...
Item[] miscEquips
The player's equipment items. From indexes 0-4: Pet, Light Pet, Minecart, Mount, and Hook.
bool[] hideVisibleAccessory
int statLifeMax
The maximum health this player can have without adjustment. You should not modify this value....
int statMana
The current mana of this player. Capped at F:Terraria.Player.statManaMax2. If you increase this val...
Item[] inventory
The player's normal inventory. Indexes 0-9 hold the hotbar items, 10-49 the rest of the main inventor...
References Terraria.Player.armor, Terraria.Entity.direction, Terraria.Player.dye, Terraria.Player.extraAccessory, Terraria.Player.eyeColor, Terraria.Player.hair, Terraria.Player.hairColor, Terraria.Player.hideMisc, Terraria.Player.hideVisibleAccessory, Terraria.Player.inventory, Terraria.Player.miscDyes, Terraria.Player.miscEquips, Terraria.Player.pantsColor, Terraria.Entity.position, Terraria.Player.selectedItem, Terraria.Player.shirtColor, Terraria.Player.shoeColor, Terraria.Player.skinColor, Terraria.Player.skinVariant, Terraria.Player.statLife, Terraria.Player.statLifeMax, Terraria.Player.statLifeMax2, Terraria.Player.statMana, Terraria.Player.statManaMax, Terraria.Player.statManaMax2, Terraria.Player.underShirtColor, and Terraria.Entity.velocity.
Referenced by Terraria.GameContent.Animations.Segments.PlayerSegment.ResetPlayerAnimation().