public WCFGameUserInfo ToWCFGameUserInfo()
        {
            WCFGameUserInfo result = new WCFGameUserInfo
            {
                Step            = this.Step,
                Power           = this.Power,
                Supply          = this.Supply,
                ThroneInfluence = this.ThroneInfluence,
                BladeInfluence  = this.BladeInfluence,
                RavenInfluence  = this.RavenInfluence,
                IsBladeUse      = this.IsBladeUse,

                GameUserTerrain = new List <WCFGameUserTerrain>()
            };

            foreach (GameUserTerrain item in this.GameUserTerrain)
            {
                result.GameUserTerrain.Add(item.ToWCFGameUserTerrain());
            }

            result.Order = new List <WCFOrder>();
            foreach (Order item in this.Order)
            {
                result.Order.Add(item.ToWCFOrder());
            }

            result.PowerCounter = new List <WCFPowerCounter>();
            foreach (PowerCounter item in this.PowerCounter)
            {
                result.PowerCounter.Add(item.ToWCFPowerCounter());
            }

            result.Unit = new List <WCFUnit>();
            foreach (Unit item in this.Unit)
            {
                result.Unit.Add(item.ToWCFUnit());
            }

            result.UsedHomeCard = new List <WCFUsedHomeCard>();
            foreach (UsedHomeCard item in this.UsedHomeCard)
            {
                result.UsedHomeCard.Add(item.ToWCFUsedHomeCard());
            }

            return(result);
        }
        public WCFGameUserInfo ToWCFGameUserInfo()
        {
            WCFGameUserInfo result = new WCFGameUserInfo();

            result.Step            = this.Step;
            result.Power           = this.Power;
            result.Supply          = this.Supply;
            result.ThroneInfluence = this.ThroneInfluence;
            result.BladeInfluence  = this.BladeInfluence;
            result.RavenInfluence  = this.RavenInfluence;
            result.IsBladeUse      = this.IsBladeUse;

            result.GameUserTerrain = new List <WCFGameUserTerrain>();
            foreach (var item in this.GameUserTerrain)
            {
                result.GameUserTerrain.Add(item.ToWCFGameUserTerrain());
            }

            result.Order = new List <WCFOrder>();
            foreach (var item in this.Order)
            {
                result.Order.Add(item.ToWCFOrder());
            }

            result.PowerCounter = new List <WCFPowerCounter>();
            foreach (var item in this.PowerCounter)
            {
                result.PowerCounter.Add(item.ToWCFPowerCounter());
            }

            result.Unit = new List <WCFUnit>();
            foreach (var item in this.Unit)
            {
                result.Unit.Add(item.ToWCFUnit());
            }

            result.UsedHomeCard = new List <WCFUsedHomeCard>();
            foreach (var item in this.UsedHomeCard)
            {
                result.UsedHomeCard.Add(item.ToWCFUsedHomeCard());
            }

            return(result);
        }