示例#1
0
 internal static DataMonster _create(Config.Stream os)
 {
     var self = new DataMonster();
     self.Id = os.ReadInt32();
     self.PosList = new List<Config.DataPosition>();
     for (var c = (int)os.ReadSize(); c > 0; c--)
         self.PosList.Add(Config.DataPosition._create(os));
     return self;
 }
示例#2
0
        internal static DataMonster _create(Config.Stream os)
        {
            var self = new DataMonster();

            self.Id      = os.ReadInt32();
            self.PosList = new List <Config.DataPosition>();
            for (var c = (int)os.ReadSize(); c > 0; c--)
            {
                self.PosList.Add(Config.DataPosition._create(os));
            }
            return(self);
        }