Class EazeGames
Inheritance
Inherited Members
Namespace: EazeGamesSDK
Assembly: EazeGamesSDK.dll
Syntax
public class EazeGames : MonoBehaviour
Properties
adsManager
Manager that provides access to Ads functionalities.
Declaration
public IEAZAdsManager adsManager { get; }
Property Value
| Type | Description |
|---|---|
| IEAZAdsManager |
gamePlayManager
Manager that handles Game Play process
Declaration
public IEAZGamePlayManager gamePlayManager { get; }
Property Value
| Type | Description |
|---|---|
| IEAZGamePlayManager |
gamePreparationManager
Manager that handles Game Preparation.
Declaration
public IEAZGamePreparationManager gamePreparationManager { get; }
Property Value
| Type | Description |
|---|---|
| IEAZGamePreparationManager |
shared
Shared instance of the EazeGames class
Declaration
public static EazeGames shared { get; }
Property Value
| Type | Description |
|---|---|
| EazeGames |
Methods
handleDeepLink(String)
Will handle provided deeplink, for finalizing SignUp process, Withdraw / Deposit events, in app navigation and other functionalities.
Declaration
public void handleDeepLink(string url)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | url | URL that represents a deep link to be handled |
handlePushNotificationInfo(IDictionary<String, String>)
This function handles Silent Push Notifications
Declaration
public void handlePushNotificationInfo(IDictionary<string, string> info)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.IDictionary<System.String, System.String> | info | notification's payload |
setFCMToken(String)
Will associate provided token with currently logged in User
Declaration
public void setFCMToken(string token)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | token | the Firebase Cloud Messaging token for Apple Push Notifications |
Events
EAZAvatarChangedEvent
Will be triggered when user changes an avatar
Declaration
public static event Action<EAZBaseAnalyticsParameters> EAZAvatarChangedEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZBaseAnalyticsParameters> |
EAZCharityEditedEvent
Will be triggered when charity has been changed
Declaration
public static event Action<EAZBaseAnalyticsParameters> EAZCharityEditedEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZBaseAnalyticsParameters> |
EAZDeletedNotificationEvent
Will be triggered when user deletes a notification from notifications list
Declaration
public static event Action<EAZBaseAnalyticsParameters> EAZDeletedNotificationEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZBaseAnalyticsParameters> |
EAZDepositEvent
Will be triggered with EAZDepositEventParameters argument in case of a successful User’s Deposit. The EAZDepositEventParameters contains revenue information that should be attached to Analytics service event track
Declaration
public static event Action<EAZFundParameters> EAZDepositEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZFundParameters> |
EAZEmailLanguageChangedEvent
Will be triggered when email language has been changed
Declaration
public static event Action<EAZBaseAnalyticsParameters> EAZEmailLanguageChangedEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZBaseAnalyticsParameters> |
EAZEmailSubscribedEvent
Will be triggered when user has subscribed for email notifications
Declaration
public static event Action<EAZBaseAnalyticsParameters> EAZEmailSubscribedEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZBaseAnalyticsParameters> |
EAZEmailUnsubscribedEvent
Will be triggered when user has unsubscribed from email notifications
Declaration
public static event Action<EAZBaseAnalyticsParameters> EAZEmailUnsubscribedEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZBaseAnalyticsParameters> |
EAZGameWalkthroughCompletedEvent
Will be triggered when user has completed game walkthrough
Declaration
public static event Action<EAZBaseAnalyticsParameters> EAZGameWalkthroughCompletedEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZBaseAnalyticsParameters> |
EAZGameWalkthroughSkippedEvent
Will be triggered with EAZWalkthroughStepParameters if user skip game walkthrough The EAZWalkthroughStepParameters contains last completed step of game walkthrough
Declaration
public static event Action<EAZWalkthroughStepParameters> EAZGameWalkthroughSkippedEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZWalkthroughStepParameters> |
EAZGameWalkthroughStepCompletedEvent
Will be triggered with EAZWalkthroughStepParameters when user completes certain step of game walkthrough The EAZWalkthroughStepParameters contains last completed step of game walkthrough
Declaration
public static event Action<EAZWalkthroughStepParameters> EAZGameWalkthroughStepCompletedEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZWalkthroughStepParameters> |
EAZHelpCenterSentMessageEvent
Will be triggered whenever user sends message to Help Center
Declaration
public static event Action<EAZBaseAnalyticsParameters> EAZHelpCenterSentMessageEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZBaseAnalyticsParameters> |
EAZHomeWalkthroughCompletedEvent
Will be triggered when user has completed home walkthrough
Declaration
public static event Action<EAZBaseAnalyticsParameters> EAZHomeWalkthroughCompletedEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZBaseAnalyticsParameters> |
EAZHomeWalkthroughSkippedEvent
Will be triggered with EAZWalkthroughStepParameters if user skip home walkthrough The EAZWalkthroughStepParameters contains last completed step of home walkthrough
Declaration
public static event Action<EAZWalkthroughStepParameters> EAZHomeWalkthroughSkippedEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZWalkthroughStepParameters> |
EAZHomeWalkthroughStepCompletedEvent
Will be triggered with EAZWalkthroughStepParameters when user completes certain step of home walkthrough The EAZWalkthroughStepParameters contains last completed step of home walkthrough
Declaration
public static event Action<EAZWalkthroughStepParameters> EAZHomeWalkthroughStepCompletedEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZWalkthroughStepParameters> |
EAZLevelReachedEvent
Will be triggered with EAZLevelReachedEventParameters argument when user reaches certain level. The EAZLevelReachedEventParameters contains number of level player has reached
Declaration
public static event Action<EAZLevelReachedParameters> EAZLevelReachedEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZLevelReachedParameters> |
EAZLoginClassicRetentionEvent
Will be triggered with EAZLevelReachedEventParameters argument when user reaches one of defines Classic Retention analytics milestones. The EAZLevelReachedEventParameters contains day of reached milestone
Declaration
public static event Action<EAZLoginDayParameters> EAZLoginClassicRetentionEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZLoginDayParameters> |
EAZLoginEvent
Will be triggered in case of a successful User’s authorization
Declaration
public static event Action<EAZBaseAnalyticsParameters> EAZLoginEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZBaseAnalyticsParameters> |
EAZLoginRollingRetentionEvent
Will be triggered with EAZLevelReachedEventParameters argument when user reaches one of defines Rolling Retention analytics milestones. The EAZLevelReachedEventParameters contains day of reached milestone
Declaration
public static event Action<EAZLoginDayParameters> EAZLoginRollingRetentionEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZLoginDayParameters> |
EAZLogoutEvent
Will be triggered in case of a successful User’s logout
Declaration
public static event Action<EAZBaseAnalyticsParameters> EAZLogoutEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZBaseAnalyticsParameters> |
EAZLostEazeCoinGameEvent
Will be triggered when user loses an EazeCoin game
Declaration
public static event Action<EAZGameParameters> EAZLostEazeCoinGameEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZGameParameters> |
EAZLostEuroGameEvent
Will be triggered when user loses an Euro game
Declaration
public static event Action<EAZGameParameters> EAZLostEuroGameEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZGameParameters> |
EAZNumberOfEuroGamesPlayedEvent
Will be triggered with EAZNumberOfGamesEventParameters argument when a new Euro game has been played by user. The EAZNumberOfGamesEventParameters contains an amount of all Euro games played by user
Declaration
public static event Action<EAZNumberOfGamesParameters> EAZNumberOfEuroGamesPlayedEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZNumberOfGamesParameters> |
EAZNumberOfEuroGamesWonEvent
Will be triggered with EAZNumberOfGamesEventParameters argument when a new Euro game has been won by user. The EAZNumberOfGamesEventParameters contains an amount of all Euro games played and won by user
Declaration
public static event Action<EAZNumberOfGamesParameters> EAZNumberOfEuroGamesWonEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZNumberOfGamesParameters> |
EAZNumberOfGamesPlayedEvent
Will be triggered with EAZNumberOfGamesEventParameters argument when a new game has been played by user. The EAZNumberOfGamesEventParameters contains an amount of all games played by user
Declaration
public static event Action<EAZNumberOfGamesParameters> EAZNumberOfGamesPlayedEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZNumberOfGamesParameters> |
EAZNumberOfGamesWonEvent
Will be triggered with EAZNumberOfGamesEventParameters argument when a new game has been won by user. The EAZNumberOfGamesEventParameters contains an amount of all games won by user
Declaration
public static event Action<EAZNumberOfGamesParameters> EAZNumberOfGamesWonEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZNumberOfGamesParameters> |
EAZOpenedNotificationEvent
Will be triggered when user opens a notification
Declaration
public static event Action<EAZBaseAnalyticsParameters> EAZOpenedNotificationEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZBaseAnalyticsParameters> |
EAZPageVisitedEvent
Will be triggered with EAZPageVisitedEventParameters argument when user visits a certain page The EAZPageVisitedEventParameters contains name of a visited page
Declaration
public static event Action<EAZPageVisitedParameters> EAZPageVisitedEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZPageVisitedParameters> |
EAZPasswordChangedEvent
Will be triggered when user changes a password
Declaration
public static event Action<EAZBaseAnalyticsParameters> EAZPasswordChangedEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZBaseAnalyticsParameters> |
EAZPaymentInformationSavedEvent
Will be triggered when payment information has been saved
Declaration
public static event Action<EAZBaseAnalyticsParameters> EAZPaymentInformationSavedEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZBaseAnalyticsParameters> |
EAZPlayedChallengeEvent
Will be triggered when user has played a challenge
Declaration
public static event Action<EAZGameParameters> EAZPlayedChallengeEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZGameParameters> |
EAZPlayedEazeCoinBetGameEvent
Will be triggered with EAZPlayedBetGameEventParameters argument when user has played an EazeCoin bet game. The EAZPlayedBetGameEventParameters contains a bet EazeCoins amount
Declaration
public static event Action<EAZPlayedBetGameParameters> EAZPlayedEazeCoinBetGameEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZPlayedBetGameParameters> |
EAZPlayedEuroBetGameEvent
Will be triggered with EAZPlayedBetGameEventParameters argument when user has played an Euro bet game. The EAZPlayedBetGameEventParameters contains a bet EuroCents amount
Declaration
public static event Action<EAZPlayedBetGameParameters> EAZPlayedEuroBetGameEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZPlayedBetGameParameters> |
EAZPlayedEuroChallengeEvent
Will be triggered when user has played an euro challenge
Declaration
public static event Action<EAZGameParameters> EAZPlayedEuroChallengeEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZGameParameters> |
EAZPlayedFirstGameEvent
Will be triggered with EAZPlayedFirstGameEventParameters argument when user plays his first game. The EAZPlayedFirstGameEventParameters contains name of first played game
Declaration
public static event Action<EAZGameParameters> EAZPlayedFirstGameEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZGameParameters> |
EAZProfileWalkthroughCompletedEvent
Will be triggered when user has completed profile walkthrough
Declaration
public static event Action<EAZBaseAnalyticsParameters> EAZProfileWalkthroughCompletedEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZBaseAnalyticsParameters> |
EAZProfileWalkthroughSkippedEvent
Will be triggered with EAZWalkthroughStepParameters if user skip profile walkthrough The EAZWalkthroughStepParameters contains last completed step of profile walkthrough
Declaration
public static event Action<EAZWalkthroughStepParameters> EAZProfileWalkthroughSkippedEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZWalkthroughStepParameters> |
EAZProfileWalkthroughStepCompletedEvent
Will be triggered with EAZWalkthroughStepParameters when user completes certain step of profile walkthrough The EAZWalkthroughStepParameters contains last completed step of profile walkthrough
Declaration
public static event Action<EAZWalkthroughStepParameters> EAZProfileWalkthroughStepCompletedEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZWalkthroughStepParameters> |
EAZReadAllNotificationsEvent
Will be triggered when user defines all notifications as read
Declaration
public static event Action<EAZBaseAnalyticsParameters> EAZReadAllNotificationsEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZBaseAnalyticsParameters> |
EAZReferralCodeCopiedEvent
Will be triggered whenever user copies his referral code
Declaration
public static event Action<EAZBaseAnalyticsParameters> EAZReferralCodeCopiedEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZBaseAnalyticsParameters> |
EAZRevenueEvent
Will be triggered with EAZRevenueEventParameters argument in case of a successful revenue. The EAZRevenueEventParameters contains revenue information that should be attached to Analytics service event track
Declaration
public static event Action<EAZFundParameters> EAZRevenueEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZFundParameters> |
EAZSettingsWalkthroughCompletedEvent
Will be triggered when user has completed settings walkthrough
Declaration
public static event Action<EAZBaseAnalyticsParameters> EAZSettingsWalkthroughCompletedEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZBaseAnalyticsParameters> |
EAZSettingsWalkthroughSkippedEvent
Will be triggered with EAZWalkthroughStepParameters if user skip settings walkthrough The EAZWalkthroughStepParameters contains last completed step of settings walkthrough
Declaration
public static event Action<EAZWalkthroughStepParameters> EAZSettingsWalkthroughSkippedEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZWalkthroughStepParameters> |
EAZSettingsWalkthroughStepCompletedEvent
Will be triggered with EAZWalkthroughStepParameters when user completes certain step of settings walkthrough The EAZWalkthroughStepParameters contains last completed step of settings walkthrough
Declaration
public static event Action<EAZWalkthroughStepParameters> EAZSettingsWalkthroughStepCompletedEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZWalkthroughStepParameters> |
EAZSignupEvent
Will be triggered in case of a successful User’s registration
Declaration
public static event Action<EAZBaseAnalyticsParameters> EAZSignupEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZBaseAnalyticsParameters> |
EAZSocialNetworkAddedEvent
Will be triggered when user links his EazeGames account to social network account
Declaration
public static event Action<EAZBaseAnalyticsParameters> EAZSocialNetworkAddedEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZBaseAnalyticsParameters> |
EAZSoundSettingsChangedEvent
Will be triggered whenever user changes sound settings
Declaration
public static event Action<EAZBaseAnalyticsParameters> EAZSoundSettingsChangedEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZBaseAnalyticsParameters> |
EAZUserNameChangedEvent
Will be triggered when user changes username
Declaration
public static event Action<EAZBaseAnalyticsParameters> EAZUserNameChangedEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZBaseAnalyticsParameters> |
EAZWalkthroughResetEvent
Will be triggered if user resets walkthrough
Declaration
public static event Action<EAZBaseAnalyticsParameters> EAZWalkthroughResetEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZBaseAnalyticsParameters> |
EAZWatchedInterstitialAdEvent
Will be triggered with EAZBaseAnalyticsParameters after Interstitial Ad has been watched.
Declaration
public static event Action<EAZBaseAnalyticsParameters> EAZWatchedInterstitialAdEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZBaseAnalyticsParameters> |
EAZWatchedRewardedAdEvent
Will be triggered with EAZRewardAdParameters after Rewarded Ad has been watched.
Declaration
public static event Action<EAZRewardAdParameters> EAZWatchedRewardedAdEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZRewardAdParameters> |
EAZWithdrawEvent
Will be triggered with EAZWithdrawEventParameters in case of a successful withdraw The EAZPageVisitedEventParameters contains withdraw information that should be attached to Analytics service event track
Declaration
public static event Action<EAZFundParameters> EAZWithdrawEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZFundParameters> |
EAZWonEazeCoinGameEvent
Will be triggered when user wins an EazeCoin game
Declaration
public static event Action<EAZGameParameters> EAZWonEazeCoinGameEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZGameParameters> |
EAZWonEuroGameEvent
Will be triggered when user wins an Euro game
Declaration
public static event Action<EAZGameParameters> EAZWonEuroGameEvent
Event Type
| Type | Description |
|---|---|
| System.Action<EAZGameParameters> |