コード例 #1
0
        private ShieldHitValues CloneHit()
        {
            var hitClone = new ShieldHitValues
            {
                Amount     = ShieldHit.Amount,
                AttackerId = ShieldHit.AttackerId,
                HitPos     = ShieldHit.HitPos,
                DamageType = ShieldHit.DamageType
            };

            return(hitClone);
        }
コード例 #2
0
 public DataShieldHit(long entityId, ShieldHitValues state) : base(entityId)
 {
     State = state;
 }