Beispiel #1
0
 internal static DataLevelrank _create(Config.Stream os)
 {
     var self = new DataLevelrank();
     self.Level = os.ReadInt32();
     self.Rank = os.ReadInt32();
     return self;
 }
Beispiel #2
0
 internal static DataRange _create(Config.Stream os)
 {
     var self = new DataRange();
     self.Min = os.ReadInt32();
     self.Max = os.ReadInt32();
     return self;
 }
Beispiel #3
0
 internal static DataPosition _create(Config.Stream os)
 {
     var self = new DataPosition();
     self.X = os.ReadInt32();
     self.Y = os.ReadInt32();
     self.Z = os.ReadInt32();
     return self;
 }
Beispiel #4
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;
 }
Beispiel #5
0
 internal static DataSignin _create(Config.Stream os)
 {
     var self = new DataSignin();
     self.Id = os.ReadInt32();
     self.Item2countMap = new KeyedList<int, int>();
     for (var c = (int)os.ReadSize(); c > 0; c--)
         self.Item2countMap.Add(os.ReadInt32(), os.ReadInt32());
     self.Vipitem2vipcountMap = new KeyedList<int, int>();
     for (var c = (int)os.ReadSize(); c > 0; c--)
         self.Vipitem2vipcountMap.Add(os.ReadInt32(), os.ReadInt32());
     self.Viplevel = os.ReadInt32();
     self.IconFile = os.ReadString();
     return self;
 }
Beispiel #6
0
 internal static DataLoot _create(Config.Stream os)
 {
     var self = new DataLoot();
     self.Lootid = os.ReadInt32();
     self.Ename = os.ReadString();
     self.Name = os.ReadString();
     self.ChanceList = new List<int>();
     for (var c = (int)os.ReadSize(); c > 0; c--)
         self.ChanceList.Add(os.ReadInt32());
     return self;
 }