public void Parse(GameBitBuffer buffer) { Field0 = new HotbarButtonData[6]; for(int i = 0;i < _Field0.Length;i++) { _Field0[i] = new HotbarButtonData(); _Field0[i].Parse(buffer); } Field1 = new HotbarButtonData(); Field1.Parse(buffer); Field2 = (byte)buffer.ReadInt(8); Field3 = buffer.ReadInt(32); Field4 = buffer.ReadInt(32); Field5 = new HirelingSavedData(); Field5.Parse(buffer); Field6 = buffer.ReadInt(32); Field7 = new LearnedLore(); Field7.Parse(buffer); Field8 = new ActiveSkillSavedData[6]; for(int i = 0;i < _Field8.Length;i++) { _Field8[i] = new ActiveSkillSavedData(); _Field8[i].Parse(buffer); } snoTraits = new int[3]; for(int i = 0;i < _snoTraits.Length;i++) _snoTraits[i] = buffer.ReadInt(32); Field10 = new SavePointData(); Field10.Parse(buffer); }
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[6]; for(int i = 0;i < _snoActiveSkills.Length;i++) _snoActiveSkills[i] = buffer.ReadInt(32); snoTraits = new int[3]; for(int i = 0;i < _snoTraits.Length;i++) _snoTraits[i] = buffer.ReadInt(32); Field9 = new SavePointData(); Field9.Parse(buffer); }