update:更新脚本
This commit is contained in:
@@ -168,6 +168,11 @@ namespace tysdk
|
|||||||
public static void ChangeLinkAccount(EAccoutType accoutType, int oldUserId, int newUserId)
|
public static void ChangeLinkAccount(EAccoutType accoutType, int oldUserId, int newUserId)
|
||||||
{
|
{
|
||||||
using(var sdkManager = new AndroidJavaClass(SDK_CLASS))
|
using(var sdkManager = new AndroidJavaClass(SDK_CLASS))
|
||||||
|
if (accoutType == EAccoutType.hwVkid)
|
||||||
|
{
|
||||||
|
sdkManager.CallStatic("ChangeLinkAccount",AccountInfo.hwVkid,oldUserId,newUserId);
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
sdkManager.CallStatic("ChangeLinkAccount", accoutType.ToString(), oldUserId, newUserId);
|
sdkManager.CallStatic("ChangeLinkAccount", accoutType.ToString(), oldUserId, newUserId);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user