コード例 #1
0
        static internal Garrison ToGarrison(this WCFGarrison o)
        {
            Garrison result = new Garrison();

            result.Id        = o.Id;
            result.TokenType = o.TokenType;
            result.Terrain   = o.Terrain;
            result.Strength  = o.Strength;

            return(result);
        }
コード例 #2
0
ファイル: Garrison.cs プロジェクト: lantsev1981/Agot2Server
        public WCFGarrison ToWCFGarrison()
        {
            WCFGarrison result = new WCFGarrison();

            result.Id        = this.Id;
            result.Step      = this.Step;
            result.TokenType = this.TokenType;
            result.Terrain   = this.Terrain;
            result.Strength  = this.Strength;

            return(result);
        }