public override void Parse(GameBitBuffer buffer) { Field0 = new RequiredMessageHeader(); Field0.Parse(buffer); Field1 = new GameId(); Field1.Parse(buffer); Field2 = new EntityId(); Field2.Parse(buffer); Field3 = buffer.ReadInt(5) + (-1); }
public override void Parse(GameBitBuffer buffer) { Field0 = new RequiredMessageHeader(); Field0.Parse(buffer); PlayerIndex = buffer.ReadInt(3); ToonId = new EntityId(); ToonId.Parse(buffer); GameAccountId = new EntityId(); GameAccountId.Parse(buffer); ToonName = buffer.ReadCharArray(49); Field5 = buffer.ReadInt(5) + (-1); Field6 = buffer.ReadInt(3) + (-1); snoActorPortrait = buffer.ReadInt(32); Field8 = buffer.ReadInt(7); StateData = new HeroStateData(); StateData.Parse(buffer); Field10 = buffer.ReadBool(); Field11 = buffer.ReadInt(32); ActorID = buffer.ReadInt(32); }
public void FileRead(MpqFileStream stream, long offset) { stream.Position = offset + 0; Field0 = new RequiredMessageHeader(); Field0.FileRead(stream, stream.Position); stream.Position = offset + 8; Field1 = new GameId(); Field1.FileRead(stream, stream.Position); stream.Position = offset + 32; Field2 = new EntityId(); Field2.FileRead(stream, stream.Position); stream.Position = offset + 48; _Field3 = stream.ReadValueS32(); }
public void FileRead(MpqFileStream stream, long offset) { stream.Position = offset + 0; Field0 = new RequiredMessageHeader(); Field0.FileRead(stream, stream.Position); stream.Position = offset + 8; _PlayerIndex = stream.ReadValueS32(); stream.Position = offset + 16; ToonId = new EntityId(); ToonId.FileRead(stream, stream.Position); stream.Position = offset + 32; GameAccountId = new EntityId(); GameAccountId.FileRead(stream, stream.Position); stream.Position = offset + 48; ToonName = stream.ReadString(49); stream.Position = offset + 100; _Field5 = stream.ReadValueS32(); stream.Position = offset + 104; _Field6 = stream.ReadValueS32(); stream.Position = offset + 108; snoActorPortrait = stream.ReadValueS32(); stream.Position = offset + 112; _Field8 = stream.ReadValueS32(); stream.Position = offset + 116; StateData = new HeroStateData(); StateData.FileRead(stream, stream.Position); stream.Position = offset + 17168; Field10 = stream.ReadValueS32() == 1; stream.Position = offset + 17172; Field11 = stream.ReadValueS32(); stream.Position = offset + 17176; ActorID = stream.ReadValueS32(); }
public override void Parse(GameBitBuffer buffer) { Field0 = new RequiredMessageHeader(); Field0.Parse(buffer); ToonEntityId = new EntityId(); ToonEntityId.Parse(buffer); Field2 = new GameId(); Field2.Parse(buffer); GameId = buffer.ReadInt(32); Field4 = buffer.ReadInt64(64); Field5 = buffer.ReadInt(4) + (2); ProtocolHash = buffer.ReadInt(32); SNOPackHash = buffer.ReadInt(32); }
public void FileRead(MpqFileStream stream, long offset) { stream.Position = offset + 0; Field0 = new RequiredMessageHeader(); Field0.FileRead(stream, stream.Position); stream.Position = offset + 8; ToonEntityId = new EntityId(); ToonEntityId.FileRead(stream, stream.Position); stream.Position = offset + 24; Field2 = new GameId(); Field2.FileRead(stream, stream.Position); stream.Position = offset + 48; GameId = stream.ReadValueS32(); stream.Position = offset + 56; Field4 = stream.ReadValueS64(); stream.Position = offset + 64; _Field5 = stream.ReadValueS32(); stream.Position = offset + 68; ProtocolHash = stream.ReadValueS32(); stream.Position = offset + 72; SNOPackHash = stream.ReadValueS32(); }
public override void Parse(GameBitBuffer buffer) { Field0 = new RequiredMessageHeader(); Field0.Parse(buffer); Field1 = new EntityId(); Field1.Parse(buffer); }
public void FileRead(MpqFileStream stream, long offset) { stream.Position = offset + 0; Field0 = new RequiredMessageHeader(); Field0.FileRead(stream, stream.Position); stream.Position = offset + 8; Field1 = new EntityId(); Field1.FileRead(stream, stream.Position); }