예제 #1
0
 internal Entity(Triton.Game.Mapping.Entity backingObject) : base(backingObject)
 {
     this.Entity_0            = backingObject;
     this.EntityDef           = Class274.Class274_0.method_3(this.Entity_0.GetEntityDef());
     this.Name                = this.Entity_0.GetName();
     this.Id                  = this.Entity_0.GetCardId();
     this.Class               = this.Entity_0.GetClass();
     this.Race                = this.Entity_0.GetRace();
     this.RealTimeCost        = this.Entity_0.GetRealTimeCost();
     this.RealTimeRemainingHP = this.Entity_0.GetRealTimeRemainingHP();
     this.RealTimeAttack      = this.Entity_0.GetRealTimeAttack();
     this.RealTimeArmor       = this.Entity_0.m_realTimeArmor;
     this.RealTimeDamage      = this.Entity_0.m_realTimeDamage;
     this.Attachments         = new List <Triton.Game.Abstraction.Entity>();
     foreach (Triton.Game.Mapping.Entity entity in this.Entity_0.GetAttachments())
     {
         this.Attachments.Add(Class274.Class274_0.method_2(entity));
     }
 }
예제 #2
0
 internal EntityBase(Triton.Game.Mapping.Entity backingObject)
 {
     this.EntityBase_0              = backingObject;
     this.CanAttack                 = this.EntityBase_0.CanAttack();
     this.CanBeAttacked             = this.EntityBase_0.CanBeAttacked();
     this.CanBeDamaged              = this.EntityBase_0.CanBeDamaged();
     this.CanBeTargetedByAbilities  = this.EntityBase_0.CanBeTargetedByAbilities();
     this.CanBeTargetedByHeroPowers = this.EntityBase_0.CanBeTargetedByHeroPowers();
     this.CanBeTargetedByOpponents  = this.EntityBase_0.CanBeTargetedByOpponents();
     this.Armor                      = this.EntityBase_0.GetArmor();
     this.Attack                     = this.EntityBase_0.GetATK();
     this.Attached                   = this.EntityBase_0.GetAttached();
     this.CardSet                    = this.EntityBase_0.GetCardSet();
     this.CardType                   = this.EntityBase_0.GetCardType();
     this.Cost                       = this.EntityBase_0.GetCost();
     this.CreatorId                  = this.EntityBase_0.GetCreatorId();
     this.Damage                     = this.EntityBase_0.GetDamage();
     this.Durability                 = this.EntityBase_0.GetDurability();
     this.EntityId                   = this.EntityBase_0.GetEntityId();
     this.Fatigue                    = this.EntityBase_0.GetFatigue();
     this.Health                     = this.EntityBase_0.GetHealth();
     this.NumAttacksThisTurn         = this.EntityBase_0.GetNumAttacksThisTurn();
     this.NumTurnsInPlay             = this.EntityBase_0.GetNumTurnsInPlay();
     this.RemainingHP                = this.EntityBase_0.GetRemainingHP();
     this.SpellPower                 = this.EntityBase_0.GetSpellPower();
     this.Zone                       = this.EntityBase_0.GetZone();
     this.ZonePosition               = this.EntityBase_0.GetZonePosition();
     this.HasAura                    = this.EntityBase_0.HasAura();
     this.ControllerId               = this.EntityBase_0.GetControllerId();
     this.HasBattlecry               = this.EntityBase_0.HasBattlecry();
     this.HasCharge                  = this.EntityBase_0.HasCharge();
     this.HasCombo                   = this.EntityBase_0.HasCombo();
     this.HasCustomKeywordEffect     = this.EntityBase_0.HasCustomKeywordEffect();
     this.DisplayedCreatorId         = this.EntityBase_0.GetDisplayedCreatorId();
     this.HasDeathrattle             = this.EntityBase_0.HasDeathrattle();
     this.HasDivineShield            = this.EntityBase_0.HasDivineShield();
     this.HasHealthMin               = this.EntityBase_0.HasHealthMin();
     this.HasSpellPower              = this.EntityBase_0.HasSpellPower();
     this.HasSpellPowerDouble        = this.EntityBase_0.HasSpellPowerDouble();
     this.HasTaunt                   = this.EntityBase_0.HasTaunt();
     this.HasTriggerVisual           = this.EntityBase_0.HasTriggerVisual();
     this.HasWindfury                = this.EntityBase_0.HasWindfury();
     this.IsAffectedBySpellPower     = this.EntityBase_0.IsAffectedBySpellPower();
     this.IsAsleep                   = this.EntityBase_0.IsAsleep();
     this.IsAttached                 = this.EntityBase_0.IsAttached();
     this.IsCharacter                = this.EntityBase_0.IsCharacter();
     this.IsDamaged                  = this.EntityBase_0.IsDamaged();
     this.IsElite                    = this.EntityBase_0.IsElite();
     this.IsEnchantment              = this.EntityBase_0.IsEnchantment();
     this.IsEnraged                  = this.EntityBase_0.IsEnraged();
     this.IsExhausted                = this.EntityBase_0.IsExhausted();
     this.IsFreeze                   = this.EntityBase_0.IsFreeze();
     this.IsFrozen                   = this.EntityBase_0.IsFrozen();
     this.IsGame                     = this.EntityBase_0.IsGame();
     this.IsHero                     = this.EntityBase_0.IsHero();
     this.IsHeroPower                = this.EntityBase_0.IsHeroPower();
     this.IsImmune                   = this.EntityBase_0.IsImmune();
     this.IsImmuneWhileAttacking     = this.EntityBase_0.GetTag(GAME_TAG.IMMUNE_WHILE_ATTACKING) == 1;
     this.IsItem                     = this.EntityBase_0.IsItem();
     this.IsMagnet                   = this.EntityBase_0.IsMagnet();
     this.IsMinion                   = this.EntityBase_0.IsMinion();
     this.IsPlayer                   = this.EntityBase_0.IsPlayer();
     this.IsPoisonous                = this.EntityBase_0.IsPoisonous();
     this.IsRecentlyArrived          = this.EntityBase_0.IsRecentlyArrived();
     this.IsSecret                   = this.EntityBase_0.IsSecret();
     this.IsSilenced                 = this.EntityBase_0.IsSilenced();
     this.IsSpell                    = this.EntityBase_0.IsSpell();
     this.IsStealthed                = this.EntityBase_0.IsStealthed();
     this.IsToken                    = this.EntityBase_0.IsToken();
     this.IsWeapon                   = this.EntityBase_0.IsWeapon();
     this.ReferencesBattlecry        = this.EntityBase_0.ReferencesBattlecry();
     this.ReferencesCharge           = this.EntityBase_0.ReferencesCharge();
     this.ReferencesDeathrattle      = this.EntityBase_0.ReferencesDeathrattle();
     this.ReferencesDivineShield     = this.EntityBase_0.ReferencesDivineShield();
     this.ReferencesImmune           = this.EntityBase_0.ReferencesImmune();
     this.ReferencesSecret           = this.EntityBase_0.ReferencesSecret();
     this.ReferencesSpellPower       = this.EntityBase_0.ReferencesSpellPower();
     this.ReferencesStealth          = this.EntityBase_0.ReferencesStealth();
     this.ReferencesTaunt            = this.EntityBase_0.ReferencesTaunt();
     this.ReferencesWindfury         = this.EntityBase_0.ReferencesWindfury();
     this.LastAffectedBy             = this.EntityBase_0.GetTag(GAME_TAG.LAST_AFFECTED_BY);
     this.CardTarget                 = this.EntityBase_0.GetTag(GAME_TAG.CARD_TARGET);
     this.NumMinionsPlayedThisTurn   = this.EntityBase_0.GetTag(GAME_TAG.NUM_MINIONS_PLAYED_THIS_TURN);
     this.NumCardsPlayedThisTurn     = this.EntityBase_0.GetTag(GAME_TAG.NUM_MINIONS_PLAYED_THIS_TURN);
     this.OverloadOwed               = this.EntityBase_0.GetTag(GAME_TAG.OVERLOAD_OWED);
     this.OverloadLocked             = this.EntityBase_0.GetTag(GAME_TAG.OVERLOAD_LOCKED);
     this.HasInspire                 = this.EntityBase_0.HasInspire();
     this.CanBeTargetedByBattlecries = this.EntityBase_0.CanBeTargetedByBattlecries();
     this.DontShowImmune             = this.EntityBase_0.DontShowImmune();
     this.IsObfuscated               = this.EntityBase_0.IsObfuscated();
     this.CannotAttackHeroes         = this.EntityBase_0.CannotAttackHeroes();
     this.HasHeroPowerDamage         = this.EntityBase_0.HasHeroPowerDamage();
     this.Windfury                   = this.EntityBase_0.GetWindfury();
     this.HasOverload                = this.EntityBase_0.HasOverload();
     this.IsBasicCardUnlock          = this.EntityBase_0.IsBasicCardUnlock();
     this.HasEvilGlow                = this.EntityBase_0.HasEvilGlow();
 }
예제 #3
0
 internal HSCard(Triton.Game.Mapping.Entity entity)
 {
     this.Entity_0 = entity;
 }