Gamebase SDK for Unity 2.75.1 Toast Gamebase Platform

Loading...
Searching...
No Matches

## ◆ CancelWithdrawal()

static void CancelWithdrawal | ( | GamebaseCallback::ErrorDelegate | callback | ) |
| static

If the user has requested to withdraw, cancel it.

If the user has never requested to leave, the function call will fail.

Since
  Added 2.9.0.

Parameters

  callback | Callbacks the result of CancelWithdrawal.

Example Usage :

public void SampleCancelWithdrawal()
{
Gamebase.TemporaryWithdrawal.CancelWithdrawal((error) =>
{
if (Gamebase.IsSuccess(error) == true)
{
Debug.Log("CancelWithdrawal succeeded.");
}
else
{
Debug.Log(string.Format("CancelWithdrawal failed. error:{0}", error));
}
});
}
Toast.Gamebase.Gamebase.TemporaryWithdrawal.CancelWithdrawal
static void CancelWithdrawal(GamebaseCallback.ErrorDelegate callback)
If the user has requested to withdraw, cancel it.
Definition: Gamebase.cs:3788
Toast.Gamebase.Gamebase.TemporaryWithdrawal
This class provides wrapping of function execution related to temporary withdrawal.
Definition: Gamebase.cs:3701
Toast.Gamebase.Gamebase.IsSuccess
static bool IsSuccess(GamebaseError error)
Return true if the GamebaseException object is null or the error code is zero.
Definition: Gamebase.cs:57
Toast.Gamebase.Gamebase
The Gamebase class is core of Gamebase service.
Definition: Gamebase.cs:11