Skip to content

tool.hero.HeroWeaponsManager

tool.hero.HeroWeaponsManager

Inherits from: tool.HeroManager

Fields

NameType
mainWeaponshl.types.ArrayObj
backpackWeaponshl.types.ArrayObj
weaponInputshl.types.ArrayBytes_Int
lastWeaponUsedtool.Weapon
weaponControlLockshaxe.ds.IntMap
staticdefSwordtool.weap.StartSword
static__clidI32

Protos

  • f@4797 init(tool.hero.HeroWeaponsManager) → Void
  • f@4798 findInMain(tool.hero.HeroWeaponsManager, hl.Class) → tool.Weapon
  • f@4799 findInBackpack(tool.hero.HeroWeaponsManager, hl.Class) → tool.Weapon
  • f@4800 findItemInMain(tool.hero.HeroWeaponsManager, tool.InventItem) → tool.Weapon
  • f@4801 findItemInBackpack(tool.hero.HeroWeaponsManager, tool.InventItem) → tool.Weapon
  • f@4802 findItemKindInMain(tool.hero.HeroWeaponsManager, String) → tool.Weapon
  • f@4803 findItemKindInBackpack(tool.hero.HeroWeaponsManager, String) → tool.Weapon
  • f@4804 findChargingWeapon(tool.hero.HeroWeaponsManager) → tool.Weapon
  • f@4805 findFirstMeleeWeapon(tool.hero.HeroWeaponsManager) → tool.Weapon
  • f@4806 disposeBackpackWeapon(tool.hero.HeroWeaponsManager, Ref) → Bool
  • f@4807 hasInMain(tool.hero.HeroWeaponsManager, hl.Class) → Bool
  • f@4808 hasInBackpack(tool.hero.HeroWeaponsManager, hl.Class) → Bool
  • f@4809 hasItemKindInMain(tool.hero.HeroWeaponsManager, String) → Bool
  • f@4810 hasItemKindInBackpack(tool.hero.HeroWeaponsManager, String) → Bool
  • f@4811 hasChargingWeapon(tool.hero.HeroWeaponsManager) → Bool
  • f@4812 hasChargingUninterruptibleWeapon(tool.hero.HeroWeaponsManager) → Bool
  • f@4813 hasButtonDownForWeapon(tool.hero.HeroWeaponsManager, tool.Weapon) → Bool
  • f@4814 hasButtonPressedForWeapon(tool.hero.HeroWeaponsManager, tool.Weapon) → Bool
  • f@4815 getWeaponDamageMultiplier(tool.hero.HeroWeaponsManager, tool.Weapon) → F64
  • f@4816 dispose(tool.hero.HeroWeaponsManager) → Void
  • f@4817 addWeaponLock(tool.hero.HeroWeaponsManager, String, Ref) → Void
  • f@4818 removeWeaponLock(tool.hero.HeroWeaponsManager, String, Ref) → Void
  • f@4819 applyHudLockFade(tool.hero.HeroWeaponsManager) → Void
  • f@4820 refillAllAmmo(tool.hero.HeroWeaponsManager) → Void
  • f@4821 killEntities(tool.hero.HeroWeaponsManager) → Void
  • f@4822 onAffectChange(tool.hero.HeroWeaponsManager, I32, Bool) → Void
  • f@4823 onEquippedItemsUpdated(tool.hero.HeroWeaponsManager, Ref) → Void
  • f@4824 onDropAndUpdateItem(tool.hero.HeroWeaponsManager, tool.InventItem) → Void
  • f@4825 onPickItem(tool.hero.HeroWeaponsManager) → Void
  • f@4826 onMobDeath(tool.hero.HeroWeaponsManager, en.Mob) → Void
  • f@4827 tryToCounterGrenade(tool.hero.HeroWeaponsManager, en.Grenade) → Void
  • f@4828 cancelWeaponsAnticipation(tool.hero.HeroWeaponsManager) → Void
  • f@4829 allowCrouch(tool.hero.HeroWeaponsManager) → Bool
  • f@4830 isPlayingAttackAnim(tool.hero.HeroWeaponsManager) → Bool
  • f@4831 interrupt(tool.hero.HeroWeaponsManager) → Void
  • f@4832 tryToCancelCharge(tool.hero.HeroWeaponsManager, Bool) → Bool
  • f@4833 updateWeapons(tool.hero.HeroWeaponsManager) → Void
  • f@4834 updateWeapon(tool.hero.HeroWeaponsManager, I32) → Void
  • f@4835 canUseWeapon(tool.hero.HeroWeaponsManager, tool.Weapon, en.Hero, I32, Ref, Null) → Bool
  • f@4836 onWeaponExecute(tool.hero.HeroWeaponsManager, tool.Weapon) → Void
  • f@4837 startBackpackEffects(tool.hero.HeroWeaponsManager, F64) → Void
  • f@4838 onLevelChanged(tool.hero.HeroWeaponsManager) → Void
  • f@4839 resetTpItems(tool.hero.HeroWeaponsManager) → Void
  • f@4840 resetChargeDashItems(tool.hero.HeroWeaponsManager) → Void
  • f@4841 onOwnerCooldownEnd(tool.hero.HeroWeaponsManager, String, I32) → Void
  • f@4842 preUpdate(tool.hero.HeroWeaponsManager) → Void
  • f@4843 fixedUpdate(tool.hero.HeroWeaponsManager) → Void
  • f@4844 postUpdate(tool.hero.HeroWeaponsManager) → Void
  • f@4845 getWeaponAttackSpeed(tool.hero.HeroWeaponsManager, tool.Weapon) → F64
  • f@4846 onWeaponUse(tool.hero.HeroWeaponsManager, tool.Weapon, I32) → Void
  • f@4847 updateTutorials(tool.hero.HeroWeaponsManager) → Void
  • f@4848 canPerformAutoHit(tool.hero.HeroWeaponsManager, tool.Weapon) → Bool
  • f@4849 autoBreakDoors(tool.hero.HeroWeaponsManager) → Void
  • f@4850 getCLID(tool.hero.HeroWeaponsManager) → I32
  • f@4851 serialize(tool.hero.HeroWeaponsManager, hxbit.Serializer) → Void
  • f@4852 getSerializeSchema(tool.hero.HeroWeaponsManager) → hxbit.Schema
  • f@4853 unserializeInit(tool.hero.HeroWeaponsManager) → Void
  • f@4854 unserialize(tool.hero.HeroWeaponsManager, hxbit.Serializer) → Void

Bindings

  • static f@4855 __constructor__(tool.hero.HeroWeaponsManager, en.Hero) → Void