Gamebase SDK for Unity 2.76.0 Toast Gamebase Platform

Loading...
Searching...
No Matches

## ◆ WithdrawImmediately()

static void WithdrawImmediately | ( | GamebaseCallback.ErrorDelegate | callback | ) |
| static

This function ignores the withdrawal grace period and proceeds withdrawal immediately.

Since
  Added 2.9.0.

Parameters

  callback | Callbacks the result of WithdrawImmediately.

Example Usage :

public void SampleWithdrawImmediately()
{
Gamebase.TemporaryWithdrawal.WithdrawImmediately((error) =>
{
if (Gamebase.IsSuccess(error) == true)
{
Debug.Log("WithdrawImmediately succeeded.");
}
else
{
Debug.Log(string.Format("SampleWithdrawImmediately failed. error:{0}", error));
}
});
}
Toast.Gamebase.Gamebase.TemporaryWithdrawal.WithdrawImmediately
static void WithdrawImmediately(GamebaseCallback.ErrorDelegate callback)
This function ignores the withdrawal grace period and proceeds withdrawal immediately.
Definition Gamebase.cs:3807
Toast.Gamebase.Gamebase.TemporaryWithdrawal
This class provides wrapping of function execution related to temporary withdrawal.
Definition Gamebase.cs:3782
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