Master of Magic

Master of Magic

Nedostatek hodnocení
[Util] User Utility
   
Ocenit
Přidat do oblíbených
Oblíbeno
Odebrat z oblíbených
Značky: 542999090
Velikost souboru
Přidáno
Aktualizováno
102.956 KB
19. kvě. 2024 v 11.52
19. kvě. 2024 v 12.52
Poznámky ke změnám (2) – zobrazit

Klikněte na „Odebírat“ pro stažení položky
[Util] User Utility

Popis
User Utility : v1.0.16

This is a utility class containing a set of useful user methods, to include the following:

- EnchAlreadyOnObject(ISpellCaster spellCaster, Spell spell, object target) : bool
( complete rewrite of original with O(N+M) instead of O(N^3) )
- GetBaseValue(BaseUnit baseUnit, DBEnum.TAG targetTag) : FInt
- GetCasterNameOwnerID(SpellCastData data) : string
- GetEnchantmentName(EnchantmentInstance ei) : string
- GetName(BaseUnit bu) : string
- GetNameID(PlayerWizard wizard) : string
- GetNameOwnerID(BaseUnit bu) : string
- GetOwnerAsBattleUnit(EnchantmentInstance ei) : BattleUnit
- GetSpellNameBattleCost(Spell spell) : string
- GetWizardNameID(SpellCastData data) : string
- HasTrait(PlayerWizard wizard, DBEnum.TRAIT trait) : bool
- IsEngineer(BaseUnit baseUnit) : bool
- IsHuman(PlayerWizard wizard) : bool
- IsNullOrEmpty(this ICollection collection) : bool
- IsNullOrEmpty(this T[] array) : bool
- IsOwnerHuman(BaseUnit bu) : bool
- IsSimulated(IEnchantable ie) : bool

and more...