Kongregate Mobile Unity API
Public Attributes | Protected Member Functions | List of all members
Kongregate.KongregateManager Class Reference

Use KongregateInit instead of this class. More...

Public Attributes

bool rcBuild
 Set if this is release candidate build. More...
 
long kongregateGameID
 The Kongregate Game ID.
 
string kongregateAPIKey
 The Kongregate API Key.
 
string kongAnalyticsTestId
 Kongregate Analytics Test app ID.
 
string kongAnalyticsTestKey
 Kongregate Analytics Test API key.
 
string kongAnalyticsLiveId
 Kongregate Analytics Live app ID.
 
string kongAnalyticsLiveKey
 Kongregate Analytics Live API key.
 
bool debugLogging
 See KongregateAPI.KONGREGATE_OPTION_DEBUG.
 
string androidAdjustAppToken
 Android KongregateAPI.KONGREGATE_OPTION_ADJUST_APP_TOKEN.
 
string androidAdjustSaleToken
 Android KongregateAPI.KONGREGATE_ADJUST_SALE_EVENT_TOKEN.
 
string androidAdjustInstallToken
 Android KongregateAPI.KONGREGATE_ADJUST_INSTALL_EVENT_TOKEN.
 
string androidAdjustSessionToken
 Android KongregateAPI.KONGREGATE_ADJUST_SESSION_EVENT_TOKEN.
 
string iOSAdjustAppToken
 iOS KongregateAPI.KONGREGATE_OPTION_ADJUST_APP_TOKEN
 
string iOSAdjustSaleToken
 iOS KongregateAPI.KONGREGATE_ADJUST_SALE_EVENT_TOKEN
 
string iOSAdjustInstallToken
 iOS KongregateAPI.KONGREGATE_ADJUST_INSTALL_EVENT_TOKEN
 
string iOSAdjustSessionToken
 iOS KongregateAPI.KONGREGATE_ADJUST_SESSION_EVENT_TOKEN
 
bool webAPIEnabled
 Set to true to enable support for WebPlayer and WebGL builds.
 
bool standaloneAPIEnabled
 Set to true to enable support for the Standalone player.
 
bool guildChatEnabled
 Set to true to if your game uses the Guild Chat APIs.
 
bool deferAnalytics
 Set to true to enable deferred analytics.
 

Protected Member Functions

override void ConfigureAPISettings ()
 Override this method if you prefer to set the API settings in code rather than the Unity inspector, or if you need add legacy settings not included as inspector variables.
 

Additional Inherited Members

- Public Member Functions inherited from Kongregate.KongregateInitBase
virtual void OnEnable ()
 The KongregateAPI will be initialized when the associated game object is enabled.
 
- Static Public Member Functions inherited from Kongregate.KongregateInitBase
static void SetCommonPropsCallback (delegateGetCommonProperties callback)
 Static helper that will pass the callback to IAnalytics.SetCommonPropsCallback when initialization starts.
 
- Events inherited from Kongregate.KongregateInitBase
static Action eventInitializing
 Fired when the KongregateInit begins initializing the Kongregate API.
 
static Action eventReady
 See KongregateAPI.KONGREGATE_EVENT_READY.
 
static Action eventUserChanged
 See KongregateAPI.KONGREGATE_EVENT_USER_CHANGED.
 
static Action eventGameAuthChanged
 See KongregateAPI.KONGREGATE_EVENT_GAME_AUTH_CHANGED.
 
static Action eventLoginComplete
 See KongregateAPI.KONGREGATE_EVENT_LOGIN_COMPLETE.
 
static Action eventOpenPanel
 See KongregateAPI.KONGREGATE_EVENT_OPENING.
 
static Action eventClosePanel
 See KongregateAPI.KONGREGATE_EVENT_CLOSED.
 
static Action eventUserInventory
 See KongregateAPI.KONGREGATE_EVENT_USER_INVENTORY.
 
static Action eventServiceUnavailable
 See KongregateAPI.KONGREGATE_EVENT_SERVICE_UNAVAILABLE.
 
static Action eventReceiptVerificationComplete
 See KongregateAPI.KONGREGATE_EVENT_RECEIPT_VERIFICATION_COMPLETE.
 
static Action eventSwrveResourceUpdate
 See KongregateAPI.KONGREGATE_EVENT_SWRVE_RESOURCES_UPDATES.
 
static Action eventNotificationCountUpdate
 See KongregateAPI.KONGREGATE_EVENT_NOTIFICATION_COUNT_UPDATED.
 
static Action< string, string > eventPanelMessage
 Event fired through the Kongregate Panel. More...
 

Detailed Description

Use KongregateInit instead of this class.

This class is supported for backwards compatibility. KongregateInit is the preferred method to initialize the Kong SDK.

To use this class simply attach the script to a game object that will persist for the life of your game. Use the Unity Inspector to set the various API Keys and IDs required by the Kongregate API.

Member Data Documentation

◆ rcBuild

bool Kongregate.KongregateManager.rcBuild

Set if this is release candidate build.

When set the various production keys and values will be used. When not set, Sandbox and Test values are used.


The documentation for this class was generated from the following file: