Beispiel #1
0
        internal static DataJewelrysuit _create(Config.Stream os)
        {
            var self = new DataJewelrysuit();

            self.SuitID        = os.ReadInt32();
            self.Name          = os.ReadString();
            self.Ability1      = os.ReadInt32();
            self.Ability1Value = os.ReadInt32();
            self.Ability2      = os.ReadInt32();
            self.Ability2Value = os.ReadInt32();
            self.Ability3      = os.ReadInt32();
            self.Ability3Value = os.ReadInt32();
            self.SuitList      = new List <int>();
            for (var c = os.ReadInt32(); c > 0; c--)
            {
                self.SuitList.Add(os.ReadInt32());
            }
            return(self);
        }
Beispiel #2
0
 internal static DataJewelrysuit _create(Config.Stream os)
 {
     var self = new DataJewelrysuit();
     self.SuitID = os.ReadInt32();
     self.Name = os.ReadText();
     self.Ability1 = os.ReadInt32();
     self.Ability1Value = os.ReadInt32();
     self.Ability2 = os.ReadInt32();
     self.Ability2Value = os.ReadInt32();
     self.Ability3 = os.ReadInt32();
     self.Ability3Value = os.ReadInt32();
     self.SuitList = new List<int>();
     for (var c = (int)os.ReadSize(); c > 0; c--)
         self.SuitList.Add(os.ReadInt32());
     return self;
 }