DP-VoidBox/VoidBox/GameVersion.cs

14 lines
370 B
C#
Raw Permalink Normal View History

2024-03-02 01:31:18 +01:00
using FFXIVClientStructs.FFXIV.Client.System.Framework;
2024-07-15 23:53:09 +02:00
using System.Text;
2024-03-02 01:31:18 +01:00
namespace Ktisis;
public static class GameVersion {
public const string Validated = "2023.11.09.0000.0000";
public unsafe static string GetCurrent() {
var framework = Framework.Instance();
2024-07-15 23:53:09 +02:00
return framework != null ? Encoding.UTF8.GetString(framework->GameVersion) : string.Empty;
2024-03-02 01:31:18 +01:00
}
}