mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-09 02:37:27 +08:00
[+] Splash+ support
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
using System;
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using MAI2System;
|
||||
|
||||
namespace AquaMai.Utils;
|
||||
|
||||
public class GameInfo
|
||||
{
|
||||
public static uint GetGameVersion()
|
||||
{
|
||||
return (uint) typeof(ConstParameter).GetField("NowGameVersion", BindingFlags.Public | BindingFlags.Static | BindingFlags.FlattenHierarchy).GetValue(null);
|
||||
}
|
||||
|
||||
public static string GetGameId()
|
||||
{
|
||||
return typeof(ConstParameter).GetField("GameIDStr", BindingFlags.Public | BindingFlags.Static | BindingFlags.FlattenHierarchy).GetValue(null) as string;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user