feat: adapt to LeviLamina 1.3.0 and bds 1.21.70.03

This commit is contained in:
zimuya4153
2025-06-12 03:53:00 +08:00
Unverified
parent c81bd7a517
commit bac05d765e
8 changed files with 67 additions and 199 deletions
+1
View File
@@ -492,6 +492,7 @@ void Export_Compatibility_API() {
if (auto uce = UserCache::getInstance()->from(mce::UUID::fromString(uuid))) {
return uce->mName;
}
return "";
});
RemoteCall::exportAs("GMLIB_API", "getNameByXuid", [](std::string const& xuid) -> std::string {
if (auto uce = UserCache::getInstance()->from(xuid, UserCache::QueryType::Xuid)) {