Exemplo n.º 1
0
 public void Parse(GameBitBuffer buffer)
 {
     Field0          = buffer.ReadInt(32);
     Field1          = buffer.ReadInt(32);
     Field2          = buffer.ReadInt(32);
     Gender          = buffer.ReadInt(29);
     PlayerSavedData = new PlayerSavedData();
     PlayerSavedData.Parse(buffer);
     QuestRewardHistoryEntriesCount = buffer.ReadInt(32);
     tQuestRewardHistory            = new PlayerQuestRewardHistoryEntry[buffer.ReadInt(7)];
     for (int i = 0; i < tQuestRewardHistory.Length; i++)
     {
         tQuestRewardHistory[i] = new PlayerQuestRewardHistoryEntry();
         tQuestRewardHistory[i].Parse(buffer);
     }
 }
Exemplo n.º 2
0
 public void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadInt(32);
     Field1 = buffer.ReadInt(32);
     Field2 = buffer.ReadInt(32);
     Gender = buffer.ReadInt(29);
     PlayerSavedData = new PlayerSavedData();
     PlayerSavedData.Parse(buffer);
     Field5 = buffer.ReadInt(32);
     tQuestRewardHistory = new PlayerQuestRewardHistoryEntry[buffer.ReadInt(7)];
     for (int i = 0; i < tQuestRewardHistory.Length; i++)
     {
         tQuestRewardHistory[i] = new PlayerQuestRewardHistoryEntry();
         tQuestRewardHistory[i].Parse(buffer);
     }
 }