コード例 #1
0
        internal static DataJewelry _create(Config.Stream os)
        {
            var self = new DataJewelry();

            self.ID              = os.ReadInt32();
            self.Name            = os.ReadString();
            self.IconFile        = os.ReadString();
            self.LvlRank         = Config.DataLevelrank._create(os);
            self.Type            = os.ReadString();
            self.SuitID          = os.ReadInt32();
            self.KeyAbility      = os.ReadInt32();
            self.KeyAbilityValue = os.ReadInt32();
            self.SalePrice       = os.ReadInt32();
            self.Description     = os.ReadString();
            return(self);
        }
コード例 #2
0
ファイル: DataJewelry.cs プロジェクト: stallboy/configgen
 internal static DataJewelry _create(Config.Stream os)
 {
     var self = new DataJewelry();
     self.ID = os.ReadInt32();
     self.Name = os.ReadString();
     self.IconFile = os.ReadString();
     self.LvlRank = Config.DataLevelrank._create(os);
     self.Type = os.ReadString();
     self.SuitID = os.ReadInt32();
     self.KeyAbility = os.ReadInt32();
     self.KeyAbilityValue = os.ReadInt32();
     self.SalePrice = os.ReadInt32();
     self.Description = os.ReadString();
     return self;
 }