1using Microsoft.Xna.Framework;
76 public virtual bool IsVanitySet(
int head,
int body,
int legs) {
121 public virtual void SetMatch(
bool male, ref
int equipSlot, ref
bool robes) {
132 public virtual void DrawHands(ref
bool drawHands, ref
bool drawArms) {
143 public virtual void DrawHair(ref
bool drawHair, ref
bool drawAltHair) {
181 public virtual void DrawArmorColor(Player drawPlayer,
float shadow, ref Color color, ref
int glowMask, ref Color glowMaskColor) {
194 public virtual void ArmorArmGlowMask(Player drawPlayer,
float shadow, ref
int glowMask, ref Color color) {
209 public virtual void VerticalWingSpeeds(Player player, ref
float ascentWhenFalling, ref
float ascentWhenRising,
210 ref
float maxCanAscendMultiplier, ref
float maxAscentMultiplier, ref
float constantAscend) {
213 ref maxAscentMultiplier, ref constantAscend);
This serves as a place for you to program behaviors of equipment textures. This is useful for equipme...
virtual void HorizontalWingSpeeds(Player player, ref float speed, ref float acceleration)
Allows you to modify horizontal wing speeds.
virtual bool DrawHead()
Return false to hide the player's head when this head equipment texture is worn. By default this will...
Mod mod
The mod that added this equipment texture.
int Slot
The slot (internal ID) of this equipment texture.
string Texture
The name and folders of the texture file used by this equipment texture.
virtual void ArmorArmGlowMask(Player drawPlayer, float shadow, ref int glowMask, ref Color color)
Allows you to modify which glow mask and in what color is drawn on the player's arms....
virtual void ArmorSetShadows(Player player)
Allows you to determine special visual effects this vanity set has on the player without having to co...
virtual bool DrawBody()
Return false to hide the player's body when this body equipment texture is worn. By default this will...
virtual void DrawHair(ref bool drawHair, ref bool drawAltHair)
Allows you to determine whether the player's hair or alt (hat) hair draws when this head equipment te...
virtual void PreUpdateVanitySet(Player player)
Allows you to create special effects (such as the necro armor's hurt noise) when the player wears thi...
virtual void VerticalWingSpeeds(Player player, ref float ascentWhenFalling, ref float ascentWhenRising, ref float maxCanAscendMultiplier, ref float maxAscentMultiplier, ref float constantAscend)
Allows you to modify vertical wing speeds.
virtual bool DrawLegs()
Return false to hide the player's legs when this leg or shoe equipment texture is worn....
virtual void UpdateVanitySet(Player player)
Allows you to create special effects (such as dust) when the player wears this equipment texture's va...
virtual bool WingUpdate(Player player, bool inUse)
Allows for wing textures to do various things while in use. "inUse" is whether or not the jump button...
ModItem item
The item that is associated with this equipment texture. Null if no item is associated with this.
virtual void SetMatch(bool male, ref int equipSlot, ref bool robes)
Allows you to modify the equipment that the player appears to be wearing. This hook will only be call...
virtual bool IsVanitySet(int head, int body, int legs)
Returns whether or not the head armor, body armor, and leg armor textures make up a set....
virtual void DrawHands(ref bool drawHands, ref bool drawArms)
Allows you to determine whether the skin/shirt on the player's arms and hands are drawn when this bod...
string Name
The internal name of this equipment texture.
virtual void DrawArmorColor(Player drawPlayer, float shadow, ref Color color, ref int glowMask, ref Color glowMaskColor)
Allows you to modify the colors in which this armor texture and surrounding accessories are drawn,...
EquipType Type
The type of equipment that this equipment texture is used as.
virtual void UpdateVanity(Player player, EquipType type)
Allows you to create special effects (such as dust) when this equipment texture is displayed on the p...
Mod is an abstract class that you will override. It serves as a central place from which the mod's co...
This class serves as a place for you to place all your properties and hooks for each item....
virtual void SetMatch(bool male, ref int equipSlot, ref bool robes)
Allows you to modify the equipment that the player appears to be wearing. This hook will only be call...
virtual bool DrawBody()
Return false to hide the player's body when this body armor is worn. Returns true by default....
virtual void HorizontalWingSpeeds(Player player, ref float speed, ref float acceleration)
Allows you to modify these wing's horizontal flight speed and acceleration.
virtual void DrawHands(ref bool drawHands, ref bool drawArms)
Allows you to determine whether the skin/shirt on the player's arms and hands are drawn when this bod...
virtual void VerticalWingSpeeds(Player player, ref float ascentWhenFalling, ref float ascentWhenRising, ref float maxCanAscendMultiplier, ref float maxAscentMultiplier, ref float constantAscend)
Allows you to modify the speeds at which you rise and fall when these wings are equipped.
virtual bool DrawHead()
Return false to hide the player's head when this head armor is worn. Returns true by default....
virtual bool DrawLegs()
Return false to hide the player's legs when this leg armor or shoe accessory is worn....
virtual void UpdateVanitySet(Player player)
Allows you to create special effects (such as dust) when the player wears this item's vanity set....
virtual bool IsVanitySet(int head, int body, int legs)
Returns whether or not the head armor, body armor, and leg armor textures make up a set....
virtual void DrawHair(ref bool drawHair, ref bool drawAltHair)
Allows you to determine whether the player's hair or alt (hat) hair draws when this head armor is wor...
virtual void UpdateVanity(Player player, EquipType type)
Allows you to create special effects (such as dust) when this item's equipment texture of the given e...
virtual void ArmorArmGlowMask(Player drawPlayer, float shadow, ref int glowMask, ref Color color)
Allows you to modify which glow mask and in what color is drawn on the player's arms....
virtual bool WingUpdate(Player player, bool inUse)
Allows for Wings to do various things while in use. "inUse" is whether or not the jump button is curr...
virtual void DrawArmorColor(Player drawPlayer, float shadow, ref Color color, ref int glowMask, ref Color glowMaskColor)
Allows you to modify the colors in which this armor and surrounding accessories are drawn,...
virtual void ArmorSetShadows(Player player)
Allows you to determine special visual effects this vanity set has on the player without having to co...
virtual void PreUpdateVanitySet(Player player)
Allows you to create special effects (such as the necro armor's hurt noise) when the player wears thi...
EquipType
This is an enum of all the types of equipment that exist. An equipment type is defined as a type or l...