Update AccountManager package name

This commit is contained in:
HolographicHat 2023-07-23 01:03:11 +08:00
parent 29bee51ab6
commit 17d23f4679
No known key found for this signature in database
GPG Key ID: 12C8B5B85E5CE5C3

View File

@ -10,7 +10,7 @@ object AccountManager {
private val methodTable = arrayListOf<Method>()
fun init(cl: ClassLoader) {
val clz = cl.loadClass("com.mihoyo.hyperion.user.account.AccountManager")
val clz = cl.loadClass("com.mihoyo.hyperion.biz.login.account.AccountManager")
instance = clz.getDeclaredField("INSTANCE").get(null)!!
methodTable.add(clz.getDeclaredMethod("getMid"))
methodTable.add(clz.getDeclaredMethod("getUserId"))