示例#1
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);
 }
示例#2
0
 public void Parse(GameBitBuffer buffer)
 {
     HotBarButtons = new HotbarButtonData[6];
     for (int i = 0; i < HotBarButtons.Length; i++)
     {
         HotBarButtons[i] = new HotbarButtonData();
         HotBarButtons[i].Parse(buffer);
     }
     HotBarButton = new HotbarButtonData();
     HotBarButton.Parse(buffer);
     PlaytimeTotal = buffer.ReadInt(32);
     WaypointFlags = buffer.ReadInt(32);
     Field4        = new HirelingSavedData();
     Field4.Parse(buffer);
     Field5      = buffer.ReadInt(32);
     LearnedLore = new LearnedLore();
     LearnedLore.Parse(buffer);
     ActiveSkills = new ActiveSkillSavedData[6];
     for (int i = 0; i < ActiveSkills.Length; i++)
     {
         ActiveSkills[i] = new ActiveSkillSavedData();
         ActiveSkills[i].Parse(buffer);
     }
     snoTraits = new int /* sno */[3];
     for (int i = 0; i < snoTraits.Length; i++)
     {
         snoTraits[i] = buffer.ReadInt(32);
     }
     SavePointData = new SavePointData();
     SavePointData.Parse(buffer);
 }
示例#3
0
 public void Parse(GameBitBuffer buffer)
 {
     HotBarButtons = new HotbarButtonData[6];
     for (int i = 0; i < HotBarButtons.Length; i++)
     {
         HotBarButtons[i] = new HotbarButtonData();
         HotBarButtons[i].Parse(buffer);
     }
     HotBarButton = new HotbarButtonData();
     HotBarButton.Parse(buffer);
     PlaytimeTotal = buffer.ReadInt(32);
     WaypointFlags = buffer.ReadInt(32);
     Field4 = new HirelingSavedData();
     Field4.Parse(buffer);
     Field5 = buffer.ReadInt(32);
     LearnedLore = new LearnedLore();
     LearnedLore.Parse(buffer);
     ActiveSkills = new ActiveSkillSavedData[6];
     for (int i = 0; i < ActiveSkills.Length; i++)
     {
         ActiveSkills[i] = new ActiveSkillSavedData();
         ActiveSkills[i].Parse(buffer);
     }
     snoTraits = new int /* sno */[3];
     for (int i = 0; i < snoTraits.Length; i++) snoTraits[i] = buffer.ReadInt(32);
     SavePointData = new SavePointData();
     SavePointData.Parse(buffer);
 }
示例#4
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);
     }
     PlaytimeTotal = buffer.ReadInt(32);
     WaypointFlags = 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);
     }
     SavePointData = new SavePointData();
     SavePointData.Parse(buffer);
     m_SeenTutorials = new int /* sno */[64];
     for (int i = 0; i < m_SeenTutorials.Length; i++)
     {
         m_SeenTutorials[i] = buffer.ReadInt(32);
     }
 }