tModLoader v0.11.8.9
A mod to make and play Terraria mods
|
This serves as the central class from which item-related functions are carried out. It also stores a list of mod items by ID. More...
Classes | |
class | HookList |
Static Public Member Functions | |
static bool | AllowPrefix (Item item, int pre) |
static bool | AltFunctionUse (Item item, Player player) |
Calls ModItem.AltFunctionUse, then all GlobalItem.AltFunctionUse hooks, until one of them returns true. Returns whether any of the hooks returned true. More... | |
static string | AnglerChat (int type) |
static void | ArmorArmGlowMask (int slot, Player drawPlayer, float shadow, ref int glowMask, ref Color color) |
Calls the item's body equipment texture's ArmorArmGlowMask hook, then all GlobalItem.ArmorArmGlowMask hooks. More... | |
static void | ArmorSetShadows (Player player) |
If the player's head texture's IsVanitySet returns true, calls the equipment texture's ArmorSetShadows. This is then repeated for the player's body, then the legs. Then for each GlobalItem, if GlobalItem.IsVanitySet returns a non-empty string, calls GlobalItem.ArmorSetShadows, using player.head, player.body, and player.legs. More... | |
static void | AutoLightSelect (Item item, ref bool dryTorch, ref bool wetTorch, ref bool glowstick) |
static bool | CanBurnInLava (Item item) |
Calls ModItem.CanBurnInLava. More... | |
static bool | CanEquipAccessory (Item item, int slot) |
static ? bool | CanHitNPC (Item item, Player player, NPC target) |
Gathers the results of ModItem.CanHitNPC and all GlobalItem.CanHitNPC hooks. If any of them returns false, this returns false. Otherwise, if any of them returns true then this returns true. If all of them return null, this returns null. More... | |
static bool | CanHitPvp (Item item, Player player, Player target) |
Calls all GlobalItem.CanHitPvp hooks, then ModItem.CanHitPvp, until one of them returns false. If all of them return true, this returns true. More... | |
static bool | CanPickup (Item item, Player player) |
static bool | CanRightClick (Item item) |
Calls ModItem.CanRightClick, then all GlobalItem.CanRightClick hooks, until one of the returns true. If one of the returns true, returns Main.mouseRight. Otherwise, returns false. More... | |
static bool | CanUseItem (Item item, Player player) |
Returns the "and" operation on the results of ModItem.CanUseItem and all GlobalItem.CanUseItem hooks. Does not fail fast (every hook is called). More... | |
static void | CaughtFishStack (Item item) |
static bool | CheckProjOnSwing (Player player, Item item) |
If the item is a modded item, ModItem.checkProjOnSwing is true, and the player is not at the beginning of the item's use animation, sets canShoot to false. More... | |
static int | ChoosePrefix (Item item, UnifiedRandom rand) |
static bool | ConsumeAmmo (Item item, Item ammo, Player player) |
Calls ModItem.ConsumeAmmo for the weapon, ModItem.ConsumeAmmo for the ammo, then each GlobalItem.ConsumeAmmo hook for the weapon and ammo, until one of them returns false. If all of them return true, returns true. More... | |
static bool | ConsumeItem (Item item, Player player) |
If ModItem.ConsumeItem or any of the GlobalItem.ConsumeItem hooks returns false, sets consume to false. More... | |
static void | DrawArmorColor (EquipType type, int slot, Player drawPlayer, float shadow, ref Color color, ref int glowMask, ref Color glowMaskColor) |
Calls the item's equipment texture's DrawArmorColor hook, then all GlobalItem.DrawArmorColor hooks. More... | |
static bool | DrawBody (Player player) |
Calls the item's body equipment texture's DrawBody hook, then all GlobalItem.DrawBody hooks, until one of them returns false. Returns true if none of them return false. More... | |
static void | DrawHair (Player player, ref bool drawHair, ref bool drawAltHair) |
Calls the item's head equipment texture's DrawHair hook, then all GlobalItem.DrawHair hooks. More... | |
static void | DrawHands (Player player, ref bool drawHands, ref bool drawArms) |
Calls the item's body equipment texture's DrawHands hook, then all GlobalItem.DrawHands hooks. More... | |
static bool | DrawHead (Player player) |
Calls the item's head equipment texture's DrawHead hook, then all GlobalItem.DrawHead hooks, until one of them returns false. Returns true if none of them return false. More... | |
static bool | DrawLegs (Player player) |
Calls the item's leg equipment texture's DrawLegs hook, then the item's shoe equipment texture's DrawLegs hook, then all GlobalItem.DrawLegs hooks, until one of them returns false. Returns true if none of them return false. More... | |
static void | ExtractinatorUse (ref int resultType, ref int resultStack, int extractType) |
static ? Color | GetAlpha (Item item, Color lightColor) |
Calls all GlobalItem.GetAlpha hooks then ModItem.GetAlpha, until one of them returns a color, and returns that color. Returns null if all of the hooks return null. More... | |
static void | GetHealLife (Item item, Player player, bool quickHeal, ref int healValue) |
Calls ModItem.GetHealLife, then all GlobalItem.GetHealLife hooks. More... | |
static void | GetHealMana (Item item, Player player, bool quickHeal, ref int healValue) |
Calls ModItem.GetHealMana, then all GlobalItem.GetHealMana hooks. More... | |
static ModItem | GetItem (int type) |
Gets the ModItem instance corresponding to the specified type. Returns null if no modded item has the given type. More... | |
static void | GetWeaponCrit (Item item, Player player, ref int crit) |
Calls ModItem.GetWeaponCrit, then all GlobalItem.GetWeaponCrit hooks. More... | |
static void | GetWeaponDamage (Item item, Player player, ref int damage) |
Calls ModItem.GetWeaponDamage, then all GlobalItem.GetWeaponDamage hooks. More... | |
static void | GetWeaponKnockback (Item item, Player player, ref float knockback) |
Calls ModItem.GetWeaponKnockback, then all GlobalItem.GetWeaponKnockback hooks. More... | |
static Item | GetWing (Player player) |
s Returns the wing item that the player is functionally using. If player.wingsLogic has been modified, so no equipped wing can be found to match what the player is using, this creates a new Item object to return. More... | |
static void | GrabRange (Item item, Player player, ref int grabRange) |
Calls ModItem.GrabRange, then all GlobalItem.GrabRange hooks. More... | |
static bool | GrabStyle (Item item, Player player) |
Calls all GlobalItem.GrabStyle hooks then ModItem.GrabStyle, until one of them returns true. Returns whether any of the hooks returned true. More... | |
static void | HoldItem (Item item, Player player) |
Calls ModItem.HoldItem and all GlobalItem.HoldItem hooks. More... | |
static bool | HoldItemFrame (Item item, Player player) |
Calls ModItem.HoldItemFrame, then all GlobalItem.HoldItemFrame hooks, until one of them returns true. Returns whether any of the hooks returned true. More... | |
static void | HoldoutOffset (float gravDir, int type, ref Vector2 offset) |
static void | HoldoutOrigin (Player player, ref Vector2 origin) |
static void | HoldStyle (Item item, Player player) |
If the player is not holding onto a rope and is not in the middle of using an item, calls ModItem.HoldStyle and all GlobalItem.HoldStyle hooks. More... | |
static void | HorizontalWingSpeeds (Player player) |
If the player is using wings, this uses the result of GetWing, and calls ModItem.HorizontalWingSpeeds then all GlobalItem.HorizontalWingSpeeds hooks. More... | |
static void | IsAnglerQuestAvailable (int itemID, ref bool notAvailable) |
static bool | IsModBossBag (Item item) |
Returns whether ModItem.bossBagNPC is greater than 0. Returns false if item is not a modded item. More... | |
static bool | ItemSpace (Item item, Player player) |
static void | MeleeEffects (Item item, Player player, Rectangle hitbox) |
Calls ModItem.MeleeEffects and all GlobalItem.MeleeEffects hooks. More... | |
static float | MeleeSpeedMultiplier (Item item, Player player) |
static void | ModifyHitNPC (Item item, Player player, NPC target, ref int damage, ref float knockBack, ref bool crit) |
Calls ModItem.ModifyHitNPC, then all GlobalItem.ModifyHitNPC hooks. More... | |
static void | ModifyHitPvp (Item item, Player player, Player target, ref int damage, ref bool crit) |
Calls ModItem.ModifyHitPvp, then all GlobalItem.ModifyHitPvp hooks. More... | |
static void | ModifyManaCost (Item item, Player player, ref float reduce, ref float mult) |
Calls ModItem.ModifyManaCost, then all GlobalItem.ModifyManaCost hooks. More... | |
static List< TooltipLine > | ModifyTooltips (Item item, ref int numTooltips, string[] names, ref string[] text, ref bool[] modifier, ref bool[] badModifier, ref int oneDropLogo, out Color?[] overrideColor) |
static void | ModifyWeaponDamage (Item item, Player player, ref float add, ref float mult, ref float flat) |
Calls ModItem.HookModifyWeaponDamage, then all GlobalItem.HookModifyWeaponDamage hooks. More... | |
static bool | NeedsModSaving (Item item) |
static void | OnConsumeAmmo (Item item, Item ammo, Player player) |
Calls ModItem.OnConsumeAmmo for the weapon, ModItem.OnConsumeAmmo for the ammo, then each GlobalItem.OnConsumeAmmo hook for the weapon and ammo. More... | |
static void | OnConsumeItem (Item item, Player player) |
Calls ModItem.OnConsumeItem and all GlobalItem.OnConsumeItem hooks. More... | |
static void | OnConsumeMana (Item item, Player player, int manaConsumed) |
Calls ModItem.OnConsumeMana, then all GlobalItem.OnConsumeMana hooks. More... | |
static void | OnCraft (Item item, Recipe recipe) |
static void | OnHitNPC (Item item, Player player, NPC target, int damage, float knockBack, bool crit) |
Calls ModItem.OnHitNPC and all GlobalItem.OnHitNPC hooks. More... | |
static void | OnHitPvp (Item item, Player player, Player target, int damage, bool crit) |
Calls ModItem.OnHitPvp and all GlobalItem.OnHitPvp hooks. More... | |
static void | OnMissingMana (Item item, Player player, int neededMana) |
Calls ModItem.OnMissingMana, then all GlobalItem.OnMissingMana hooks. More... | |
static bool | OnPickup (Item item, Player player) |
Calls all GlobalItem.OnPickup hooks then ModItem.OnPickup, until one of the returns false. Returns true if all of the hooks return true. More... | |
static void | OpenBossBag (int type, Player player, ref int npc) |
If the item is a modded item and ModItem.bossBagNPC is greater than 0, calls ModItem.OpenBossBag and sets npc to ModItem.bossBagNPC. More... | |
static void | OpenVanillaBag (string context, Player player, int arg) |
Calls all GlobalItem.OpenVanillaBag hooks. More... | |
static void | PickAmmo (Item weapon, Item ammo, Player player, ref int type, ref float speed, ref int damage, ref float knockback) |
Calls ModItem.PickAmmo, then all GlobalItem.PickAmmo hooks. More... | |
static void | PostDrawInInventory (Item item, SpriteBatch spriteBatch, Vector2 position, Rectangle frame, Color drawColor, Color itemColor, Vector2 origin, float scale) |
Calls ModItem.PostDrawInInventory, then all GlobalItem.PostDrawInInventory hooks. More... | |
static void | PostDrawInWorld (Item item, SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI) |
Calls ModItem.PostDrawInWorld, then all GlobalItem.PostDrawInWorld hooks. More... | |
static void | PostDrawTooltip (Item item, ReadOnlyCollection< DrawableTooltipLine > lines) |
static void | PostDrawTooltipLine (Item item, DrawableTooltipLine line) |
static void | PostReforge (Item item) |
Calls ModItem.PostReforge, then all GlobalItem.PostReforge hooks. More... | |
static void | PostUpdate (Item item) |
Calls ModItem.PostUpdate and all GlobalItem.PostUpdate hooks. More... | |
static bool | PreDrawInInventory (Item item, SpriteBatch spriteBatch, Vector2 position, Rectangle frame, Color drawColor, Color itemColor, Vector2 origin, float scale) |
Returns the "and" operator on the results of all GlobalItem.PreDrawInInventory hooks and ModItem.PreDrawInInventory. More... | |
static bool | PreDrawInWorld (Item item, SpriteBatch spriteBatch, Color lightColor, Color alphaColor, ref float rotation, ref float scale, int whoAmI) |
Returns the "and" operator on the results of ModItem.PreDrawInWorld and all GlobalItem.PreDrawInWorld hooks. More... | |
static bool | PreDrawTooltip (Item item, ReadOnlyCollection< TooltipLine > lines, ref int x, ref int y) |
static bool | PreDrawTooltipLine (Item item, DrawableTooltipLine line, ref int yOffset) |
static ? bool | PrefixChance (Item item, int pre, UnifiedRandom rand) |
Allows for blocking, forcing and altering chance of prefix rolling. False (block) takes precedence over True (force). Null gives vanilla behaviour More... | |
static bool | PreOpenVanillaBag (string context, Player player, int arg) |
Calls each GlobalItem.PreOpenVanillaBag hook until one of them returns false. Returns true if all of them returned true. More... | |
static bool | PreReforge (Item item) |
Calls ModItem.PreReforge, then all GlobalItem.PreReforge hooks. More... | |
static void | PreUpdateVanitySet (Player player) |
If the player's head texture's IsVanitySet returns true, calls the equipment texture's PreUpdateVanitySet. This is then repeated for the player's body, then the legs. Then for each GlobalItem, if GlobalItem.IsVanitySet returns a non-empty string, calls GlobalItem.PreUpdateVanitySet, using player.head, player.body, and player.legs. More... | |
static bool | ReforgePrice (Item item, ref int reforgePrice, ref bool canApplyDiscount) |
Call all ModItem.ReforgePrice, then GlobalItem.ReforgePrice hooks. More... | |
static void | RightClick (Item item, Player player) |
If Main.mouseRightRelease is true, the following steps are taken: More... | |
static void | SetMatch (int armorSlot, int type, bool male, ref int equipSlot, ref bool robes) |
Calls EquipTexture.SetMatch, then all GlobalItem.SetMatch hooks. More... | |
static bool | Shoot (Item item, Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack) |
Calls each GlobalItem.Shoot hook, then ModItem.Shoot, until one of them returns false. If all of them return true, returns true. More... | |
static void | Update (Item item, ref float gravity, ref float maxFallSpeed) |
Calls ModItem.Update, then all GlobalItem.Update hooks. More... | |
static void | UpdateAccessory (Item item, Player player, bool hideVisual) |
Calls ModItem.UpdateAccessory and all GlobalItem.UpdateAccessory hooks. More... | |
static void | UpdateArmorSet (Player player, Item head, Item body, Item legs) |
If the head's ModItem.IsArmorSet returns true, calls the head's ModItem.UpdateArmorSet. This is then repeated for the body, then the legs. Then for each GlobalItem, if GlobalItem.IsArmorSet returns a non-empty string, calls GlobalItem.UpdateArmorSet with that string. More... | |
static void | UpdateEquip (Item item, Player player) |
Calls ModItem.UpdateEquip and all GlobalItem.UpdateEquip hooks. More... | |
static void | UpdateInventory (Item item, Player player) |
Calls ModItem.UpdateInventory and all GlobalItem.UpdateInventory hooks. More... | |
static void | UpdateVanity (Player player) |
Calls each of the item's equipment texture's UpdateVanity hook. More... | |
static void | UpdateVanitySet (Player player) |
If the player's head texture's IsVanitySet returns true, calls the equipment texture's UpdateVanitySet. This is then repeated for the player's body, then the legs. Then for each GlobalItem, if GlobalItem.IsVanitySet returns a non-empty string, calls GlobalItem.UpdateVanitySet, using player.head, player.body, and player.legs. More... | |
static bool | UseItem (Item item, Player player) |
Returns true if any of ModItem.UseItem or GlobalItem.UseItem return true Does not fail fast (calls every hook) More... | |
static bool | UseItemFrame (Item item, Player player) |
Calls ModItem.UseItemFrame, then all GlobalItem.UseItemFrame hooks, until one of them returns true. Returns whether any of the hooks returned true. More... | |
static void | UseItemHitbox (Item item, Player player, ref Rectangle hitbox, ref bool noHitbox) |
Calls ModItem.UseItemHitbox, then all GlobalItem.UseItemHitbox hooks. More... | |
static void | UseStyle (Item item, Player player) |
Calls ModItem.UseStyle and all GlobalItem.UseStyle hooks. More... | |
static float | UseTimeMultiplier (Item item, Player player) |
static void | VerticalWingSpeeds (Player player, ref float ascentWhenFalling, ref float ascentWhenRising, ref float maxCanAscendMultiplier, ref float maxAscentMultiplier, ref float constantAscend) |
If the player is using wings, this uses the result of GetWing, and calls ModItem.VerticalWingSpeeds then all GlobalItem.VerticalWingSpeeds hooks. More... | |
static bool | WingUpdate (Player player, bool inUse) |
If wings can be seen on the player, calls the player's wing's equipment texture's WingUpdate and all GlobalItem.WingUpdate hooks. More... | |
Properties | |
static int | ItemCount [get] |
Private Member Functions | |
delegate void | DelegateAnglerChat (int type, ref string chat, ref string catchLocation) |
delegate void | DelegateArmorArmGlowMask (int slot, Player drawPlayer, float shadow, ref int glowMask, ref Color color) |
delegate void | DelegateCaughtFishStack (int type, ref int stack) |
delegate void | DelegateDrawArmorColor (EquipType type, int slot, Player drawPlayer, float shadow, ref Color color, ref int glowMask, ref Color glowMaskColor) |
delegate void | DelegateDrawHair (int body, ref bool drawHair, ref bool drawAltHair) |
delegate void | DelegateDrawHands (int body, ref bool drawHands, ref bool drawArms) |
delegate void | DelegateExtractinatorUse (int extractType, ref int resultType, ref int resultStack) |
delegate void | DelegateGetHealLife (Item item, Player player, bool quickHeal, ref int healValue) |
delegate void | DelegateGetHealMana (Item item, Player player, bool quickHeal, ref int healValue) |
delegate void | DelegateGetWeaponCrit (Item item, Player player, ref int crit) |
delegate void | DelegateGetWeaponDamage (Item item, Player player, ref int damage) |
delegate void | DelegateGetWeaponKnockback (Item item, Player player, ref float knockback) |
delegate void | DelegateGrabRange (Item item, Player player, ref int grabRange) |
delegate void | DelegateHorizontalWingSpeeds (Item item, Player player, ref float speed, ref float acceleration) |
delegate void | DelegateModifyHitNPC (Item item, Player player, NPC target, ref int damage, ref float knockBack, ref bool crit) |
delegate void | DelegateModifyHitPvp (Item item, Player player, Player target, ref int damage, ref bool crit) |
delegate void | DelegateModifyManaCost (Item item, Player player, ref float reduce, ref float mult) |
delegate void | DelegateModifyWeaponDamage (Item item, Player player, ref float add, ref float mult, ref float flat) |
delegate void | DelegateModifyWeaponDamageOld (Item item, Player player, ref float add, ref float mult) |
delegate void | DelegateOldPickAmmo (Item item, Player player, ref int type, ref float speed, ref int damage, ref float knockback) |
delegate void | DelegatePickAmmo (Item weapon, Item ammo, Player player, ref int type, ref float speed, ref int damage, ref float knockback) |
delegate void | DelegatePostDrawTooltip (Item item, ReadOnlyCollection< DrawableTooltipLine > lines) |
delegate void | DelegatePostDrawTooltipLine (Item item, DrawableTooltipLine line) |
delegate bool | DelegatePreDrawInWorld (Item item, SpriteBatch spriteBatch, Color lightColor, Color alphaColor, ref float rotation, ref float scale, int whoAmI) |
delegate bool | DelegatePreDrawTooltip (Item item, ReadOnlyCollection< TooltipLine > lines, ref int x, ref int y) |
delegate bool | DelegatePreDrawTooltipLine (Item item, DrawableTooltipLine line, ref int yOffset) |
delegate bool | DelegateReforgePrice (Item item, ref int reforgePrice, ref bool canApplyDiscount) |
delegate void | DelegateSetMatch (int armorSlot, int type, bool male, ref int equipSlot, ref bool robes) |
delegate bool | DelegateShoot (Item item, Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack) |
delegate void | DelegateUpdate (Item item, ref float gravity, ref float maxFallSpeed) |
delegate void | DelegateUseItemHitbox (Item item, Player player, ref Rectangle hitbox, ref bool noHitbox) |
delegate void | DelegateVerticalWingSpeeds (Item item, Player player, ref float ascentWhenFalling, ref float ascentWhenRising, ref float maxCanAscendMultiplier, ref float maxAscentMultiplier, ref float constantAscend) |
Static Private Member Functions | |
static HookList | AddHook< F > (Expression< Func< GlobalItem, F > > func) |
static Rectangle | AnimatedItemFrame (Item item) |
static void | FindVanillaWings () |
static bool | GeneralPrefix (Item item) |
static bool | HasMethod (Type t, string method, params Type[] args) |
Static Private Attributes | |
static HookList | HookAllowPrefix = AddHook<Func<Item, int, bool>>(g => g.AllowPrefix) |
static HookList | HookAltFunctionUse = AddHook<Func<Item, Player, bool>>(g => g.AltFunctionUse) |
static HookList | HookAnglerChat = AddHook<DelegateAnglerChat>(g => g.AnglerChat) |
static HookList | HookArmorArmGlowMask = AddHook<DelegateArmorArmGlowMask>(g => g.ArmorArmGlowMask) |
static HookList | HookArmorSetShadows = AddHook<Action<Player, string>>(g => g.ArmorSetShadows) |
static HookList | HookCanBurnInLava = AddHook<Func<Item, bool>>(g => g.CanBurnInLava) |
static HookList | HookCanEquipAccessory = AddHook<Func<Item, Player, int, bool>>(g => g.CanEquipAccessory) |
static HookList | HookCanHitNPC = AddHook<Func<Item, Player, NPC, bool?>>(g => g.CanHitNPC) |
static HookList | HookCanHitPvp = AddHook<Func<Item, Player, Player, bool>>(g => g.CanHitPvp) |
static HookList | HookCanPickup = AddHook<Func<Item, Player, bool>>(g => g.CanPickup) |
static HookList | HookCanRightClick = AddHook<Func<Item, bool>>(g => g.CanRightClick) |
static HookList | HookCanUseItem = AddHook<Func<Item, Player, bool>>(g => g.CanUseItem) |
static HookList | HookCaughtFishStack = AddHook<DelegateCaughtFishStack>(g => g.CaughtFishStack) |
static HookList | HookChoosePrefix = AddHook<Func<Item, UnifiedRandom, int>>(g => g.ChoosePrefix) |
static HookList | HookConsumeAmmo = AddHook<Func<Item, Player, bool>>(g => g.ConsumeAmmo) |
static HookList | HookConsumeItem = AddHook<Func<Item, Player, bool>>(g => g.ConsumeItem) |
static HookList | HookDrawArmorColor = AddHook<DelegateDrawArmorColor>(g => g.DrawArmorColor) |
static HookList | HookDrawBody = AddHook<Func<int, bool>>(g => g.DrawBody) |
static HookList | HookDrawHair = AddHook<DelegateDrawHair>(g => g.DrawHair) |
static HookList | HookDrawHands = AddHook<DelegateDrawHands>(g => g.DrawHands) |
static HookList | HookDrawHead = AddHook<Func<int, bool>>(g => g.DrawHead) |
static HookList | HookDrawLegs = AddHook<Func<int, int, bool>>(g => g.DrawLegs) |
static HookList | HookExtractinatorUse = AddHook<DelegateExtractinatorUse>(g => g.ExtractinatorUse) |
static HookList | HookGetAlpha = AddHook<Func<Item, Color, Color?>>(g => g.GetAlpha) |
static HookList | HookGetHealLife = AddHook<DelegateGetHealLife>(g => g.GetHealLife) |
static HookList | HookGetHealMana = AddHook<DelegateGetHealMana>(g => g.GetHealMana) |
static HookList | HookGetWeaponCrit = AddHook<DelegateGetWeaponCrit>(g => g.GetWeaponCrit) |
static HookList | HookGetWeaponDamage = AddHook<DelegateGetWeaponDamage>(g => g.GetWeaponDamage) |
static HookList | HookGetWeaponKnockback = AddHook<DelegateGetWeaponKnockback>(g => g.GetWeaponKnockback) |
static HookList | HookGrabRange = AddHook<DelegateGrabRange>(g => g.GrabRange) |
static HookList | HookGrabStyle = AddHook<Func<Item, Player, bool>>(g => g.GrabStyle) |
static HookList | HookHoldItem = AddHook<Action<Item, Player>>(g => g.HoldItem) |
static HookList | HookHoldItemFrame = AddHook<Func<Item, Player, bool>>(g => g.HoldItemFrame) |
static HookList | HookHoldoutOffset = AddHook<Func<int, Vector2?>>(g => g.HoldoutOffset) |
static HookList | HookHoldoutOrigin = AddHook<Func<int, Vector2?>>(g => g.HoldoutOrigin) |
static HookList | HookHoldStyle = AddHook<Action<Item, Player>>(g => g.HoldStyle) |
static HookList | HookHorizontalWingSpeeds = AddHook<DelegateHorizontalWingSpeeds>(g => g.HorizontalWingSpeeds) |
static HookList | HookIsAnglerQuestAvailable = AddHook<Func<int, bool>>(g => g.IsAnglerQuestAvailable) |
static HookList | HookItemSpace = AddHook<Func<Item, Player, bool>>(g => g.ItemSpace) |
static HookList | HookMeleeEffects = AddHook<Action<Item, Player, Rectangle>>(g => g.MeleeEffects) |
static HookList | HookMeleeSpeedMultiplier = AddHook<Func<Item, Player, float>>(g => g.MeleeSpeedMultiplier) |
static HookList | HookModifyHitNPC = AddHook<DelegateModifyHitNPC>(g => g.ModifyHitNPC) |
static HookList | HookModifyHitPvp = AddHook<DelegateModifyHitPvp>(g => g.ModifyHitPvp) |
static HookList | HookModifyManaCost = AddHook<DelegateModifyManaCost>(g => g.ModifyManaCost) |
static HookList | HookModifyTooltips = AddHook<Action<Item, List<TooltipLine>>>(g => g.ModifyTooltips) |
static HookList | HookModifyWeaponDamage = AddHook<DelegateModifyWeaponDamage>(g => g.ModifyWeaponDamage) |
static HookList | HookModifyWeaponDamageOld = AddHook<DelegateModifyWeaponDamage>(g => g.ModifyWeaponDamage) |
static HookList | HookNeedsSaving = AddHook<Func<Item, bool>>(g => g.NeedsSaving) |
static HookList | HookOldPickAmmo = AddHook<DelegateOldPickAmmo>(g => g.PickAmmo) |
static HookList | HookOnConsumeAmmo = AddHook<Action<Item, Player>>(g => g.OnConsumeAmmo) |
static HookList | HookOnConsumeItem = AddHook<Action<Item, Player>>(g => g.OnConsumeItem) |
static HookList | HookOnConsumeMana = AddHook<Action<Item, Player, int>>(g => g.OnConsumeMana) |
static HookList | HookOnCraft = AddHook<Action<Item, Recipe>>(g => g.OnCraft) |
static HookList | HookOnHitNPC = AddHook<Action<Item, Player, NPC, int, float, bool>>(g => g.OnHitNPC) |
static HookList | HookOnHitPvp = AddHook<Action<Item, Player, Player, int, bool>>(g => g.OnHitPvp) |
static HookList | HookOnMissingMana = AddHook<Action<Item, Player, int>>(g => g.OnMissingMana) |
static HookList | HookOnPickup = AddHook<Func<Item, Player, bool>>(g => g.OnPickup) |
static HookList | HookOpenVanillaBag = AddHook<Action<string, Player, int>>(g => g.OpenVanillaBag) |
static HookList | HookPickAmmo = AddHook<DelegatePickAmmo>(g => g.PickAmmo) |
static HookList | HookPostDrawInInventory = AddHook<Action<Item, SpriteBatch, Vector2, Rectangle, Color, Color, Vector2, float>>(g => g.PostDrawInInventory) |
static HookList | HookPostDrawInWorld = AddHook<Action<Item, SpriteBatch, Color, Color, float, float, int>>(g => g.PostDrawInWorld) |
static HookList | HookPostDrawTooltip = AddHook<DelegatePostDrawTooltip>(g => g.PostDrawTooltip) |
static HookList | HookPostDrawTooltipLine = AddHook<DelegatePostDrawTooltipLine>(g => g.PostDrawTooltipLine) |
static HookList | HookPostReforge = AddHook<Action<Item>>(g => g.PostReforge) |
static HookList | HookPostUpdate = AddHook<Action<Item>>(g => g.PostUpdate) |
static HookList | HookPreDrawInInventory = AddHook<Func<Item, SpriteBatch, Vector2, Rectangle, Color, Color, Vector2, float, bool>>(g => g.PreDrawInInventory) |
static HookList | HookPreDrawInWorld = AddHook<DelegatePreDrawInWorld>(g => g.PreDrawInWorld) |
static HookList | HookPreDrawTooltip = AddHook<DelegatePreDrawTooltip>(g => g.PreDrawTooltip) |
static HookList | HookPreDrawTooltipLine = AddHook<DelegatePreDrawTooltipLine>(g => g.PreDrawTooltipLine) |
static HookList | HookPrefixChance = AddHook<Func<Item, int, UnifiedRandom, bool?>>(g => g.PrefixChance) |
static HookList | HookPreOpenVanillaBag = AddHook<Func<string, Player, int, bool>>(g => g.PreOpenVanillaBag) |
static HookList | HookPreReforge = AddHook<Func<Item, bool>>(g => g.NewPreReforge) |
static HookList | HookPreUpdateVanitySet = AddHook<Action<Player, string>>(g => g.PreUpdateVanitySet) |
static HookList | HookReforgePrice = AddHook<DelegateReforgePrice>(g => g.ReforgePrice) |
static HookList | HookRightClick = AddHook<Action<Item, Player>>(g => g.RightClick) |
static List< HookList > | hooks = new List<HookList>() |
static HookList | HookSetDefaults = AddHook<Action<Item>>(g => g.SetDefaults) |
static HookList | HookSetMatch = AddHook<DelegateSetMatch>(g => g.SetMatch) |
static HookList | HookShoot = AddHook<DelegateShoot>(g => g.Shoot) |
static HookList | HookUpdate = AddHook<DelegateUpdate>(g => g.Update) |
static HookList | HookUpdateAccessory = AddHook<Action<Item, Player, bool>>(g => g.UpdateAccessory) |
static HookList | HookUpdateArmorSet = AddHook<Action<Player, string>>(g => g.UpdateArmorSet) |
static HookList | HookUpdateEquip = AddHook<Action<Item, Player>>(g => g.UpdateEquip) |
static HookList | HookUpdateInventory = AddHook<Action<Item, Player>>(g => g.UpdateInventory) |
static HookList | HookUpdateVanitySet = AddHook<Action<Player, string>>(g => g.UpdateVanitySet) |
static HookList | HookUseItem = AddHook<Func<Item, Player, bool>>(g => g.UseItem) |
static HookList | HookUseItemFrame = AddHook<Func<Item, Player, bool>>(g => g.UseItemFrame) |
static HookList | HookUseItemHitbox = AddHook<DelegateUseItemHitbox>(g => g.UseItemHitbox) |
static HookList | HookUseStyle = AddHook<Action<Item, Player>>(g => g.UseStyle) |
static HookList | HookUseTimeMultiplier = AddHook<Func<Item, Player, float>>(g => g.UseTimeMultiplier) |
static HookList | HookVerticalWingSpeeds = AddHook<DelegateVerticalWingSpeeds>(g => g.VerticalWingSpeeds) |
static HookList | HookWingUpdate = AddHook<Func<int, Player, bool, bool>>(g => g.WingUpdate) |
static int | nextItem = ItemID.Count |
This serves as the central class from which item-related functions are carried out. It also stores a list of mod items by ID.
Definition at line 21 of file ItemLoader.cs.
|
staticprivate |
Definition at line 46 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.hooks.
|
static |
Definition at line 289 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookAllowPrefix.
|
static |
Calls ModItem.AltFunctionUse, then all GlobalItem.AltFunctionUse hooks, until one of them returns true. Returns whether any of the hooks returned true.
Definition at line 848 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookAltFunctionUse.
|
static |
Definition at line 1660 of file ItemLoader.cs.
References Terraria.ModLoader.ModItem.AnglerQuestChat(), Terraria.ModLoader.ItemLoader.HookList.arr, Terraria.ModLoader.ItemLoader.GetItem(), and Terraria.ModLoader.ItemLoader.HookAnglerChat.
|
staticprivate |
Definition at line 242 of file ItemLoader.cs.
|
static |
Calls the item's body equipment texture's ArmorArmGlowMask hook, then all GlobalItem.ArmorArmGlowMask hooks.
Definition at line 1276 of file ItemLoader.cs.
References Terraria.ModLoader.EquipTexture.ArmorArmGlowMask(), Terraria.ModLoader.ItemLoader.HookList.arr, Terraria.ModLoader.EquipLoader.GetEquipTexture(), and Terraria.ModLoader.ItemLoader.HookArmorArmGlowMask.
|
static |
If the player's head texture's IsVanitySet returns true, calls the equipment texture's ArmorSetShadows. This is then repeated for the player's body, then the legs. Then for each GlobalItem, if GlobalItem.IsVanitySet returns a non-empty string, calls GlobalItem.ArmorSetShadows, using player.head, player.body, and player.legs.
Definition at line 999 of file ItemLoader.cs.
References Terraria.ModLoader.EquipTexture.ArmorSetShadows(), Terraria.ModLoader.GlobalItem.ArmorSetShadows(), Terraria.ModLoader.ItemLoader.HookList.arr, Terraria.ModLoader.EquipLoader.GetEquipTexture(), Terraria.ModLoader.ItemLoader.HookArmorSetShadows, Terraria.ModLoader.EquipTexture.IsVanitySet(), and Terraria.ModLoader.GlobalItem.IsVanitySet().
|
static |
Definition at line 1626 of file ItemLoader.cs.
|
static |
Calls ModItem.CanBurnInLava.
Definition at line 1392 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookCanBurnInLava.
|
static |
Definition at line 1605 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookCanEquipAccessory.
|
static |
Gathers the results of ModItem.CanHitNPC and all GlobalItem.CanHitNPC hooks. If any of them returns false, this returns false. Otherwise, if any of them returns true then this returns true. If all of them return null, this returns null.
Definition at line 668 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookCanHitNPC.
|
static |
Calls all GlobalItem.CanHitPvp hooks, then ModItem.CanHitPvp, until one of them returns false. If all of them return true, this returns true.
Definition at line 720 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookCanHitPvp.
|
static |
Definition at line 1443 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookCanPickup.
|
static |
Calls ModItem.CanRightClick, then all GlobalItem.CanRightClick hooks, until one of the returns true. If one of the returns true, returns Main.mouseRight. Otherwise, returns false.
Definition at line 1038 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookCanRightClick.
|
static |
Returns the "and" operation on the results of ModItem.CanUseItem and all GlobalItem.CanUseItem hooks. Does not fail fast (every hook is called).
item | The item. |
player | The player holding the item. |
Definition at line 310 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookCanUseItem.
|
static |
Definition at line 1641 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookCaughtFishStack.
|
static |
If the item is a modded item, ModItem.checkProjOnSwing is true, and the player is not at the beginning of the item's use animation, sets canShoot to false.
Definition at line 539 of file ItemLoader.cs.
|
static |
Definition at line 250 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookChoosePrefix.
|
static |
Calls ModItem.ConsumeAmmo for the weapon, ModItem.ConsumeAmmo for the ammo, then each GlobalItem.ConsumeAmmo hook for the weapon and ammo, until one of them returns false. If all of them return true, returns true.
Definition at line 569 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookConsumeAmmo.
|
static |
If ModItem.ConsumeItem or any of the GlobalItem.ConsumeItem hooks returns false, sets consume to false.
Definition at line 780 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, Terraria.ModLoader.ItemLoader.HookConsumeItem, and Terraria.ModLoader.ItemLoader.OnConsumeItem().
Referenced by Terraria.ModLoader.ItemLoader.RightClick().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
static |
Calls the item's equipment texture's DrawArmorColor hook, then all GlobalItem.DrawArmorColor hooks.
Definition at line 1262 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, Terraria.ModLoader.EquipTexture.DrawArmorColor(), Terraria.ModLoader.EquipLoader.GetEquipTexture(), and Terraria.ModLoader.ItemLoader.HookDrawArmorColor.
|
static |
Calls the item's body equipment texture's DrawBody hook, then all GlobalItem.DrawBody hooks, until one of them returns false. Returns true if none of them return false.
Definition at line 1225 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, Terraria.ModLoader.EquipTexture.DrawBody(), Terraria.ModLoader.EquipLoader.GetEquipTexture(), and Terraria.ModLoader.ItemLoader.HookDrawBody.
|
static |
Calls the item's head equipment texture's DrawHair hook, then all GlobalItem.DrawHair hooks.
Definition at line 1194 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, Terraria.ModLoader.EquipTexture.DrawHair(), Terraria.ModLoader.EquipLoader.GetEquipTexture(), and Terraria.ModLoader.ItemLoader.HookDrawHair.
|
static |
Calls the item's body equipment texture's DrawHands hook, then all GlobalItem.DrawHands hooks.
Definition at line 1177 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, Terraria.ModLoader.EquipTexture.DrawHands(), Terraria.ModLoader.EquipLoader.GetEquipTexture(), and Terraria.ModLoader.ItemLoader.HookDrawHands.
|
static |
Calls the item's head equipment texture's DrawHead hook, then all GlobalItem.DrawHead hooks, until one of them returns false. Returns true if none of them return false.
Definition at line 1209 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, Terraria.ModLoader.EquipTexture.DrawHead(), Terraria.ModLoader.EquipLoader.GetEquipTexture(), and Terraria.ModLoader.ItemLoader.HookDrawHead.
|
static |
Calls the item's leg equipment texture's DrawLegs hook, then the item's shoe equipment texture's DrawLegs hook, then all GlobalItem.DrawLegs hooks, until one of them returns false. Returns true if none of them return false.
Definition at line 1241 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, Terraria.ModLoader.EquipTexture.DrawLegs(), Terraria.ModLoader.EquipLoader.GetEquipTexture(), and Terraria.ModLoader.ItemLoader.HookDrawLegs.
|
static |
Definition at line 1619 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, Terraria.ModLoader.ModItem.ExtractinatorUse(), Terraria.ModLoader.ItemLoader.GetItem(), and Terraria.ModLoader.ItemLoader.HookExtractinatorUse.
|
staticprivate |
Definition at line 52 of file ItemLoader.cs.
References Terraria.ModLoader.Item.
|
staticprivate |
Definition at line 174 of file ItemLoader.cs.
|
static |
Calls all GlobalItem.GetAlpha hooks then ModItem.GetAlpha, until one of them returns a color, and returns that color. Returns null if all of the hooks return null.
Definition at line 1484 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookGetAlpha.
|
static |
Calls ModItem.GetHealLife, then all GlobalItem.GetHealLife hooks.
Definition at line 397 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookGetHealLife.
|
static |
Calls ModItem.GetHealMana, then all GlobalItem.GetHealMana hooks.
Definition at line 412 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookGetHealMana.
|
static |
Gets the ModItem instance corresponding to the specified type. Returns null if no modded item has the given type.
Definition at line 76 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.ItemCount.
Referenced by Terraria.ModLoader.Mod.AddMusicBox(), Terraria.ModLoader.ItemLoader.AnglerChat(), Terraria.ModLoader.ItemLoader.ExtractinatorUse(), Terraria.ModLoader.ItemLoader.HoldoutOffset(), Terraria.ModLoader.ItemLoader.IsAnglerQuestAvailable(), and Terraria.ModLoader.ItemLoader.OpenBossBag().
|
static |
Calls ModItem.GetWeaponCrit, then all GlobalItem.GetWeaponCrit hooks.
Definition at line 526 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookGetWeaponCrit.
|
static |
Calls ModItem.GetWeaponDamage, then all GlobalItem.GetWeaponDamage hooks.
Definition at line 475 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookGetWeaponDamage.
Referenced by Terraria.ModLoader.CombinedHooks.GetWeaponDamage().
|
static |
Calls ModItem.GetWeaponKnockback, then all GlobalItem.GetWeaponKnockback hooks.
Definition at line 510 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookGetWeaponKnockback.
|
static |
s Returns the wing item that the player is functionally using. If player.wingsLogic has been modified, so no equipped wing can be found to match what the player is using, this creates a new Item object to return.
Definition at line 1287 of file ItemLoader.cs.
References Terraria.ModLoader.EquipLoader.GetEquipTexture(), Terraria.ModLoader.EquipTexture.item, Terraria.ModLoader.ModItem.item, and Terraria.ModLoader.Item.
Referenced by Terraria.ModLoader.ItemLoader.HorizontalWingSpeeds(), and Terraria.ModLoader.ItemLoader.VerticalWingSpeeds().
|
static |
Calls ModItem.GrabRange, then all GlobalItem.GrabRange hooks.
Definition at line 1419 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookGrabRange.
|
static |
Calls all GlobalItem.GrabStyle hooks then ModItem.GrabStyle, until one of them returns true. Returns whether any of the hooks returned true.
Definition at line 1432 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookGrabStyle.
|
staticprivate |
Definition at line 1773 of file ItemLoader.cs.
|
static |
Calls ModItem.HoldItem and all GlobalItem.HoldItem hooks.
Definition at line 356 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookHoldItem.
|
static |
Calls ModItem.HoldItemFrame, then all GlobalItem.HoldItemFrame hooks, until one of them returns true. Returns whether any of the hooks returned true.
Definition at line 830 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookHoldItemFrame.
|
static |
Definition at line 1563 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, Terraria.ModLoader.ItemLoader.GetItem(), Terraria.ModLoader.ModItem.HoldoutOffset(), and Terraria.ModLoader.ItemLoader.HookHoldoutOffset.
|
static |
Definition at line 1582 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, Terraria.ModLoader.ItemLoader.HookHoldoutOrigin, and Terraria.ModLoader.Item.
|
static |
If the player is not holding onto a rope and is not in the middle of using an item, calls ModItem.HoldStyle and all GlobalItem.HoldStyle hooks.
Definition at line 341 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookHoldStyle.
|
static |
If the player is using wings, this uses the result of GetWing, and calls ModItem.HorizontalWingSpeeds then all GlobalItem.HorizontalWingSpeeds hooks.
Definition at line 1343 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, Terraria.ModLoader.EquipLoader.GetEquipTexture(), Terraria.ModLoader.ItemLoader.GetWing(), Terraria.ModLoader.ItemLoader.HookHorizontalWingSpeeds, Terraria.ModLoader.EquipTexture.HorizontalWingSpeeds(), and Terraria.ModLoader.Item.
|
static |
Definition at line 1649 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, Terraria.ModLoader.ItemLoader.GetItem(), Terraria.ModLoader.ItemLoader.HookIsAnglerQuestAvailable, and Terraria.ModLoader.ModItem.IsAnglerQuestAvailable().
|
static |
Returns whether ModItem.bossBagNPC is greater than 0. Returns false if item is not a modded item.
Definition at line 1087 of file ItemLoader.cs.
|
static |
Definition at line 1468 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookItemSpace.
|
static |
Calls ModItem.MeleeEffects and all GlobalItem.MeleeEffects hooks.
Definition at line 650 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookMeleeEffects.
|
static |
Definition at line 380 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookMeleeSpeedMultiplier.
Referenced by Terraria.ModLoader.PlayerHooks.TotalMeleeSpeedMultiplier().
|
static |
Calls ModItem.ModifyHitNPC, then all GlobalItem.ModifyHitNPC hooks.
Definition at line 694 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookModifyHitNPC.
|
static |
Calls ModItem.ModifyHitPvp, then all GlobalItem.ModifyHitPvp hooks.
Definition at line 735 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookModifyHitPvp.
|
static |
Calls ModItem.ModifyManaCost, then all GlobalItem.ModifyManaCost hooks.
Definition at line 427 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookModifyManaCost.
Referenced by Terraria.ModLoader.CombinedHooks.ModifyManaCost().
|
static |
Definition at line 1718 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookModifyTooltips.
|
static |
Calls ModItem.HookModifyWeaponDamage, then all GlobalItem.HookModifyWeaponDamage hooks.
Definition at line 492 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, Terraria.ModLoader.ItemLoader.HookModifyWeaponDamage, and Terraria.ModLoader.ItemLoader.HookModifyWeaponDamageOld.
Referenced by Terraria.ModLoader.CombinedHooks.ModifyWeaponDamage().
|
static |
Definition at line 1754 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookNeedsSaving.
|
static |
Calls ModItem.OnConsumeAmmo for the weapon, ModItem.OnConsumeAmmo for the ammo, then each GlobalItem.OnConsumeAmmo hook for the weapon and ammo.
Definition at line 587 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookOnConsumeAmmo.
|
static |
Calls ModItem.OnConsumeItem and all GlobalItem.OnConsumeItem hooks.
Definition at line 797 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookOnConsumeItem.
Referenced by Terraria.ModLoader.ItemLoader.ConsumeItem().
|
static |
Calls ModItem.OnConsumeMana, then all GlobalItem.OnConsumeMana hooks.
Definition at line 457 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookOnConsumeMana.
Referenced by Terraria.ModLoader.CombinedHooks.OnConsumeMana().
|
static |
Definition at line 1675 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookOnCraft.
|
static |
Calls ModItem.OnHitNPC and all GlobalItem.OnHitNPC hooks.
Definition at line 707 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookOnHitNPC.
|
static |
Calls ModItem.OnHitPvp and all GlobalItem.OnHitPvp hooks.
Definition at line 748 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookOnHitPvp.
|
static |
Calls ModItem.OnMissingMana, then all GlobalItem.OnMissingMana hooks.
Definition at line 442 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookOnMissingMana.
Referenced by Terraria.ModLoader.CombinedHooks.OnMissingMana().
|
static |
Calls all GlobalItem.OnPickup hooks then ModItem.OnPickup, until one of the returns false. Returns true if all of the hooks return true.
Definition at line 1457 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookOnPickup.
|
static |
If the item is a modded item and ModItem.bossBagNPC is greater than 0, calls ModItem.OpenBossBag and sets npc to ModItem.bossBagNPC.
Definition at line 1096 of file ItemLoader.cs.
References Terraria.ModLoader.ModItem.BossBagNPC, Terraria.ModLoader.ItemLoader.GetItem(), and Terraria.ModLoader.ModItem.OpenBossBag().
|
static |
Calls all GlobalItem.OpenVanillaBag hooks.
Definition at line 1131 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookOpenVanillaBag.
|
static |
Calls ModItem.PickAmmo, then all GlobalItem.PickAmmo hooks.
Definition at line 551 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, Terraria.ModLoader.ItemLoader.HookOldPickAmmo, and Terraria.ModLoader.ItemLoader.HookPickAmmo.
|
static |
Calls ModItem.PostDrawInInventory, then all GlobalItem.PostDrawInInventory hooks.
Definition at line 1554 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookPostDrawInInventory.
|
static |
Calls ModItem.PostDrawInWorld, then all GlobalItem.PostDrawInWorld hooks.
Definition at line 1521 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookPostDrawInWorld.
|
static |
Definition at line 1693 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookPostDrawTooltip.
|
static |
Definition at line 1711 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookPostDrawTooltipLine.
|
static |
Calls ModItem.PostReforge, then all GlobalItem.PostReforge hooks.
Definition at line 1166 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookPostReforge.
|
static |
Calls ModItem.PostUpdate and all GlobalItem.PostUpdate hooks.
Definition at line 1405 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookPostUpdate.
|
static |
Returns the "and" operator on the results of all GlobalItem.PreDrawInInventory hooks and ModItem.PreDrawInInventory.
Definition at line 1535 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookPreDrawInInventory.
|
static |
Returns the "and" operator on the results of ModItem.PreDrawInWorld and all GlobalItem.PreDrawInWorld hooks.
Definition at line 1504 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookPreDrawInWorld.
|
static |
Definition at line 1683 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookPreDrawTooltip.
|
static |
Definition at line 1701 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookPreDrawTooltipLine.
|
static |
Allows for blocking, forcing and altering chance of prefix rolling. False (block) takes precedence over True (force). Null gives vanilla behaviour
Definition at line 273 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookPrefixChance.
|
static |
Calls each GlobalItem.PreOpenVanillaBag hook until one of them returns false. Returns true if all of them returned true.
Definition at line 1112 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, Terraria.ModLoader.NPCLoader.blockLoot, and Terraria.ModLoader.ItemLoader.HookPreOpenVanillaBag.
|
static |
Calls ModItem.PreReforge, then all GlobalItem.PreReforge hooks.
Definition at line 1155 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookPreReforge.
|
static |
If the player's head texture's IsVanitySet returns true, calls the equipment texture's PreUpdateVanitySet. This is then repeated for the player's body, then the legs. Then for each GlobalItem, if GlobalItem.IsVanitySet returns a non-empty string, calls GlobalItem.PreUpdateVanitySet, using player.head, player.body, and player.legs.
Definition at line 948 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, Terraria.ModLoader.EquipLoader.GetEquipTexture(), Terraria.ModLoader.ItemLoader.HookPreUpdateVanitySet, Terraria.ModLoader.EquipTexture.IsVanitySet(), Terraria.ModLoader.GlobalItem.IsVanitySet(), Terraria.ModLoader.EquipTexture.PreUpdateVanitySet(), and Terraria.ModLoader.GlobalItem.PreUpdateVanitySet().
|
static |
Call all ModItem.ReforgePrice, then GlobalItem.ReforgePrice hooks.
canApplyDiscount |
Definition at line 1143 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookReforgePrice.
|
static |
If Main.mouseRightRelease is true, the following steps are taken:
Definition at line 1065 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, Terraria.ModLoader.ItemLoader.ConsumeItem(), and Terraria.ModLoader.ItemLoader.HookRightClick.
|
static |
Calls EquipTexture.SetMatch, then all GlobalItem.SetMatch hooks.
Definition at line 1024 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, Terraria.ModLoader.EquipLoader.GetEquipTexture(), Terraria.ModLoader.ItemLoader.HookSetMatch, and Terraria.ModLoader.EquipTexture.SetMatch().
|
static |
Calls each GlobalItem.Shoot hook, then ModItem.Shoot, until one of them returns false. If all of them return true, returns true.
item | The weapon item. |
player | The player. |
position | The shoot spawn position. |
speedX | The speed x calculated from shootSpeed and mouse position. |
speedY | The speed y calculated from shootSpeed and mouse position. |
type | The projectile type choosen by ammo and weapon. |
damage | The projectile damage. |
knockBack | The projectile knock back. |
Definition at line 616 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookShoot.
|
static |
Calls ModItem.Update, then all GlobalItem.Update hooks.
Definition at line 1381 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookUpdate.
|
static |
Calls ModItem.UpdateAccessory and all GlobalItem.UpdateAccessory hooks.
Definition at line 900 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookUpdateAccessory.
|
static |
If the head's ModItem.IsArmorSet returns true, calls the head's ModItem.UpdateArmorSet. This is then repeated for the body, then the legs. Then for each GlobalItem, if GlobalItem.IsArmorSet returns a non-empty string, calls GlobalItem.UpdateArmorSet with that string.
Definition at line 926 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, Terraria.ModLoader.ItemLoader.HookUpdateArmorSet, Terraria.ModLoader.GlobalItem.IsArmorSet(), and Terraria.ModLoader.GlobalItem.UpdateArmorSet().
|
static |
Calls ModItem.UpdateEquip and all GlobalItem.UpdateEquip hooks.
Definition at line 884 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookUpdateEquip.
|
static |
Calls ModItem.UpdateInventory and all GlobalItem.UpdateInventory hooks.
Definition at line 868 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookUpdateInventory.
|
static |
Calls each of the item's equipment texture's UpdateVanity hook.
Definition at line 913 of file ItemLoader.cs.
References Terraria.ModLoader.EquipLoader.EquipTypes, Terraria.ModLoader.EquipLoader.GetEquipTexture(), and Terraria.ModLoader.EquipTexture.UpdateVanity().
|
static |
If the player's head texture's IsVanitySet returns true, calls the equipment texture's UpdateVanitySet. This is then repeated for the player's body, then the legs. Then for each GlobalItem, if GlobalItem.IsVanitySet returns a non-empty string, calls GlobalItem.UpdateVanitySet, using player.head, player.body, and player.legs.
Definition at line 973 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, Terraria.ModLoader.EquipLoader.GetEquipTexture(), Terraria.ModLoader.ItemLoader.HookUpdateVanitySet, Terraria.ModLoader.EquipTexture.IsVanitySet(), Terraria.ModLoader.GlobalItem.IsVanitySet(), Terraria.ModLoader.EquipTexture.UpdateVanitySet(), and Terraria.ModLoader.GlobalItem.UpdateVanitySet().
|
static |
Returns true if any of ModItem.UseItem or GlobalItem.UseItem return true Does not fail fast (calls every hook)
Definition at line 760 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookUseItem.
|
static |
Calls ModItem.UseItemFrame, then all GlobalItem.UseItemFrame hooks, until one of them returns true. Returns whether any of the hooks returned true.
Definition at line 813 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookUseItemFrame.
|
static |
Calls ModItem.UseItemHitbox, then all GlobalItem.UseItemHitbox hooks.
Definition at line 637 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookUseItemHitbox.
|
static |
Calls ModItem.UseStyle and all GlobalItem.UseStyle hooks.
Definition at line 326 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookUseStyle.
|
static |
Definition at line 367 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, and Terraria.ModLoader.ItemLoader.HookUseTimeMultiplier.
Referenced by Terraria.ModLoader.PlayerHooks.TotalUseTimeMultiplier().
|
static |
If the player is using wings, this uses the result of GetWing, and calls ModItem.VerticalWingSpeeds then all GlobalItem.VerticalWingSpeeds hooks.
Definition at line 1317 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, Terraria.ModLoader.EquipLoader.GetEquipTexture(), Terraria.ModLoader.ItemLoader.GetWing(), Terraria.ModLoader.ItemLoader.HookVerticalWingSpeeds, Terraria.ModLoader.Item, and Terraria.ModLoader.EquipTexture.VerticalWingSpeeds().
|
static |
If wings can be seen on the player, calls the player's wing's equipment texture's WingUpdate and all GlobalItem.WingUpdate hooks.
Definition at line 1361 of file ItemLoader.cs.
References Terraria.ModLoader.ItemLoader.HookList.arr, Terraria.ModLoader.EquipLoader.GetEquipTexture(), Terraria.ModLoader.ItemLoader.HookWingUpdate, and Terraria.ModLoader.EquipTexture.WingUpdate().
|
staticprivate |
Definition at line 288 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.AllowPrefix().
|
staticprivate |
Definition at line 844 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.AltFunctionUse().
|
staticprivate |
Definition at line 1659 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.AnglerChat().
|
staticprivate |
Definition at line 1272 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.ArmorArmGlowMask().
|
staticprivate |
Definition at line 993 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.ArmorSetShadows().
|
staticprivate |
Definition at line 1388 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.CanBurnInLava().
|
staticprivate |
Definition at line 1602 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.CanEquipAccessory().
|
staticprivate |
Definition at line 657 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.CanHitNPC().
|
staticprivate |
Definition at line 714 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.CanHitPvp().
|
staticprivate |
Definition at line 1440 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.CanPickup().
|
staticprivate |
Definition at line 1032 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.CanRightClick().
|
staticprivate |
Definition at line 300 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.CanUseItem().
|
staticprivate |
Definition at line 1640 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.CaughtFishStack().
|
staticprivate |
Definition at line 248 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.ChoosePrefix().
|
staticprivate |
Definition at line 563 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.ConsumeAmmo().
|
staticprivate |
Definition at line 774 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.ConsumeItem().
|
staticprivate |
Definition at line 1258 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.DrawArmorColor().
|
staticprivate |
Definition at line 1221 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.DrawBody().
|
staticprivate |
Definition at line 1186 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.DrawHair().
|
staticprivate |
Definition at line 1173 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.DrawHands().
|
staticprivate |
Definition at line 1202 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.DrawHead().
|
staticprivate |
Definition at line 1237 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.DrawLegs().
|
staticprivate |
Definition at line 1618 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.ExtractinatorUse().
|
staticprivate |
Definition at line 1476 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.GetAlpha().
|
staticprivate |
Definition at line 393 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.GetHealLife().
|
staticprivate |
Definition at line 408 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.GetHealMana().
|
staticprivate |
Definition at line 522 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.GetWeaponCrit().
|
staticprivate |
Definition at line 470 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.GetWeaponDamage().
|
staticprivate |
Definition at line 506 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.GetWeaponKnockback().
|
staticprivate |
Definition at line 1413 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.GrabRange().
|
staticprivate |
Definition at line 1426 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.GrabStyle().
|
staticprivate |
Definition at line 351 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.HoldItem().
|
staticprivate |
Definition at line 824 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.HoldItemFrame().
|
staticprivate |
Definition at line 1562 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.HoldoutOffset().
|
staticprivate |
Definition at line 1581 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.HoldoutOrigin().
|
staticprivate |
Definition at line 336 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.HoldStyle().
|
staticprivate |
Definition at line 1337 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.HorizontalWingSpeeds().
|
staticprivate |
Definition at line 1648 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.IsAnglerQuestAvailable().
|
staticprivate |
Definition at line 1465 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.ItemSpace().
|
staticprivate |
Definition at line 644 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.MeleeEffects().
|
staticprivate |
Definition at line 379 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.MeleeSpeedMultiplier().
|
staticprivate |
Definition at line 688 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.ModifyHitNPC().
|
staticprivate |
Definition at line 729 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.ModifyHitPvp().
|
staticprivate |
Definition at line 423 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.ModifyManaCost().
|
staticprivate |
Definition at line 1717 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.ModifyTooltips().
|
staticprivate |
Definition at line 488 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.ModifyWeaponDamage().
|
staticprivate |
Definition at line 486 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.ModifyWeaponDamage().
|
staticprivate |
Definition at line 1753 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.NeedsModSaving().
|
staticprivate |
Definition at line 544 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.PickAmmo().
|
staticprivate |
Definition at line 583 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.OnConsumeAmmo().
|
staticprivate |
Definition at line 793 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.OnConsumeItem().
|
staticprivate |
Definition at line 453 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.OnConsumeMana().
|
staticprivate |
Definition at line 1674 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.OnCraft().
|
staticprivate |
Definition at line 701 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.OnHitNPC().
|
staticprivate |
Definition at line 742 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.OnHitPvp().
|
staticprivate |
Definition at line 438 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.OnMissingMana().
|
staticprivate |
Definition at line 1451 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.OnPickup().
|
staticprivate |
Definition at line 1125 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.OpenVanillaBag().
|
staticprivate |
Definition at line 547 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.PickAmmo().
|
staticprivate |
Definition at line 1547 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.PostDrawInInventory().
|
staticprivate |
Definition at line 1515 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.PostDrawInWorld().
|
staticprivate |
Definition at line 1692 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.PostDrawTooltip().
|
staticprivate |
Definition at line 1710 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.PostDrawTooltipLine().
|
staticprivate |
Definition at line 1162 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.PostReforge().
|
staticprivate |
Definition at line 1401 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.PostUpdate().
|
staticprivate |
Definition at line 1528 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.PreDrawInInventory().
|
staticprivate |
Definition at line 1498 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.PreDrawInWorld().
|
staticprivate |
Definition at line 1682 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.PreDrawTooltip().
|
staticprivate |
Definition at line 1700 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.PreDrawTooltipLine().
|
staticprivate |
Definition at line 266 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.PrefixChance().
|
staticprivate |
Definition at line 1104 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.PreOpenVanillaBag().
|
staticprivate |
Definition at line 1151 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.PreReforge().
|
staticprivate |
Definition at line 943 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.PreUpdateVanitySet().
|
staticprivate |
Definition at line 1137 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.ReforgePrice().
|
staticprivate |
Definition at line 1052 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.RightClick().
Definition at line 44 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.AddHook< F >().
|
staticprivate |
Definition at line 194 of file ItemLoader.cs.
|
staticprivate |
Definition at line 1020 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.SetMatch().
|
staticprivate |
Definition at line 601 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.Shoot().
|
staticprivate |
Definition at line 1375 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.Update().
|
staticprivate |
Definition at line 894 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.UpdateAccessory().
|
staticprivate |
Definition at line 921 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.UpdateArmorSet().
|
staticprivate |
Definition at line 878 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.UpdateEquip().
|
staticprivate |
Definition at line 862 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.UpdateInventory().
|
staticprivate |
Definition at line 968 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.UpdateVanitySet().
|
staticprivate |
Definition at line 755 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.UseItem().
|
staticprivate |
Definition at line 807 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.UseItemFrame().
|
staticprivate |
Definition at line 631 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.UseItemHitbox().
|
staticprivate |
Definition at line 321 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.UseStyle().
|
staticprivate |
Definition at line 366 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.UseTimeMultiplier().
|
staticprivate |
Definition at line 1311 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.VerticalWingSpeeds().
|
staticprivate |
Definition at line 1357 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.ItemLoader.WingUpdate().
|
staticprivate |
Definition at line 23 of file ItemLoader.cs.
|
staticget |
Definition at line 80 of file ItemLoader.cs.
Referenced by Terraria.ModLoader.RecipeEditor.AddIngredient(), Terraria.ModLoader.RecipeFinder.AddIngredient(), Terraria.ModLoader.RecipeEditor.DeleteIngredient(), Terraria.ModLoader.ItemLoader.GetItem(), Terraria.ModLoader.RecipeEditor.SetIngredientStack(), Terraria.ModLoader.RecipeEditor.SetResult(), and Terraria.ModLoader.RecipeFinder.SetResult().