public EntityDef(Triton.Game.Mapping.EntityDef backingObject) { this.EntityDef_0 = backingObject; this.CardId = this.EntityDef_0.GetCardId(); this.Class = this.EntityDef_0.GetClass(); this.Race = this.EntityDef_0.GetRace(); this.Rarity = this.EntityDef_0.GetRarity(); this.Name = this.EntityDef_0.GetName(); this.FlavorText = this.EntityDef_0.GetFlavorText(); this.CardType = this.EntityDef_0.GetCardType(); this.Cost = this.EntityDef_0.GetTag(GAME_TAG.COST); this.Attack = this.EntityDef_0.GetTag(GAME_TAG.ATK); this.Health = this.EntityDef_0.GetTag(GAME_TAG.HEALTH); this.Charge = this.EntityDef_0.GetTag(GAME_TAG.CHARGE); this.Silence = this.EntityDef_0.GetTag(GAME_TAG.SILENCE); this.Taunt = this.EntityDef_0.GetTag(GAME_TAG.TAUNT); this.Battlecry = this.EntityDef_0.GetTag(GAME_TAG.BATTLECRY); this.CardText = this.EntityDef_0.GetStringTag(GAME_TAG.CARDTEXT_INHAND); }
public static string GetZoneActor(EntityDef entityDef, TAG_ZONE zoneTag) { Class272.Enum20[] enumArray1 = new Class272.Enum20[] { Class272.Enum20.Class, Class272.Enum20.ValueType }; object[] objArray1 = new object[] { entityDef, zoneTag }; return(MonoClass.smethod_13(TritonHs.MainAssemblyPath, "", "ActorNames", "GetZoneActor", enumArray1, objArray1)); }
public bool CanRemoveFromDeck(EntityDef def, CollectionDeck deck) { object[] objArray1 = new object[] { def, deck }; return(base.method_11 <bool>("CanRemoveFromDeck", objArray1)); }
public bool AddCard(EntityDef cardEntityDef, TAG_PREMIUM premium, DeckTrayDeckTileVisual deckTileToRemove, bool playSound, Actor animateActor) { object[] objArray1 = new object[] { cardEntityDef, premium, deckTileToRemove, playSound, animateActor }; return(base.method_11 <bool>("AddCard", objArray1)); }
public static string GetHandActor(EntityDef entityDef) { Class272.Enum20[] enumArray1 = new Class272.Enum20[] { Class272.Enum20.Class }; object[] objArray1 = new object[] { entityDef }; return(MonoClass.smethod_13(TritonHs.MainAssemblyPath, "", "ActorNames", "GetHandActor", enumArray1, objArray1)); }
public void UpdateKeywordHelpForDeckHelper(EntityDef entityDef, Actor actor) { object[] objArray1 = new object[] { entityDef, actor }; base.method_8("UpdateKeywordHelpForDeckHelper", objArray1); }
public void UpdateKeywordHelpForPackOpening(EntityDef entityDef, Actor actor) { object[] objArray1 = new object[] { entityDef, actor }; base.method_8("UpdateKeywordHelpForPackOpening", objArray1); }
public CollectibleCard RegisterCard(EntityDef entityDef, string cardID, TAG_PREMIUM premium) { object[] objArray1 = new object[] { entityDef, cardID, premium }; return(base.method_14 <CollectibleCard>("RegisterCard", objArray1)); }
public int EntityDefSortComparison(EntityDef entityDef1, EntityDef entityDef2) { object[] objArray1 = new object[] { entityDef1, entityDef2 }; return(base.method_11 <int>("EntityDefSortComparison", objArray1)); }
public string GetVanillaHeroCardID(EntityDef HeroSkinEntityDef) { object[] objArray1 = new object[] { HeroSkinEntityDef }; return(base.method_13("GetVanillaHeroCardID", objArray1)); }
public CollectibleCard AddCounts(EntityDef entityDef, string cardID, TAG_PREMIUM premium, DateTime insertDate, int count, int numSeen) { object[] objArray1 = new object[] { entityDef, cardID, premium, insertDate, count, numSeen }; return(base.method_15 <CollectibleCard>("AddCounts", new Class272.Enum20[] { Class272.Enum20.Class }, objArray1)); }
public CollectibleCard AddCounts(NetCache.CardStack netStack, EntityDef entityDef) { Class272.Enum20[] enumArray1 = new Class272.Enum20[] { Class272.Enum20.Class, Class272.Enum20.Class }; object[] objArray1 = new object[] { netStack, entityDef }; return(base.method_15 <CollectibleCard>("AddCounts", enumArray1, objArray1)); }
public int GetCardTypeSortOrder(EntityDef entityDef) { object[] objArray1 = new object[] { entityDef }; return(base.method_11 <int>("GetCardTypeSortOrder", objArray1)); }
public void UpdatePortrait(EntityDef entityDef, CardDef cardDef) { Class272.Enum20[] enumArray1 = new Class272.Enum20[] { Class272.Enum20.Class, Class272.Enum20.Class }; object[] objArray1 = new object[] { entityDef, cardDef }; base.method_9("UpdatePortrait", enumArray1, objArray1); }
public void UpdateTextComponentsDef(EntityDef entityDef) { object[] objArray1 = new object[] { entityDef }; base.method_8("UpdateTextComponentsDef", objArray1); }
public void UpdateCardList(EntityDef justChangedCardEntityDef, bool updateHighlight, Actor animateFromActor) { object[] objArray1 = new object[] { justChangedCardEntityDef, updateHighlight, animateFromActor }; base.method_9("UpdateCardList", new Class272.Enum20[] { Class272.Enum20.Class }, objArray1); }
public void UpdateKeywordHelpForCollectionManager(EntityDef entityDef, Actor actor, bool reverse) { object[] objArray1 = new object[] { entityDef, actor, reverse }; base.method_8("UpdateKeywordHelpForCollectionManager", objArray1); }
public static DeckChoiceFill GetFillCardChoices(CollectionDeck deck, EntityDef referenceCard, int choices, DeckBuilder deckBuilder) { object[] objArray1 = new object[] { deck, referenceCard, choices, deckBuilder }; return(MonoClass.smethod_15 <DeckChoiceFill>(TritonHs.MainAssemblyPath, "", "DeckMaker", "GetFillCardChoices", objArray1)); }
public void UpdateKeywordHelpForForge(EntityDef entityDef, Actor actor, int cardChoice) { object[] objArray1 = new object[] { entityDef, actor, cardChoice }; base.method_8("UpdateKeywordHelpForForge", objArray1); }
public static bool HasMinCost(EntityDef e, int minCost) { object[] objArray1 = new object[] { e, minCost }; return(MonoClass.smethod_14 <bool>(TritonHs.MainAssemblyPath, "", "DeckMaker", "HasMinCost", objArray1)); }
public void NotifyOfCardGained(EntityDef entityDef, TAG_PREMIUM premium, int totalCount) { object[] objArray1 = new object[] { entityDef, premium, totalCount }; base.method_8("NotifyOfCardGained", objArray1); }
public static bool IsWeapon(EntityDef e) { object[] objArray1 = new object[] { e }; return(MonoClass.smethod_14 <bool>(TritonHs.MainAssemblyPath, "", "DeckMaker", "IsWeapon", objArray1)); }
public int RemoveClosestTemplateCard(EntityDef entityDef, int sameRemoveCount) { object[] objArray1 = new object[] { entityDef, sameRemoveCount }; return(base.method_11 <int>("RemoveClosestTemplateCard", objArray1)); }
public void OnVisualRelease(Actor addCardActor, EntityDef cardToRemove) { object[] objArray1 = new object[] { addCardActor, cardToRemove }; base.method_8("OnVisualRelease", objArray1); }
public static string GetHandActor(EntityDef entityDef, TAG_PREMIUM premiumType) { Class272.Enum20[] enumArray1 = new Class272.Enum20[] { Class272.Enum20.Class, Class272.Enum20.ValueType }; object[] objArray1 = new object[] { entityDef, premiumType }; return(MonoClass.smethod_13(TritonHs.MainAssemblyPath, "", "ActorNames", "GetHandActor", enumArray1, objArray1)); }
public Actor LoadBestCardActor(EntityDef entityDef, TAG_PREMIUM premiumToUse, bool ghostCard) { object[] objArray1 = new object[] { entityDef, premiumToUse, ghostCard }; return(base.method_14 <Actor>("LoadBestCardActor", objArray1)); }
public static string GetZoneActor(EntityDef entityDef, TAG_ZONE zoneTag, TAG_PREMIUM premium) { object[] objArray1 = new object[] { entityDef, zoneTag, premium }; return(MonoClass.smethod_13(TritonHs.MainAssemblyPath, "", "ActorNames", "GetZoneActor", new Class272.Enum20[] { Class272.Enum20.Class }, objArray1)); }
public void SetEntityDef(EntityDef entityDef) { object[] objArray1 = new object[] { entityDef }; base.method_8("SetEntityDef", objArray1); }
public bool Filter(EntityDef def) { object[] objArray1 = new object[] { def }; return(base.method_11 <bool>("Filter", objArray1)); }
public static string TransformCardText(EntityDef entityDef, GAME_TAG textTag) { Class272.Enum20[] enumArray1 = new Class272.Enum20[] { Class272.Enum20.Class, Class272.Enum20.ValueType }; object[] objArray1 = new object[] { entityDef, textTag }; return(MonoClass.smethod_13(TritonHs.MainAssemblyPath, "", "TextUtils", "TransformCardText", enumArray1, objArray1)); }