mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-20 01:13:17 +00:00
11 lines
492 B
C#
11 lines
492 B
C#
|
using System;
|
|||
|
|
|||
|
namespace PKHeX.Core
|
|||
|
{
|
|||
|
public sealed class GameTime8 : SaveBlock
|
|||
|
{
|
|||
|
public GameTime8(SaveFile sav, int offset) : base(sav) => Offset = offset;
|
|||
|
public uint SecondsToStart { get => BitConverter.ToUInt32(Data, Offset + 0x28); set => BitConverter.GetBytes(value).CopyTo(Data, Offset + 0x28); }
|
|||
|
public uint SecondsToFame { get => BitConverter.ToUInt32(Data, Offset + 0x30); set => BitConverter.GetBytes(value).CopyTo(Data, Offset + 0x30); }
|
|||
|
}
|
|||
|
}
|