private void DSHook_OnHooked(object sender, PHEventArgs e) { uint version = CheckVersion.ReadUInt32(0); switch (version) { case VERSION_RELEASE: Version = "Steam"; break; case VERSION_DEBUG: Version = "Debug"; break; case VERSION_BETA: Version = "Steamworks Beta"; break; default: Version = $"Unknown 0x{version:X8}"; break; } }