Example #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);
 }
Example #2
0
 public void Parse(GameBitBuffer buffer)
 {
     HotBarButtons = new HotbarButtonData[9];
     for (int i = 0; i < HotBarButtons.Length; i++)
     {
         HotBarButtons[i] = new HotbarButtonData();
         HotBarButtons[i].Parse(buffer);
     }
     SkilKeyMappings = new SkillKeyMapping[15];
     for (int i = 0; i < SkilKeyMappings.Length; i++)
     {
         SkilKeyMappings[i] = new SkillKeyMapping();
         SkilKeyMappings[i].Parse(buffer);
     }
     Field2 = buffer.ReadInt(32);
     Field3 = buffer.ReadInt(32);
     Field4 = new HirelingSavedData();
     Field4.Parse(buffer);
     Field5      = buffer.ReadInt(32);
     LearnedLore = new LearnedLore();
     LearnedLore.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);
     }
 }