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); } }
public void Parse(GameBitBuffer buffer) { Field0 = buffer.ReadInt(32); Field1 = buffer.ReadInt(32); Field2 = buffer.ReadInt(32); Field3 = buffer.ReadInt(29); Field4 = new PlayerSavedData(); Field4.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); } }