Свойство | 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 |
Méthode | 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 |
Méthode | 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 | ||
Résultat | 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 | |
Résultat | void |
public static ArmorArmGlowMask ( int slot, |
||
slot | int | |
drawPlayer | ||
shadow | float | |
glowMask | int | |
color | Color | |
Résultat | void |
public static ArmorSetShadows ( |
||
player | ||
Résultat | void |
public static AutoLightSelect ( Item item, bool &dryTorch, bool &wetTorch, bool &glowstick ) : void | ||
item | Item | |
dryTorch | bool | |
wetTorch | bool | |
glowstick | bool | |
Résultat | void |
public static CanEquipAccessory ( Item item, int slot ) : bool | ||
item | Item | |
slot | int | |
Résultat | bool |
public static CanHitNPC ( Item item, |
||
item | Item | |
player | ||
target | Terraria.NPC | |
Résultat | bool? |
public static CanHitPvp ( Item item, |
||
item | Item | |
player | ||
target | ||
Résultat | bool |
public static CanRightClick ( Item item ) : bool | ||
item | Item | |
Résultat | bool |
public static CanUseItem ( Item item, |
||
item | Item | |
player | ||
Résultat | bool |
public static CaughtFishStack ( Item item ) : void | ||
item | Item | |
Résultat | void |
public static CheckProjOnSwing ( |
||
player | ||
item | Item | |
Résultat | bool |
public static ConsumeAmmo ( Item item, Item ammo, |
||
item | Item | |
ammo | Item | |
player | ||
Résultat | bool |
public static ConsumeItem ( Item item, |
||
item | Item | |
player | ||
Résultat | bool |
public static DrawArmorColor ( EquipType type, int slot, |
||
type | EquipType | |
slot | int | |
drawPlayer | ||
shadow | float | |
color | Color | |
glowMask | int | |
glowMaskColor | Color | |
Résultat | void |
public static DrawBody ( |
||
player | ||
Résultat | bool |
public static DrawHair ( |
||
player | ||
drawHair | bool | |
drawAltHair | bool | |
Résultat | void |
public static DrawHands ( |
||
player | ||
drawHands | bool | |
drawArms | bool | |
Résultat | void |
public static DrawHead ( |
||
player | ||
Résultat | bool |
public static DrawLegs ( |
||
player | ||
Résultat | bool |
public static ExtractinatorUse ( int &resultType, int &resultStack, int extractType ) : void | ||
resultType | int | |
resultStack | int | |
extractType | int | |
Résultat | void |
public static GetAlpha ( Item item, Color lightColor ) : Color? | ||
item | Item | |
lightColor | Color | |
Résultat | Color? |
public static GetItem ( int type ) : |
||
type | int | |
Résultat |
public static GetWeaponDamage ( Item item, |
||
item | Item | |
player | ||
damage | int | |
Résultat | void |
public static GetWeaponKnockback ( Item item, |
||
item | Item | |
player | ||
knockback | float | |
Résultat | void |
public static GetWing ( |
||
player | ||
Résultat | Item |
public static GrabRange ( Item item, Player player, int &grabRange ) : void | ||
item | Item | |
player | Player | |
grabRange | int | |
Résultat | void |
public static GrabStyle ( Item item, Player player ) : bool | ||
item | Item | |
player | Player | |
Résultat | bool |
public static HoldItem ( Item item, Player player ) : void | ||
item | Item | |
player | Player | |
Résultat | void |
public static HoldItemFrame ( Item item, Player player ) : bool | ||
item | Item | |
player | Player | |
Résultat | bool |
public static HoldStyle ( Item item, Player player ) : void | ||
item | Item | |
player | Player | |
Résultat | void |
public static HoldoutOffset ( float gravDir, int type, Vector2 &offset ) : void | ||
gravDir | float | |
type | int | |
offset | Vector2 | |
Résultat | void |
public static HoldoutOrigin ( Player player, Vector2 &origin ) : void | ||
player | Player | |
origin | Vector2 | |
Résultat | void |
public static HorizontalWingSpeeds ( Player player ) : void | ||
player | Player | |
Résultat | void |
public static IsAnglerQuestAvailable ( int itemID, bool ¬Available ) : void | ||
itemID | int | |
notAvailable | bool | |
Résultat | void |
public static IsModBossBag ( Item item ) : bool | ||
item | Item | |
Résultat | bool |
public static MeleeEffects ( Item item, Player player, Rectangle hitbox ) : void | ||
item | Item | |
player | Player | |
hitbox | Rectangle | |
Résultat | 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 | |
Résultat | 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 | |
Résultat | 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 | |
Résultat | void |
public static NeedsModSaving ( Item item ) : bool | ||
item | Item | |
Résultat | bool |
public static OnCraft ( Item item, Recipe recipe ) : void | ||
item | Item | |
recipe | Recipe | |
Résultat | 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 | |
Résultat | 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 | |
Résultat | void |
public static OnPickup ( Item item, Player player ) : bool | ||
item | Item | |
player | Player | |
Résultat | bool |
public static OpenBossBag ( int type, Player player, int &npc ) : void | ||
type | int | |
player | Player | |
npc | int | |
Résultat | void |
public static OpenVanillaBag ( string context, Player player, int arg ) : void | ||
context | string | |
player | Player | |
arg | int | |
Résultat | 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 | |
Résultat | 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 | |
Résultat | void |
public static PostReforge ( Item item ) : void | ||
item | Item | |
Résultat | void |
public static PostUpdate ( Item item ) : void | ||
item | Item | |
Résultat | 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 | |
Résultat | 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 | |
Résultat | bool |
public static PreOpenVanillaBag ( string context, Player player, int arg ) : bool | ||
context | string | |
player | Player | |
arg | int | |
Résultat | bool |
public static PreReforge ( Item item ) : void | ||
item | Item | |
Résultat | void |
public static PreUpdateVanitySet ( Player player ) : void | ||
player | Player | |
Résultat | void |
public static RightClick ( Item item, Player player ) : void | ||
item | Item | |
player | Player | |
Résultat | 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 | |
Résultat | 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 | |
Résultat | bool |
public static Update ( Item item, float &gravity, float &maxFallSpeed ) : void | ||
item | Item | |
gravity | float | |
maxFallSpeed | float | |
Résultat | void |
public static UpdateAccessory ( Item item, Player player, bool hideVisual ) : void | ||
item | Item | |
player | Player | |
hideVisual | bool | |
Résultat | void |
public static UpdateArmorSet ( Player player, Item head, Item body, Item legs ) : void | ||
player | Player | |
head | Item | |
body | Item | |
legs | Item | |
Résultat | void |
public static UpdateEquip ( Item item, Player player ) : void | ||
item | Item | |
player | Player | |
Résultat | void |
public static UpdateInventory ( Item item, Player player ) : void | ||
item | Item | |
player | Player | |
Résultat | void |
public static UpdateVanity ( Player player ) : void | ||
player | Player | |
Résultat | void |
public static UpdateVanitySet ( Player player ) : void | ||
player | Player | |
Résultat | void |
public static UseItem ( Item item, Player player ) : bool | ||
item | Item | |
player | Player | |
Résultat | bool |
public static UseItemFrame ( Item item, Player player ) : bool | ||
item | Item | |
player | Player | |
Résultat | bool |
public static UseItemHitbox ( Item item, Player player, Rectangle &hitbox, bool &noHitbox ) : void | ||
item | Item | |
player | Player | |
hitbox | Rectangle | |
noHitbox | bool | |
Résultat | void |
public static UseStyle ( Item item, Player player ) : void | ||
item | Item | |
player | Player | |
Résultat | 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 | |
Résultat | void |
public static WingUpdate ( Player player, bool inUse ) : void | ||
player | Player | |
inUse | bool | |
Résultat | void |