NinetyEight.INEGdk
Interface INEGdk
Namespace: NinetyEight Assembly: APIReference.dll
Interface for the Game Development Kit (GDK). Provides login, profile management, balance, and shop functionality.
public interface INEGdkMethods
BuyShopPack(int, int, string, NEShopBuyCallback)
Attempts to buy a shop pack.
void BuyShopPack(int packId, int amount, string currency, NEShopBuyCallback callback)Parameters
packId int
amount int
currency string
callback NEShopBuyCallback
CreateWallet()
Creates a new wallet and returns the generated seed phrase.
Returns
GetAddress()
Gets the player's wallet address.
Returns
GetAuthToken()
Gets the current authentication token.
Returns
GetGameProfile()
Gets the player's game profile.
Returns
NEGameProfile
GetProvider()
Gets the current authentication provider.
Returns
Initialize(NEInitCallback)
Initializes the GDK
Parameters
callback NEInitCallback
IsLoggedIn()
Returns whether the player is currently logged in.
Returns
IsLoginCacheExpired()
Checks if login cache has expired or is missing.
Returns
LoginWithApple(NELoginCallback)
Logs in using Apple authentication.
Parameters
callback NELoginCallback
LoginWithEmail(NELoginCallback)
Logs in using Email authentication.
Parameters
callback NELoginCallback
LoginWithFacebook(NELoginCallback)
Logs in using Facebook authentication.
Parameters
callback NELoginCallback
LoginWithGoogle(NELoginCallback)
Logs in using Google authentication.
Parameters
callback NELoginCallback
LoginWithPhrase(string, NELoginCallback)
Logs in using a seed phrase.
Parameters
phrase string
callback NELoginCallback
LoginWithProvider(string, NELoginCallback)
Logs in using a specific provider (e.g., Google, Facebook).
Parameters
provider string
callback NELoginCallback
LoginWithTelegram(NELoginCallback)
Logs in using Telegram authentication.
Parameters
callback NELoginCallback
Logout()
Logs the user out of the system.
RequestGameProfile(NEGameProfileCallback)
Requests the player's game profile from the server.
Parameters
callback NEGameProfileCallback
RequestShopInfo(NEShopInfoCallback)
Requests available shop packs.
Parameters
callback NEShopInfoCallback
RequestUserBalances(NEUserBalanceCallback)
Requests the player's balances from the server.
Parameters
callback NEUserBalanceCallback
RequestUserPets(NEUserPetCallback)
Requests the player's pet collection from the server.
Parameters
callback NEUserPetCallback
Last updated