public override void Parse(GameBitBuffer buffer) { ActorID = buffer.ReadUInt(32); ActorSNOId = buffer.ReadInt(32); Field2 = buffer.ReadInt(5); Field3 = buffer.ReadInt(2) + (-1); if (buffer.ReadBool()) { WorldLocation = new WorldLocationMessageData(); WorldLocation.Parse(buffer); } if (buffer.ReadBool()) { InventoryLocation = new InventoryLocationMessageData(); InventoryLocation.Parse(buffer); } GBHandle = new GBHandle(); GBHandle.Parse(buffer); Field7 = buffer.ReadInt(32); NameSNOId = buffer.ReadInt(32); Quality = buffer.ReadInt(4) + (-1); Field10 = (byte)buffer.ReadInt(8); if (buffer.ReadBool()) { Field11 = buffer.ReadInt(32); } if (buffer.ReadBool()) { MarkerSetSNO = buffer.ReadInt(32); } if (buffer.ReadBool()) { MarkerSetIndex = buffer.ReadInt(32); } }
public override void Parse(GameBitBuffer buffer) { Field0 = buffer.ReadInt(32); if (buffer.ReadBool()) { Position = new Vector3D(); Position.Parse(buffer); } if (buffer.ReadBool()) { Angle = buffer.ReadFloat32(); } if (buffer.ReadBool()) { Field3 = buffer.ReadBool(); } if (buffer.ReadBool()) { Field4 = buffer.ReadFloat32(); } if (buffer.ReadBool()) { Field5 = buffer.ReadInt(24); } if (buffer.ReadBool()) { Field6 = buffer.ReadInt(21) + (-1); } if (buffer.ReadBool()) { Field7 = buffer.ReadInt(32); } }
public override void Parse(GameBitBuffer buffer) { Field0 = buffer.ReadInt(32); Field1 = buffer.ReadInt(32); Field2 = buffer.ReadInt(5); Field3 = buffer.ReadInt(2) + (-1); if (buffer.ReadBool()) { Field4 = new WorldLocationMessageData(); Field4.Parse(buffer); } if (buffer.ReadBool()) { Field5 = new InventoryLocationMessageData(); Field5.Parse(buffer); } Field6 = new GBHandle(); Field6.Parse(buffer); Field7 = buffer.ReadInt(32); Field8 = buffer.ReadInt(32); Field9 = buffer.ReadInt(4) + (-1); Field10 = (byte)buffer.ReadInt(8); if (buffer.ReadBool()) { Field11 = buffer.ReadInt(32); } if (buffer.ReadBool()) { Field12 = buffer.ReadInt(32); } if (buffer.ReadBool()) { Field13 = buffer.ReadInt(32); } }
public override void Parse(GameBitBuffer buffer) { ActorID = buffer.ReadUInt(32); ActorSNOId = buffer.ReadInt(32); Field2 = buffer.ReadInt(6); Field3 = buffer.ReadInt(2) + (-1); if (buffer.ReadBool()) { WorldLocation = new WorldLocationMessageData(); WorldLocation.Parse(buffer); } if (buffer.ReadBool()) { InventoryLocation = new InventoryLocationMessageData(); InventoryLocation.Parse(buffer); } GBHandle = new GBHandle(); GBHandle.Parse(buffer); Field7 = buffer.ReadInt(32); NameSNOId = buffer.ReadInt(32); Quality = buffer.ReadInt(4) + (-1); Field10 = (byte)buffer.ReadInt(8); if (buffer.ReadBool()) { Field11 = buffer.ReadInt(32); } if (buffer.ReadBool()) { MarkerSetSNO = buffer.ReadInt(32); } if (buffer.ReadBool()) { MarkerSetIndex = buffer.ReadInt(32); } }
public override void Parse(GameBitBuffer buffer) { ActorID = buffer.ReadUInt(32); ActorSNO = buffer.ReadInt(32); Field2 = buffer.ReadInt(5); Field3 = buffer.ReadInt(2) + (-1); if (buffer.ReadBool()) { WorldLocation = new WorldLocationMessageData(); WorldLocation.Parse(buffer); } if (buffer.ReadBool()) { InventoryLocation = new InventoryLocationMessageData(); InventoryLocation.Parse(buffer); } GBHandle = new GBHandle(); GBHandle.Parse(buffer); Field7 = buffer.ReadInt(32); Field8 = buffer.ReadInt(32); Field9 = buffer.ReadInt(4) + (-1); Field10 = (byte)buffer.ReadInt(8); if (buffer.ReadBool()) { Field11 = buffer.ReadInt(32); } if (buffer.ReadBool()) { Field12 = buffer.ReadInt(32); } if (buffer.ReadBool()) { Field13 = buffer.ReadInt(32); } }
public override void Parse(GameBitBuffer buffer) { snoQuest = buffer.ReadInt(32); snoLevelArea = buffer.ReadInt(32); StepID = buffer.ReadInt(32); Field3 = buffer.ReadBool(); Failed = buffer.ReadBool(); }
public override void Parse(GameBitBuffer buffer) { snoQuest = buffer.ReadInt(32); snoLevelArea = buffer.ReadInt(32); Field2 = buffer.ReadInt(32); Field3 = buffer.ReadBool(); Field4 = buffer.ReadBool(); }
public override void Parse(GameBitBuffer buffer) { Field0 = buffer.ReadInt(32); Field1 = new Vector3D(); Field1.Parse(buffer); if (buffer.ReadBool()) { Field2 = buffer.ReadBool(); } }
public override void Parse(GameBitBuffer buffer) { Field0 = buffer.ReadCharArray(512); if (buffer.ReadBool()) { Field1 = buffer.ReadInt(32); } if (buffer.ReadBool()) { Field2 = buffer.ReadInt(32); } }
public override void Parse(GameBitBuffer buffer) { Field0 = buffer.ReadInt(32); Field1 = new Vector3D(); Field1.Parse(buffer); Field2 = buffer.ReadFloat32(); Field3 = buffer.ReadBool(); Field4 = buffer.ReadInt(25); if (buffer.ReadBool()) { Field5 = buffer.ReadInt(16); } }
public override void Parse(GameBitBuffer buffer) { ActorId = buffer.ReadInt(32); Position = new Vector3D(); Position.Parse(buffer); Angle = buffer.ReadFloat32(); Field3 = buffer.ReadBool(); Field4 = buffer.ReadInt(25); if (buffer.ReadBool()) { Field5 = buffer.ReadInt(16); } }
public override void Parse(GameBitBuffer buffer) { ActorId = buffer.ReadInt(32); if (buffer.ReadBool()) { Position = new Vector3D(); Position.Parse(buffer); } if (buffer.ReadBool()) { Angle = buffer.ReadFloat32(); } if (buffer.ReadBool()) { TurnImmediately = buffer.ReadBool(); } if (buffer.ReadBool()) { Speed = buffer.ReadFloat32(); } if (buffer.ReadBool()) { Field5 = buffer.ReadInt(25); } if (buffer.ReadBool()) { AnimationTag = buffer.ReadInt(21) + (-1); } if (buffer.ReadBool()) { Field7 = buffer.ReadInt(32); } }
public override void Parse(GameBitBuffer buffer) { Field0 = buffer.ReadInt(32); if (buffer.ReadBool()) { Position = new Vector3D(); Position.Parse(buffer); } if (buffer.ReadBool()) { Field2 = buffer.ReadFloat32(); } if (buffer.ReadBool()) { Field3 = buffer.ReadBool(); } if (buffer.ReadBool()) { Field4 = buffer.ReadFloat32(); } if (buffer.ReadBool()) { Field5 = buffer.ReadInt(24); } if (buffer.ReadBool()) { Field6 = buffer.ReadInt(21) + (-1); } if (buffer.ReadBool()) { Field7 = buffer.ReadInt(32); } }
public override void Parse(GameBitBuffer buffer) { ActorId = buffer.ReadInt(32); if (buffer.ReadBool()) { Position = new Vector3D(); Position.Parse(buffer); } if (buffer.ReadBool()) { Angle = buffer.ReadFloat32(); } if (buffer.ReadBool()) { Field3 = buffer.ReadBool(); } if (buffer.ReadBool()) { Speed = buffer.ReadFloat32(); } if (buffer.ReadBool()) { Field5 = buffer.ReadInt(25); } if (buffer.ReadBool()) { AnimationTag = buffer.ReadInt(21) + (-1); } if (buffer.ReadBool()) { Field7 = buffer.ReadInt(32); } }
public override void Parse(GameBitBuffer buffer) { HirelingIndex = buffer.ReadInt(2); Field1 = buffer.ReadBool(); Field2 = buffer.ReadInt(32); Level = buffer.ReadInt(7); }
public void Parse(GameBitBuffer buffer) { Field0 = buffer.ReadBool(); snoAffixStringList = buffer.ReadInt(32); Field2 = buffer.ReadInt(32); Field3 = buffer.ReadInt(32); }
public override void Parse(GameBitBuffer buffer) { ActorID = buffer.ReadUInt(32); HitDealer = buffer.ReadUInt(32); Field2 = buffer.ReadInt(3) + (-1); Field3 = buffer.ReadBool(); }
public void ParseValue(GameBitBuffer buffer) { switch (Attribute.EncodingType) { case GameAttributeEncoding.Int: Int = buffer.ReadInt(Attribute.BitCount); break; case GameAttributeEncoding.IntMinMax: Int = buffer.ReadInt(Attribute.BitCount) + Attribute.Min.Value; break; case GameAttributeEncoding.Float16: Float = buffer.ReadFloat16(); break; case GameAttributeEncoding.Float16Or32: Float = buffer.ReadBool() ? buffer.ReadFloat16() : buffer.ReadFloat32(); break; case GameAttributeEncoding.Float32: Float = buffer.ReadFloat32(); break; default: throw new Exception("bad voodoo"); } }
public override void Parse(GameBitBuffer buffer) { Field0 = buffer.ReadInt(2); Field1 = buffer.ReadInt(32); Field2 = buffer.ReadInt(32); Field3 = buffer.ReadBool(); }
public override void Parse(GameBitBuffer buffer) { Field0 = buffer.ReadInt(2); Field1 = buffer.ReadBool(); Field2 = buffer.ReadInt(32); Field3 = buffer.ReadInt(7); }
public override void Parse(GameBitBuffer buffer) { Field0 = buffer.ReadInt(32); Field1 = new WorldPlace(); Field1.Parse(buffer); Field2 = buffer.ReadInt(32); m_snoStringList = buffer.ReadInt(32); Field4 = buffer.ReadInt(32); Field5 = buffer.ReadFloat32(); Field6 = buffer.ReadFloat32(); Field7 = buffer.ReadFloat32(); Field8 = buffer.ReadInt(32); Field9 = buffer.ReadBool(); Field10 = buffer.ReadBool(); Field11 = buffer.ReadBool(); Field12 = buffer.ReadInt(32); }
public override void Parse(GameBitBuffer buffer) { Field0 = buffer.ReadInt(32); Field1 = new WorldPlace(); Field1.Parse(buffer); Field2 = buffer.ReadInt(32); Field3 = buffer.ReadInt(32); m_snoStringList = buffer.ReadInt(32); Field5 = buffer.ReadInt(32); Field6 = buffer.ReadBool(); Field7 = buffer.ReadBool(); Field8 = buffer.ReadBool(); Field9 = buffer.ReadFloat32(); Field10 = buffer.ReadFloat32(); Field11 = buffer.ReadFloat32(); Field12 = buffer.ReadInt(32); }
public override void Parse(GameBitBuffer buffer) { ActorId = buffer.ReadUInt(32); Effect = (Effect)buffer.ReadInt(7) + (-1); if (buffer.ReadBool()) { OptionalParameter = buffer.ReadInt(32); } }
public override void Parse(GameBitBuffer buffer) { Field0 = buffer.ReadInt(32); Field1 = new Vector3D(); Field1.Parse(buffer); Field2 = buffer.ReadFloat32(); Field3 = buffer.ReadBool(); Field4 = buffer.ReadInt(25); }
public override void Parse(GameBitBuffer buffer) { Field0 = buffer.ReadInt(32); Field1 = buffer.ReadInt(7) + (-1); if (buffer.ReadBool()) { Field2 = buffer.ReadInt(32); } }
public override void Parse(GameBitBuffer buffer) { ChunkID = buffer.ReadUInt(32); SceneSNO = buffer.ReadInt(32); Transform = new PRTransform(); Transform.Parse(buffer); WorldID = buffer.ReadUInt(32); MiniMapVisibility = buffer.ReadBool(); ; }
public override void Parse(GameBitBuffer buffer) { ChunkID = buffer.ReadUInt(32); SceneSNO = buffer.ReadInt(32); Transform = new PRTransform(); Transform.Parse(buffer); WorldID = buffer.ReadUInt(32); MiniMapVisibility = buffer.ReadBool();; }
public override void Parse(GameBitBuffer buffer) { snoPower = buffer.ReadInt(32); if (buffer.ReadBool()) { Field1 = new AnimPreplayData(); Field1.Parse(buffer); } }
public override void Parse(GameBitBuffer buffer) { Field0 = buffer.ReadInt(32); Field1 = buffer.ReadInt(32); Field2 = buffer.ReadInt(5); Field3 = new WorldPlace(); Field3.Parse(buffer); Field4 = buffer.ReadBool(); }
public override void Parse(GameBitBuffer buffer) { PowerSNO = buffer.ReadInt(32); if (buffer.ReadBool()) { Field1 = new AnimPreplayData(); Field1.Parse(buffer); } }
public void Parse(GameBitBuffer buffer) { if (buffer.ReadBool()) { Field0 = buffer.ReadInt(20); } int index = buffer.ReadInt(10) & 0xFFF; Attribute = GameAttribute.Attributes[index]; }
public override void Parse(GameBitBuffer buffer) { ActorId = buffer.ReadInt(32); EffectOpcode = (EffectOpcode)buffer.ReadInt(7) + (-1); if (buffer.ReadBool()) { Position = new Vector3(); Position = Position.Parse(buffer); } }
public void Parse(GameBitBuffer buffer) { SNOConversation = buffer.ReadInt(32); Field1 = buffer.ReadInt(32); Field2 = buffer.ReadBool(); Field3 = buffer.ReadBool(); LineID = buffer.ReadInt(32); Speaker = buffer.ReadInt(32); Field5 = buffer.ReadInt(32); TextClass = (Class)buffer.ReadInt(32); Gender = (VoiceGender)buffer.ReadInt(32); AudioClass = (Class)buffer.ReadInt(32); SNOSpeakerActor = buffer.ReadInt(32); Name = buffer.ReadCharArray(49); Field11 = buffer.ReadInt(32); AnimationTag = buffer.ReadInt(32); Duration = buffer.ReadInt(32); Field14 = buffer.ReadInt(32); Field15 = buffer.ReadInt(32); }
public void Parse(GameBitBuffer buffer) { SNOConversation = buffer.ReadInt(32); Field1 = buffer.ReadInt(32); Field2 = buffer.ReadBool(); Field3 = buffer.ReadBool(); LineID = buffer.ReadInt(32); Speaker = (Speaker)buffer.ReadInt(32); Field5 = buffer.ReadInt(32); TextClass = (Class)buffer.ReadInt(32); Gender = (VoiceGender)buffer.ReadInt(32); AudioClass = (Class)buffer.ReadInt(32); SNOSpeakerActor = buffer.ReadInt(32); Name = buffer.ReadCharArray(49); Field11 = buffer.ReadInt(32); AnimationTag = buffer.ReadInt(32); Duration = buffer.ReadInt(32); Id = buffer.ReadInt(32); Field15 = buffer.ReadInt(32); }
public override void Parse(GameBitBuffer buffer) { Field0 = new WorldPlace(); Field0.Parse(buffer); Field1 = buffer.ReadInt(32); if (buffer.ReadBool()) { Field2 = buffer.ReadInt(32); } Field3 = buffer.ReadInt(6); }
public override void Parse(GameBitBuffer buffer) { Place = new WorldPlace(); Place.Parse(buffer); Amount = buffer.ReadInt(32); if (buffer.ReadBool()) { OptionalGoldAmount = buffer.ReadInt(32); } Type = (FloatType)buffer.ReadInt(6); }
public override void Parse(GameBitBuffer buffer) { Place = new WorldPlace(); Place.Parse(buffer); Count = buffer.ReadInt(32); if (buffer.ReadBool()) { Field2 = buffer.ReadInt(32); } Field3 = buffer.ReadInt(6); }
public override void Parse(GameBitBuffer buffer) { Field0 = buffer.ReadInt(32); Field1 = buffer.ReadInt(32); Field2 = new WorldPlace(); Field2.Parse(buffer); if (buffer.ReadBool()) { Field3 = buffer.ReadInt(4) + (-1); } Field4 = buffer.ReadInt(32); if (buffer.ReadBool()) { Field5 = buffer.ReadFloat32(); } Field6 = buffer.ReadInt(4); Field7 = buffer.ReadInt(6); if (buffer.ReadBool()) { Field8 = buffer.ReadInt(32); } if (buffer.ReadBool()) { Field9 = buffer.ReadInt(32); } if (buffer.ReadBool()) { Field10 = buffer.ReadInt(32); } if (buffer.ReadBool()) { Field11 = buffer.ReadInt(32); } if (buffer.ReadBool()) { Field12 = buffer.ReadInt(32); } if (buffer.ReadBool()) { Field13 = buffer.ReadFloat32(); } if (buffer.ReadBool()) { Field14 = buffer.ReadFloat32(); } }
public void Parse(GameBitBuffer buffer) { HirelingIndex = buffer.ReadInt(2); Field1 = buffer.ReadInt(32); Level = buffer.ReadInt(7); Field3 = buffer.ReadInt(32); Field4 = buffer.ReadBool(); Skill1SNOId = buffer.ReadInt(32); Skill2SNOId = buffer.ReadInt(32); Skill3SNOId = buffer.ReadInt(32); Skill4SNOId = buffer.ReadInt(32); }
public void Parse(GameBitBuffer buffer) { Field0 = buffer.ReadInt(2); Field1 = buffer.ReadInt(32); Field2 = buffer.ReadInt(7); Field3 = buffer.ReadInt(32); Field4 = buffer.ReadBool(); Field5 = buffer.ReadInt(32); Field6 = buffer.ReadInt(32); Field7 = buffer.ReadInt(32); Field8 = buffer.ReadInt(32); }
public void Parse(GameBitBuffer buffer) { Field0 = buffer.ReadBool(); Field1 = buffer.ReadInt(32); Field2 = buffer.ReadInt(32); Field3 = buffer.ReadInt(32); Field4 = buffer.ReadInt(32); Field5 = buffer.ReadInt(32); Field6 = new int[2]; for (int i = 0; i < Field6.Length; i++) Field6[i] = buffer.ReadInt(32); Field7 = new int[2]; for (int i = 0; i < Field7.Length; i++) Field7[i] = buffer.ReadInt(32); }
public override void Parse(GameBitBuffer buffer) { Tick = buffer.ReadInt(32); Field1 = buffer.ReadInt(4); Position = new Vector3D(); Position.Parse(buffer); Angle = buffer.ReadFloat32(); Speed = buffer.ReadFloat32(); Field5 = buffer.ReadInt(32); AnimationTag = buffer.ReadInt(21) + (-1); if(buffer.ReadBool()) Field7 = buffer.ReadInt(32); }
public override void Parse(GameBitBuffer buffer) { Field0 = buffer.ReadInt(3); Field1 = buffer.ReadCharArray(128); ToonName = buffer.ReadCharArray(101); Field3 = buffer.ReadInt(5) + (-1); Field4 = buffer.ReadInt(3) + (-1); snoActorPortrait = buffer.ReadInt(32); Field6 = buffer.ReadInt(7); Field7 = new HeroStateData(); Field7.Parse(buffer); Field8 = buffer.ReadBool(); Field9 = buffer.ReadInt(32); Field10 = buffer.ReadInt(32); }
public override void Parse(GameBitBuffer buffer) { Field0 = buffer.ReadInt(3) + (-1); TargetID = buffer.ReadUInt(32); Field2 = new WorldPlace(); Field2.Parse(buffer); PowerSNO = buffer.ReadInt(32); Field4 = buffer.ReadInt(32); Field5 = buffer.ReadInt(2); if (buffer.ReadBool()) { Field6 = new AnimPreplayData(); Field6.Parse(buffer); } }
public override void Parse(GameBitBuffer buffer) { Tick = buffer.ReadInt(32); Field1 = buffer.ReadInt(4); Position = new Vector3D(); Position.Parse(buffer); Angle = buffer.ReadFloat32(); Speed = buffer.ReadFloat32(); Field5 = buffer.ReadInt(32); AnimationTag = buffer.ReadInt(21) + (-1); if (buffer.ReadBool()) { Field7 = buffer.ReadInt(32); } }
public override void Parse(GameBitBuffer buffer) { Field0 = buffer.ReadCharArray(33); Field1 = buffer.ReadInt(3) + (-1); Field2 = buffer.ReadInt(32); Field3 = buffer.ReadInt(32); Field4 = buffer.ReadInt(32); Field5 = buffer.ReadBool(); Field6 = buffer.ReadInt(32); Field7 = buffer.ReadInt(16); Field8 = buffer.ReadInt(3) + (1); Field9 = buffer.ReadInt(32); Field10 = buffer.ReadInt(32); Field11 = (short)buffer.ReadInt(16); }