コード例 #1
0
ファイル: GlobalStruct.cs プロジェクト: yangfan111/common
        public WeaponPartsStruct Clone()
        {
            var result = new WeaponPartsStruct();

            result.UpperRail = UpperRail;
            result.LowerRail = LowerRail;
            result.Magazine  = Magazine;
            result.Stock     = Stock;
            result.Muzzle    = Muzzle;
            return(result);
        }
コード例 #2
0
ファイル: GlobalStruct.cs プロジェクト: yangfan111/CsharpCode
        public WeaponPartsStruct Clone()
        {
            var result = new WeaponPartsStruct();

            result.UpperRail = UpperRail;
            result.LowerRail = LowerRail;
            result.Magazine  = Magazine;
            result.Stock     = Stock;
            result.Muzzle    = Muzzle;
            result.SideRail  = SideRail;
            result.Bore      = Bore;
            result.Feed      = Feed;
            result.Trigger   = Trigger;
            result.Interlock = Interlock;
            result.Brake     = Brake;
            return(result);
        }