Gamebase SDK for Unity 2.71.0
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
callbackCallbacks the result of CancelWithdrawal.

Example Usage :

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