This commit is contained in:
2026-07-25 01:32:54 +08:00
parent abae53be60
commit cb0e4be017
15 changed files with 1619 additions and 24 deletions
@@ -334,12 +334,13 @@ namespace Assets.MyGame.Scripts.Net
}
/// <summary>
/// 使用VIP经验包(GET /api/Hall/UseVipExp)
/// 使用VIP经验包(GET /api/Hall/UseVipExp?count=)
/// 返回:string
/// </summary>
public static void UseVipExp(Action<string> callback = null)
/// <param name="count">使用数量(默认1)</param>
public static void UseVipExp(int count = 1, Action<string> callback = null)
{
APIManager.Response<string>(APIType.Hall_UseVipExp, callback);
APIManager.Response<string>(APIType.Hall_UseVipExp, new UseVipExpParam { count = count }, callback);
}
#endregion