Ejemplo n.º 1
0
 public void Parse(GameBitBuffer buffer)
 {
     Field0 = new HotbarButtonData[9];
     for (int i = 0; i < Field0.Length; i++) { Field0[i] = new HotbarButtonData(); Field0[i].Parse(buffer); }
     Field1 = new SkillKeyMapping[15];
     for (int i = 0; i < Field1.Length; i++) { Field1[i] = new SkillKeyMapping(); Field1[i].Parse(buffer); }
     Field2 = buffer.ReadInt(32);
     Field3 = buffer.ReadInt(32);
     Field4 = new HirelingSavedData();
     Field4.Parse(buffer);
     Field5 = buffer.ReadInt(32);
     Field6 = new LearnedLore();
     Field6.Parse(buffer);
     snoActiveSkills = new int /* sno */[6];
     for (int i = 0; i < snoActiveSkills.Length; i++) snoActiveSkills[i] = buffer.ReadInt(32);
     snoTraits = new int /* sno */[3];
     for (int i = 0; i < snoTraits.Length; i++) snoTraits[i] = buffer.ReadInt(32);
     Field9 = new SavePointData();
     Field9.Parse(buffer);
     m_SeenTutorials = new int /* sno */[64];
     for (int i = 0; i < m_SeenTutorials.Length; i++) m_SeenTutorials[i] = buffer.ReadInt(32);
 }
Ejemplo n.º 2
0
 public override void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadInt(4) + (-1);
     Field1 = new HotbarButtonData();
     Field1.Parse(buffer);
 }