Request to Temporary Withdrawal.
If the user who requested the temporary withdrawal logs in, you can check the grace expiration time through the AuthToken.member.temporaryWithdrawalInfo.gracePeriodDate.
public void SampleRequestWithdrawal()
{
{
{
long gracePeriodDate = data.gracePeriodDate;
Debug.Log(string.Format("RequestWithdrawal succeeded. The date when you can withdraw your withdrawal is {0}", gracePeriodDate));
}
else
{
Debug.Log(string.Format("RequestWithdrawal failed. error:{0}", error));
}
});
}
static void RequestWithdrawal(GamebaseCallback.GamebaseDelegate< GamebaseResponse.TemporaryWithdrawalInfo > callback)
Request to Temporary Withdrawal.
Definition Gamebase.cs:3708
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