Gamebase SDK for Unity  1.0.0
Toast Gamebase Platform
Gamebase Class Reference

The Gamebase class is core of Gamebase service. More...

Collaboration diagram for Gamebase:
Collaboration graph

Classes

class  Launching
 The Launching class contains several informations that is received from the server after application is successfully launched. 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...
 

Static Public Member Functions

static void SetDebugMode (bool isDebugMode)
 Method that setting Gamebase to debug mode. More...
 
static void Initialize (GamebaseCallback.GamebaseDelegate< GamebaseResponse.Launching.LaunchingInfo > callback)
 This method initialize Gamebase without GamebaseConfiguration instance. More...
 
static void Initialize (GamebaseRequest.GamebaseConfiguration configuration, GamebaseCallback.GamebaseDelegate< GamebaseResponse.Launching.LaunchingInfo > callback)
 This method initialize Gamebase with GamebaseConfiguration instance. More...
 
static void Login (string providerName, GamebaseCallback.GamebaseDelegate< GamebaseResponse.Auth.AuthToken > callback)
 Try to login for last logged in ID Provider. More...
 
static void Login (string providerName, Dictionary< string, object > additionalInfo, GamebaseCallback.GamebaseDelegate< GamebaseResponse.Auth.AuthToken > callback)
 Try to login for last logged in ID Provider. More...
 
static void LoginForLastLoggedInProvider (GamebaseCallback.GamebaseDelegate< GamebaseResponse.Auth.AuthToken > callback)
 Gamebase has LoginForLastLoggedInProvider method known as Auto-Login. More...
 
static void AddMapping (string providerName, GamebaseCallback.GamebaseDelegate< GamebaseResponse.Auth.AuthToken > callback)
 If you have logged in with an IDP Type. More...
 
static void RemoveMapping (string providerName, GamebaseCallback.ErrorDelegate callback)
 Disconnect ID Provider from UserID. More...
 
static void Logout (GamebaseCallback.ErrorDelegate callback)
 This method make user logout from Gamebase Game Platform. More...
 
static void Withdraw (GamebaseCallback.ErrorDelegate callback)
 This method make user withdraw from Gamebase Game Platform, but IDPs need to be unlink in each IDP user preference page. More...
 
static List< string > GetAuthMappingList ()
 Method that returns which IDPs have been mapped to current UserID. More...
 
static string GetSDKVersion ()
 Method that got SDK version of client More...
 
static string GetUserID ()
 Method that got an UserID that identify each user in Platform. More...
 
static string GetAccessToken ()
 Method that got an access token is taken from Gamebase Platform server. More...
 
static string GetLastLoggedInProvider ()
 Method that return which IDP have been logged in at last time. More...
 
static string GetLanguageCode ()
 summary More...
 
static string GetCarrierCode ()
 Method that got an language code is taken from SDK. More...
 
static string GetCarrierName ()
 Method that got an carrier name is taken from device. More...
 
static string GetCountryCode ()
 Method that got an country code is taken from device. More...
 
static string GetCountryCodeOfUSIM ()
 Method that got an country code is taken from device USIM. More...
 
static string GetCountryCodeOfDevice ()
 Method that got an country code is taken from device More...
 

Detailed Description

The Gamebase class is core of Gamebase service.