Property | Type | Description | |
---|---|---|---|
AnimatedItemFrame | |||
DrawAnimatedItem | void | ||
GeneralPrefix | bool | ||
GetItemInfo | |||
IsModItem | bool | ||
ItemLoader | System | ||
MagicPrefix | bool | ||
MeleePrefix | bool | ||
RangedPrefix | bool | ||
ReadNetGlobalOrder | void | ||
ReserveItemID | int | ||
ResizeArrays | void | ||
SetupItem | void | ||
SetupItemInfo | void | ||
Unload | void | ||
WeaponPrefix | bool | ||
WriteNetGlobalOrder | void |
Method | Description | |
---|---|---|
AltFunctionUse ( Item item, |
||
AnglerChat ( bool turningInFish, bool anglerQuestFinished, int type, string &chat, string &catchLocation ) : void | ||
ArmorArmGlowMask ( int slot, |
||
ArmorSetShadows ( |
||
AutoLightSelect ( Item item, bool &dryTorch, bool &wetTorch, bool &glowstick ) : void | ||
CanEquipAccessory ( Item item, int slot ) : bool | ||
CanHitNPC ( Item item, |
||
CanHitPvp ( Item item, |
||
CanRightClick ( Item item ) : bool | ||
CanUseItem ( Item item, |
||
CaughtFishStack ( Item item ) : void | ||
CheckProjOnSwing ( |
||
ConsumeAmmo ( Item item, Item ammo, |
||
ConsumeItem ( Item item, |
||
DrawArmorColor ( EquipType type, int slot, |
||
DrawBody ( |
||
DrawHair ( |
||
DrawHands ( |
||
DrawHead ( |
||
DrawLegs ( |
||
ExtractinatorUse ( int &resultType, int &resultStack, int extractType ) : void | ||
GetAlpha ( Item item, Color lightColor ) : Color? | ||
GetItem ( int type ) : |
||
GetWeaponDamage ( Item item, |
||
GetWeaponKnockback ( Item item, |
||
GetWing ( |
||
GrabRange ( Item item, Player player, int &grabRange ) : void | ||
GrabStyle ( Item item, Player player ) : bool | ||
HoldItem ( Item item, Player player ) : void | ||
HoldItemFrame ( Item item, Player player ) : bool | ||
HoldStyle ( Item item, Player player ) : void | ||
HoldoutOffset ( float gravDir, int type, Vector2 &offset ) : void | ||
HoldoutOrigin ( Player player, Vector2 &origin ) : void | ||
HorizontalWingSpeeds ( Player player ) : void | ||
IsAnglerQuestAvailable ( int itemID, bool ¬Available ) : void | ||
IsModBossBag ( Item item ) : bool | ||
MeleeEffects ( Item item, Player player, Rectangle hitbox ) : void | ||
ModifyHitNPC ( Item item, Player player, NPC target, int &damage, float &knockBack, bool &crit ) : void | ||
ModifyHitPvp ( Item item, Player player, Player target, int &damage, bool &crit ) : void | ||
ModifyTooltips ( Item item, int &numTooltips, string names, string &text, bool &modifier, bool &badModifier, int &oneDropLogo, Color &overrideColor ) : void | ||
NeedsModSaving ( Item item ) : bool | ||
OnCraft ( Item item, Recipe recipe ) : void | ||
OnHitNPC ( Item item, Player player, NPC target, int damage, float knockBack, bool crit ) : void | ||
OnHitPvp ( Item item, Player player, Player target, int damage, bool crit ) : void | ||
OnPickup ( Item item, Player player ) : bool | ||
OpenBossBag ( int type, Player player, int &npc ) : void | ||
OpenVanillaBag ( string context, Player player, int arg ) : void | ||
PostDrawInInventory ( Item item, SpriteBatch spriteBatch, Vector2 position, Rectangle frame, Color drawColor, Color itemColor, Vector2 origin, float scale ) : void | ||
PostDrawInWorld ( Item item, SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI ) : void | ||
PostReforge ( Item item ) : void | ||
PostUpdate ( Item item ) : void | ||
PreDrawInInventory ( Item item, SpriteBatch spriteBatch, Vector2 position, Rectangle frame, Color drawColor, Color itemColor, Vector2 origin, float scale ) : bool | ||
PreDrawInWorld ( Item item, SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float &rotation, float &scale, int whoAmI ) : bool | ||
PreOpenVanillaBag ( string context, Player player, int arg ) : bool | ||
PreReforge ( Item item ) : void | ||
PreUpdateVanitySet ( Player player ) : void | ||
RightClick ( Item item, Player player ) : void | ||
SetMatch ( int armorSlot, int type, bool male, int &equipSlot, bool &robes ) : void | ||
Shoot ( Item item, Player player, Vector2 &position, float &speedX, float &speedY, int &type, int &damage, float &knockBack ) : bool | ||
Update ( Item item, float &gravity, float &maxFallSpeed ) : void | ||
UpdateAccessory ( Item item, Player player, bool hideVisual ) : void | ||
UpdateArmorSet ( Player player, Item head, Item body, Item legs ) : void | ||
UpdateEquip ( Item item, Player player ) : void | ||
UpdateInventory ( Item item, Player player ) : void | ||
UpdateVanity ( Player player ) : void | ||
UpdateVanitySet ( Player player ) : void | ||
UseItem ( Item item, Player player ) : bool | ||
UseItemFrame ( Item item, Player player ) : bool | ||
UseItemHitbox ( Item item, Player player, Rectangle &hitbox, bool &noHitbox ) : void | ||
UseStyle ( Item item, Player player ) : void | ||
VerticalWingSpeeds ( Player player, float &ascentWhenFalling, float &ascentWhenRising, float &maxCanAscendMultiplier, float &maxAscentMultiplier, float &constantAscend ) : void | ||
WingUpdate ( Player player, bool inUse ) : void |
Method | Description | |
---|---|---|
AnimatedItemFrame ( Item item ) : |
||
DrawAnimatedItem ( Item item, int whoAmI, Color color, Color alpha, float rotation, float scale ) : void | ||
GeneralPrefix ( Item item ) : bool | ||
GetItemInfo ( Item item, Mod mod, string name ) : |
||
IsModItem ( Item item ) : bool | ||
ItemLoader ( ) : System | ||
MagicPrefix ( Item item ) : bool | ||
MeleePrefix ( Item item ) : bool | ||
RangedPrefix ( Item item ) : bool | ||
ReadNetGlobalOrder ( BinaryReader r ) : void | ||
ReserveItemID ( ) : int | ||
ResizeArrays ( ) : void | ||
SetupItem ( Item item ) : void | ||
SetupItemInfo ( Item item ) : void | ||
Unload ( ) : void | ||
WeaponPrefix ( Item item ) : bool | ||
WriteNetGlobalOrder ( BinaryWriter w ) : void |
public static AltFunctionUse ( Item item, |
||
item | Item | |
player | ||
return | bool |
public static AnglerChat ( bool turningInFish, bool anglerQuestFinished, int type, string &chat, string &catchLocation ) : void | ||
turningInFish | bool | |
anglerQuestFinished | bool | |
type | int | |
chat | string | |
catchLocation | string | |
return | void |
public static ArmorArmGlowMask ( int slot, |
||
slot | int | |
drawPlayer | ||
shadow | float | |
glowMask | int | |
color | Color | |
return | void |
public static ArmorSetShadows ( |
||
player | ||
return | void |
public static AutoLightSelect ( Item item, bool &dryTorch, bool &wetTorch, bool &glowstick ) : void | ||
item | Item | |
dryTorch | bool | |
wetTorch | bool | |
glowstick | bool | |
return | void |
public static CanEquipAccessory ( Item item, int slot ) : bool | ||
item | Item | |
slot | int | |
return | bool |
public static CanHitNPC ( Item item, |
||
item | Item | |
player | ||
target | Terraria.NPC | |
return | bool? |
public static CanHitPvp ( Item item, |
||
item | Item | |
player | ||
target | ||
return | bool |
public static CanRightClick ( Item item ) : bool | ||
item | Item | |
return | bool |
public static CanUseItem ( Item item, |
||
item | Item | |
player | ||
return | bool |
public static CaughtFishStack ( Item item ) : void | ||
item | Item | |
return | void |
public static CheckProjOnSwing ( |
||
player | ||
item | Item | |
return | bool |
public static ConsumeAmmo ( Item item, Item ammo, |
||
item | Item | |
ammo | Item | |
player | ||
return | bool |
public static ConsumeItem ( Item item, |
||
item | Item | |
player | ||
return | bool |
public static DrawArmorColor ( EquipType type, int slot, |
||
type | EquipType | |
slot | int | |
drawPlayer | ||
shadow | float | |
color | Color | |
glowMask | int | |
glowMaskColor | Color | |
return | void |
public static DrawBody ( |
||
player | ||
return | bool |
public static DrawHair ( |
||
player | ||
drawHair | bool | |
drawAltHair | bool | |
return | void |
public static DrawHands ( |
||
player | ||
drawHands | bool | |
drawArms | bool | |
return | void |
public static DrawHead ( |
||
player | ||
return | bool |
public static DrawLegs ( |
||
player | ||
return | bool |
public static ExtractinatorUse ( int &resultType, int &resultStack, int extractType ) : void | ||
resultType | int | |
resultStack | int | |
extractType | int | |
return | void |
public static GetAlpha ( Item item, Color lightColor ) : Color? | ||
item | Item | |
lightColor | Color | |
return | Color? |
public static GetWeaponDamage ( Item item, |
||
item | Item | |
player | ||
damage | int | |
return | void |
public static GetWeaponKnockback ( Item item, |
||
item | Item | |
player | ||
knockback | float | |
return | void |
public static GetWing ( |
||
player | ||
return | Item |
public static GrabRange ( Item item, Player player, int &grabRange ) : void | ||
item | Item | |
player | Player | |
grabRange | int | |
return | void |
public static GrabStyle ( Item item, Player player ) : bool | ||
item | Item | |
player | Player | |
return | bool |
public static HoldItem ( Item item, Player player ) : void | ||
item | Item | |
player | Player | |
return | void |
public static HoldItemFrame ( Item item, Player player ) : bool | ||
item | Item | |
player | Player | |
return | bool |
public static HoldStyle ( Item item, Player player ) : void | ||
item | Item | |
player | Player | |
return | void |
public static HoldoutOffset ( float gravDir, int type, Vector2 &offset ) : void | ||
gravDir | float | |
type | int | |
offset | Vector2 | |
return | void |
public static HoldoutOrigin ( Player player, Vector2 &origin ) : void | ||
player | Player | |
origin | Vector2 | |
return | void |
public static HorizontalWingSpeeds ( Player player ) : void | ||
player | Player | |
return | void |
public static IsAnglerQuestAvailable ( int itemID, bool ¬Available ) : void | ||
itemID | int | |
notAvailable | bool | |
return | void |
public static IsModBossBag ( Item item ) : bool | ||
item | Item | |
return | bool |
public static MeleeEffects ( Item item, Player player, Rectangle hitbox ) : void | ||
item | Item | |
player | Player | |
hitbox | Rectangle | |
return | void |
public static ModifyHitNPC ( Item item, Player player, NPC target, int &damage, float &knockBack, bool &crit ) : void | ||
item | Item | |
player | Player | |
target | NPC | |
damage | int | |
knockBack | float | |
crit | bool | |
return | void |
public static ModifyHitPvp ( Item item, Player player, Player target, int &damage, bool &crit ) : void | ||
item | Item | |
player | Player | |
target | Player | |
damage | int | |
crit | bool | |
return | void |
public static ModifyTooltips ( Item item, int &numTooltips, string names, string &text, bool &modifier, bool &badModifier, int &oneDropLogo, Color &overrideColor ) : void | ||
item | Item | |
numTooltips | int | |
names | string | |
text | string | |
modifier | bool | |
badModifier | bool | |
oneDropLogo | int | |
overrideColor | Color | |
return | void |
public static NeedsModSaving ( Item item ) : bool | ||
item | Item | |
return | bool |
public static OnCraft ( Item item, Recipe recipe ) : void | ||
item | Item | |
recipe | Recipe | |
return | void |
public static OnHitNPC ( Item item, Player player, NPC target, int damage, float knockBack, bool crit ) : void | ||
item | Item | |
player | Player | |
target | NPC | |
damage | int | |
knockBack | float | |
crit | bool | |
return | void |
public static OnHitPvp ( Item item, Player player, Player target, int damage, bool crit ) : void | ||
item | Item | |
player | Player | |
target | Player | |
damage | int | |
crit | bool | |
return | void |
public static OnPickup ( Item item, Player player ) : bool | ||
item | Item | |
player | Player | |
return | bool |
public static OpenBossBag ( int type, Player player, int &npc ) : void | ||
type | int | |
player | Player | |
npc | int | |
return | void |
public static OpenVanillaBag ( string context, Player player, int arg ) : void | ||
context | string | |
player | Player | |
arg | int | |
return | void |
public static PostDrawInInventory ( Item item, SpriteBatch spriteBatch, Vector2 position, Rectangle frame, Color drawColor, Color itemColor, Vector2 origin, float scale ) : void | ||
item | Item | |
spriteBatch | SpriteBatch | |
position | Vector2 | |
frame | Rectangle | |
drawColor | Color | |
itemColor | Color | |
origin | Vector2 | |
scale | float | |
return | void |
public static PostDrawInWorld ( Item item, SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI ) : void | ||
item | Item | |
spriteBatch | SpriteBatch | |
lightColor | Color | |
alphaColor | Color | |
rotation | float | |
scale | float | |
whoAmI | int | |
return | void |
public static PostReforge ( Item item ) : void | ||
item | Item | |
return | void |
public static PostUpdate ( Item item ) : void | ||
item | Item | |
return | void |
public static PreDrawInInventory ( Item item, SpriteBatch spriteBatch, Vector2 position, Rectangle frame, Color drawColor, Color itemColor, Vector2 origin, float scale ) : bool | ||
item | Item | |
spriteBatch | SpriteBatch | |
position | Vector2 | |
frame | Rectangle | |
drawColor | Color | |
itemColor | Color | |
origin | Vector2 | |
scale | float | |
return | bool |
public static PreDrawInWorld ( Item item, SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float &rotation, float &scale, int whoAmI ) : bool | ||
item | Item | |
spriteBatch | SpriteBatch | |
lightColor | Color | |
alphaColor | Color | |
rotation | float | |
scale | float | |
whoAmI | int | |
return | bool |
public static PreOpenVanillaBag ( string context, Player player, int arg ) : bool | ||
context | string | |
player | Player | |
arg | int | |
return | bool |
public static PreReforge ( Item item ) : void | ||
item | Item | |
return | void |
public static PreUpdateVanitySet ( Player player ) : void | ||
player | Player | |
return | void |
public static RightClick ( Item item, Player player ) : void | ||
item | Item | |
player | Player | |
return | void |
public static SetMatch ( int armorSlot, int type, bool male, int &equipSlot, bool &robes ) : void | ||
armorSlot | int | |
type | int | |
male | bool | |
equipSlot | int | |
robes | bool | |
return | void |
public static Shoot ( Item item, Player player, Vector2 &position, float &speedX, float &speedY, int &type, int &damage, float &knockBack ) : bool | ||
item | Item | |
player | Player | |
position | Vector2 | |
speedX | float | |
speedY | float | |
type | int | |
damage | int | |
knockBack | float | |
return | bool |
public static Update ( Item item, float &gravity, float &maxFallSpeed ) : void | ||
item | Item | |
gravity | float | |
maxFallSpeed | float | |
return | void |
public static UpdateAccessory ( Item item, Player player, bool hideVisual ) : void | ||
item | Item | |
player | Player | |
hideVisual | bool | |
return | void |
public static UpdateArmorSet ( Player player, Item head, Item body, Item legs ) : void | ||
player | Player | |
head | Item | |
body | Item | |
legs | Item | |
return | void |
public static UpdateEquip ( Item item, Player player ) : void | ||
item | Item | |
player | Player | |
return | void |
public static UpdateInventory ( Item item, Player player ) : void | ||
item | Item | |
player | Player | |
return | void |
public static UpdateVanity ( Player player ) : void | ||
player | Player | |
return | void |
public static UpdateVanitySet ( Player player ) : void | ||
player | Player | |
return | void |
public static UseItem ( Item item, Player player ) : bool | ||
item | Item | |
player | Player | |
return | bool |
public static UseItemFrame ( Item item, Player player ) : bool | ||
item | Item | |
player | Player | |
return | bool |
public static UseItemHitbox ( Item item, Player player, Rectangle &hitbox, bool &noHitbox ) : void | ||
item | Item | |
player | Player | |
hitbox | Rectangle | |
noHitbox | bool | |
return | void |
public static UseStyle ( Item item, Player player ) : void | ||
item | Item | |
player | Player | |
return | void |
public static VerticalWingSpeeds ( Player player, float &ascentWhenFalling, float &ascentWhenRising, float &maxCanAscendMultiplier, float &maxAscentMultiplier, float &constantAscend ) : void | ||
player | Player | |
ascentWhenFalling | float | |
ascentWhenRising | float | |
maxCanAscendMultiplier | float | |
maxAscentMultiplier | float | |
constantAscend | float | |
return | void |
public static WingUpdate ( Player player, bool inUse ) : void | ||
player | Player | |
inUse | bool | |
return | void |