Class GameServicesSettings
Inheritance
Namespace: EasyMobile
Assembly: cs.temp.dll.dll
Syntax
[Serializable]
public class GameServicesSettings
Properties
Achievements
Gets or sets the achievements.
Declaration
public Achievement[] Achievements { get; set; }
Property Value
Type | Description |
---|---|
Achievement[] | The achievements. |
AndroidMaxLoginRequests
The total number of times the login popup can be displayed if the user has not logged in. When this value is reached, the init process will stop thus not showing the login popup anymore (avoid annoying the user). Set to 0 to ignore this limit. Note that this setting is applied to auto initialization and ManagedInit() only.
Declaration
public int AndroidMaxLoginRequests { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The android max login requests. |
AutoConflictResolutionStrategy
Gets or sets the default strategy for auto conflict resolution.
Declaration
public SavedGameConflictResolutionStrategy AutoConflictResolutionStrategy { get; set; }
Property Value
Type | Description |
---|---|
SavedGameConflictResolutionStrategy | The auto conflict resolution strategy. |
AutoInitDelay
The delay (in seconds) after the Easy Mobile runtime has been initialized that this module initializes itself automatically.
Declaration
public float AutoInitDelay { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The auto init delay. |
GgpsDebugLogEnabled
Whether to show debug log from the Google Play Games plugin.
Declaration
public bool GgpsDebugLogEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
GPGSDataSource
[Google Play Games only] Gets or sets the data source for saved games.
Declaration
public GPGSSavedGameDataSource GPGSDataSource { get; set; }
Property Value
Type | Description |
---|---|
GPGSSavedGameDataSource | The GPGS data source. |
GpgsForceRefreshServerAuthCode
[Google Play Games] Whether to force refresh while requesting a server authentication code during initialization.
Declaration
public bool GpgsForceRefreshServerAuthCode { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
GpgsOauthScopes
[Google Play Games] The OAuth scopes to be added during initialization.
Declaration
public string[] GpgsOauthScopes { get; set; }
Property Value
Type | Description |
---|---|
System.String[] |
GpgsPopupGravity
Gets or sets the GPGS popup gravity.
Declaration
public GameServicesSettings.GpgsGravity GpgsPopupGravity { get; set; }
Property Value
Type | Description |
---|---|
GameServicesSettings.GpgsGravity | The gpgs popup gravity. |
GpgsShouldRequestServerAuthCode
[Google Play Games] Whether to request a server authentication code during initialization.
Declaration
public bool GpgsShouldRequestServerAuthCode { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsAutoInit
Whether the Game Services module should initialize itself automatically.
Declaration
public bool IsAutoInit { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsAutoInitAfterUserLogout
Whether the Game Services module should initialize itself when the user has logged out in the previous session.
Declaration
public bool IsAutoInitAfterUserLogout { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsMultiplayerEnabled
Whether the Multiplayer feature is enabled.
Declaration
public bool IsMultiplayerEnabled { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsSavedGamesEnabled
Whether the Saved Games feature is enabled.
Declaration
public bool IsSavedGamesEnabled { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Leaderboards
Gets or sets the leaderboards.
Declaration
public Leaderboard[] Leaderboards { get; set; }
Property Value
Type | Description |
---|---|
Leaderboard[] | The leaderboards. |