public void GetDeaths() { Deaths = VAM.ReadDouble( (IntPtr)VAM.ReadInt32( (IntPtr)VAM.ReadInt32( (IntPtr)VAM.ReadInt32( (IntPtr)VAM.ReadInt32( (IntPtr)VAM.ReadInt32( Base + 0x18D5D4 ) + 0x14 ) + 0xB4 ) + 0x4 ) + 0xC ) + 0x2E0 ); }
public void GetPos() { (double X, double Y)temp = Pos; Pos.X = VAM.ReadDouble( (IntPtr)VAM.ReadInt32( (IntPtr)VAM.ReadInt32( (IntPtr)VAM.ReadInt32( (IntPtr)VAM.ReadInt32( Base + 0x2C73C4 ) + 0x7C ) + 0x330 ) + 0x0 ) + 0x50 ); Pos.Y = VAM.ReadDouble( (IntPtr)VAM.ReadInt32( (IntPtr)VAM.ReadInt32( (IntPtr)VAM.ReadInt32( (IntPtr)VAM.ReadInt32( Base + 0x2C73C4 ) + 0x7C ) + 0x330 ) + 0x0 ) + 0x58 ); if (!RoomChanged) { if (Pos.X != temp.X) { double diff = Math.Abs(temp.X - Pos.X); if (diff < 100) { DistanceTravelled.X += diff; } } if (Pos.Y != temp.Y) { double diff = Math.Abs(temp.Y - Pos.Y); if (diff < 100) { DistanceTravelled.Y += diff; } } } }
public void GetRoom() { int temp = Room; Room = VAM.ReadInt32(Base + 0x2C73C8); if (temp != Room) { RoomChanges++; RoomChanged = true; } else { RoomChanged = false; } if (!RoomsVisited.Contains(Room)) { RoomsVisited.Add(Room); } }
public void GetFrames() { Frames = VAM.ReadInt32(Base + 0x18D4B8); }