Gamebase SDK for Unity
2.2.0
Toast Gamebase Platform
|
The Gamebase class is core of Gamebase service. More...
Classes | |
class | Analytics |
The Analytics class can send the game indicator to the Gamebase Server. More... | |
class | Launching |
The Launching class contains several informations that is received from the server after application is successfully launched. More... | |
class | Network |
The Network class indicates Network status. More... | |
class | Purchase |
The Purchase class provides several APIs related to purchasing processes. More... | |
class | Push |
The Push class provides registering push token API to ToastCloud Push Server and querying push token API. More... | |
class | Util |
The Util class provides convenient and useful methods. More... | |
class | Webview |
The WebView class represents the entry point for launching WebView. More... | |
Static Public Member Functions | |
static void | SetDebugMode (bool isDebugMode) |
Gamebase shows warning and error logs only. More... | |
static bool | IsSuccess (GamebaseError error) |
Return true if the GamebaseException object is null or the error code is zero. More... | |
static void | Initialize (GamebaseCallback.GamebaseDelegate< GamebaseResponse.Launching.LaunchingInfo > callback) |
This function initialize the Gamebase SDK with inspector settings. More... | |
static void | Initialize (GamebaseRequest.GamebaseConfiguration configuration, GamebaseCallback.GamebaseDelegate< GamebaseResponse.Launching.LaunchingInfo > callback) |
This function initialize the Gamebase SDK with Gamebase configuration. More... | |
static void | AddObserver (GamebaseCallback.DataDelegate< GamebaseResponse.SDK.ObserverMessage > observer) |
Add a observer to be called when network status, launching status or user status is changed. More... | |
static void | RemoveObserver (GamebaseCallback.DataDelegate< GamebaseResponse.SDK.ObserverMessage > observer) |
Remove a observer listener. More... | |
static void | RemoveAllObserver () |
Remove all observer listener. More... | |
static void | AddServerPushEvent (GamebaseCallback.DataDelegate< GamebaseResponse.SDK.ServerPushMessage > serverPushEvent) |
Add a server push event listener to be called when server push message is arrived. More... | |
static void | RemoveServerPushEvent (GamebaseCallback.DataDelegate< GamebaseResponse.SDK.ServerPushMessage > serverPushEvent) |
Remove a server push event listener. More... | |
static void | RemoveAllServerPushEvent () |
Remove all server push event listeners. More... | |
static void | Login (string providerName, GamebaseCallback.GamebaseDelegate< GamebaseResponse.Auth.AuthToken > callback) |
Try to authenticate by specifying an IdP type. More... | |
static void | Login (string providerName, Dictionary< string, object > additionalInfo, GamebaseCallback.GamebaseDelegate< GamebaseResponse.Auth.AuthToken > callback) |
There is information which must be included for login with some IdPs. More... | |
static void | Login (Dictionary< string, object > credentialInfo, GamebaseCallback.GamebaseDelegate< GamebaseResponse.Auth.AuthToken > callback) |
This game interface allows authentication to be made with SDK provided by IdP, before login to Gamebase with provided access token. More... | |
static void | LoginForLastLoggedInProvider (GamebaseCallback.GamebaseDelegate< GamebaseResponse.Auth.AuthToken > callback) |
Try login with the most recently logged-in IdP. More... | |
static void | Logout (GamebaseCallback.ErrorDelegate callback) |
Try to log out from logged-in IdP. More... | |
static void | Withdraw (GamebaseCallback.ErrorDelegate callback) |
Below shows an example of how a game user withdraws while logged-in. More... | |
static void | AddMapping (string providerName, GamebaseCallback.GamebaseDelegate< GamebaseResponse.Auth.AuthToken > callback) |
Try mapping to another IdP while logged-in to a specific IdP. More... | |
static void | AddMapping (string providerName, Dictionary< string, object > additionalInfo, GamebaseCallback.GamebaseDelegate< GamebaseResponse.Auth.AuthToken > callback) |
There is information which must be included for mapping with some IdPs. More... | |
static void | AddMapping (Dictionary< string, object > credentialInfo, GamebaseCallback.GamebaseDelegate< GamebaseResponse.Auth.AuthToken > callback) |
This game interface allows authentication to be made with SDK provided by IdP, before applying Gamebase AddMapping with provided access token. More... | |
static void | AddMappingForcibly (string providerName, string forcingMappingKey, GamebaseCallback.GamebaseDelegate< GamebaseResponse.Auth.AuthToken > callback) |
This game interface allows authentication to be made with SDK provided by IdP, before applying Gamebase AddMapping with provided access token. More... | |
static void | AddMappingForcibly (string providerName, string forcingMappingKey, Dictionary< string, object > additionalInfo, GamebaseCallback.GamebaseDelegate< GamebaseResponse.Auth.AuthToken > callback) |
Forcibly trying to map the currently authenticated user identifier of Gamebase with the credential of external authentication provider. More... | |
static void | AddMappingForcibly (Dictionary< string, object > credentialInfo, string forcingMappingKey, GamebaseCallback.GamebaseDelegate< GamebaseResponse.Auth.AuthToken > callback) |
Forcibly trying to map the currently authenticated user identifier of Gamebase with the credential of external authentication provider. More... | |
static void | RemoveMapping (string providerName, GamebaseCallback.ErrorDelegate callback) |
Forcibly trying to map the currently authenticated user identifier of Gamebase with the credential of external authentication provider. More... | |
static void | IssueTransferAccount (GamebaseCallback.GamebaseDelegate< GamebaseResponse.Auth.TransferAccountInfo > callback) |
Try to issue the transfer account. More... | |
static void | QueryTransferAccount (GamebaseCallback.GamebaseDelegate< GamebaseResponse.Auth.TransferAccountInfo > callback) |
Try to query the transfer account to Gamebase. More... | |
static void | RenewTransferAccount (GamebaseRequest.Auth.TransferAccountRenewConfiguration configuration, GamebaseCallback.GamebaseDelegate< GamebaseResponse.Auth.TransferAccountInfo > callback) |
Try to renew the transfer account. More... | |
static void | TransferAccountWithIdPLogin (string accountId, string accountPassword, GamebaseCallback.GamebaseDelegate< GamebaseResponse.Auth.AuthToken > callback) |
Try to transfer account with transfer account id and password. More... | |
static List< string > | GetAuthMappingList () |
Return the list of IdPs mapped to user IDs. More... | |
static string | GetAuthProviderUserID (string providerName) |
Get User ID from externally authenticated SDK. More... | |
static string | GetAuthProviderAccessToken (string providerName) |
Get Access Token from externally authentication SDK. More... | |
static GamebaseResponse.Auth.AuthProviderProfile | GetAuthProviderProfile (string providerName) |
Get Profile from externally authenticated SDK. More... | |
static GamebaseResponse.Auth.BanInfo | GetBanInfo () |
For a banned user registered at Gamebase Console,restricted use of information code (AUTH_BANNED_MEMBER(3005)) can be displayed as below, when trying login. More... | |
static string | GetSDKVersion () |
Get the current version of the Gamebase SDK for Unity as a string. More... | |
static string | GetUserID () |
Get User ID issued by Gamebase. More... | |
static string | GetAccessToken () |
Get AccessToken issued by Gamebase. More... | |
static string | GetLastLoggedInProvider () |
Get the last logged-in Provider Name in Gamebase. More... | |
static string | GetLanguageCode () |
Gets the language code set for the current device. More... | |
static string | GetDeviceLanguageCode () |
Gets the language code set for the current device. More... | |
static string | GetCarrierCode () |
Gets the carrier code set for the current device. More... | |
static string | GetCarrierName () |
Gets the carrier name set for the current device. More... | |
static string | GetCountryCode () |
Gets the country code. More... | |
static string | GetCountryCodeOfUSIM () |
Gets the country code set in USIM. More... | |
static string | GetCountryCodeOfDevice () |
Gets the country code currently set on the device. More... | |
static bool | IsSandbox () |
Returns whether this project is sandbox mode or not. More... | |
static void | SetDisplayLanguageCode (string languageCode) |
Sets the Gamebase displayLanguage. More... | |
static string | GetDisplayLanguageCode () |
Gets the Gamebase displayLanguage. More... | |