DarkMatter  4.1.0
Magmic.Libraries.DarkMatter Namespace Reference

Namespaces

Classes

class  CoroutineRunner
 This class is Unity dependent and should be used with caution. More...
 
class  CR
 
class  DarkMatter
 
class  DarkMatterError
 A class representing a DarkMatter error, subclasses Exception. More...
 
class  DarkMatterErrorService
 A service for managing dark errors across all dark matter services More...
 
class  DarkMatterNode
 
class  Endpoint
 A data class to hold endpoint data More...
 
class  ErrorData
 Data class containing an error code and an error message string. More...
 
class  GameService
 
class  GameServiceAnalyticKeys
 GameService analytic event keys More...
 
class  GameServiceConfiguration
 A data class holding the parameters required to connect to the v5 game service More...
 
class  GameServiceConfigurationService
 
class  GameServiceEndpointKeys
 GameService currently supported dynamic endpoints More...
 
class  GameServiceEndpointUrls
 GameService default dynamic endpoint urls More...
 
class  GameServiceError
 A class representing a DarkMatter error, subclasses DarkMatterError. More...
 
class  GameServiceHeaderKeys
 GameService header keys More...
 
class  GameServiceManifestKeys
 GameService manifest keys, NOTE: most keys map directly to object members More...
 
class  GameServiceNode
 
class  GameServicePlayerPrefKeys
 GameService player pref keys More...
 
class  GameServiceRequest
 GameService request manages request properties required to communicate with the v5 game service. More...
 
class  GameServiceRequestKeys
 GameService server request keys More...
 
class  GameServiceResponseKeys
 GameService server response keys More...
 
interface  IAnalyticsTracker
 Interface that defines the data required to send analytics events More...
 
interface  IDarkMatter
 The Core DarkMatter class interface. stores ids and keys for the app. More...
 
interface  IGameService
 The GameService library is meant to manage communication with the Magmic remote v5 Game Service More...
 
interface  IGameServiceConfigurationService
 An interface defining a service for managing GameServiceConfiguration objects. More...
 
interface  IManifest
 
interface  INetworkManager
 NetworkManager interface More...
 
interface  IRequest
 Interface required for queuing requests with the More...
 
interface  IUserService
 The UserService library manages the user data for an application. More...
 
interface  IUserServiceItem
 Interface that defines a UserService item. More...
 
interface  IUserServiceProfileManager
 The UserServiceProfileManager stores a cache of all users UserServiceProfile that have been fetched. More...
 
interface  IUsertypes
 Usertype service interface More...
 
class  LogService
 
class  Manifest
 Game Service implementation of the IManifest interface. More...
 
class  NativeUtilities
 
class  NetworkManager
 
class  Options
 
class  Request
 
class  RequestQueueObject
 Object that wraps a request that will be queued for processing More...
 
class  Response
 
class  UserService
 
class  UserServiceAnalyticsKeys
 Standard analtyics keys for events that will automatically get send by the service. More...
 
class  UserServiceDataModel
 Manages all the UserService manifest configuration data. More...
 
class  UserServiceError
 
class  UserServiceHeaderKeys
 V5 request header keys More...
 
class  UserServiceItemBank
 A Bank item type. More...
 
class  UserServiceItemStorage
 A Bank item type. More...
 
class  UserServiceManifestKeys
 UserService manifest keys, TODO: merge ManifestKeys and UserServiceManifestKeys More...
 
class  UserServiceNode
 
class  UserServicePlayerPrefKeys
 Player pref keys More...
 
class  UserServiceProfile
 Stores all of a users current profile data. Can preform asynchronous requests to set / get data from the server. More...
 
class  UserServiceProfileManager
 
class  UserServiceStandardFetchKeys
 UserService standard fetch keys, trigger custom functionality. More...
 
class  Usertypes
 

Enumerations

enum  DarkMatterErrorCode {
  NoError = DarkMatterError.DARK_MATTER_ERROR_RANGE, Uninitialized, MissingHiveInstance, AlreadyInitialized,
  DependenciesNull, DependenciesUninitialized, NotImplemented, InitNewUserManifestNodeMissing,
  ManifestNotFound, AlreadyCheckingForUpdate, FailedToGetManifest, UnableToHandleManifestResponse,
  ManifestResponseMissingKeys, NoNetworkConnectivity, ConfigInvalid, SessionInvalid,
  LibraryThrottlingReqeust, NetworkRequestError, InvalidInput, ThirdPartyNotSupported,
  InvalidTournamentId, InvalideMCSKey, InvalidMCSBuildId, InvalidUserSessionToken,
  InvalidMCSSignature, InvalidThirdPartyToken, InvalidUserCredentials, InvalidMCSInstallId,
  InvalidJSONResponse, AccountMergeConflict, InvalidMCS_Timestamp, AccessProhibited,
  DatabaseError, Undefined
}
 Error codes for DarkMatterErrors. More...
 
enum  GameServiceErrorCode {
  MANIFEST_INVALID = GameServiceError.GAME_SERVICE_ERROR_RANGE, DEFAULT_CONFIG_INVALID, ACTIVECONFIG_INVALID_MANIFEST, ACTIVECONFIG_INVALID_DEFAULT,
  URL_INVALID, FAILED_TO_IDENTIFY, CONFIGURATION_CHANGED_ISSUE, INSTALLID_ALREADY_SET,
  LOGIN_FACEBOOK_INVALID_TOKEN, RESOLVE_CONFLICT_INVALID_PARAMETERS
}
 Error codes for GameServiceError. More...
 
enum  GameServiceLoginStatus { Uninitialized, Guest, Facebook }
 GameSerivce login status enum More...
 
enum  UsertypeMethod { Override, Additive }
 Enum that defines how dynamic usertypes will be applied by the server. More...
 
enum  UserServiceErrorCode {
  MANIFEST_ERROR = UserServiceError.USER_SERVICE_ERROR_RANGE, INITIALIZE_DATA_MODEL, INITIALIZE_DATA_MODEL_BANK, INITIALIZE_DATA_MODEL_STORAGE,
  INITIALIZE_DATA_MODEL_FETCH, INITIALIZE_NEW_USER_FAILED, INITIALIZE_NEW_USER_FAILED_NO_USERID, SAVE_USER_PROFILE_FAILED,
  UNSUPPORTED_TYPE, INVALID_FETCH_ID, FETCH_QUEUE_INVALID, FETCH_ID_NOT_IN_MANIFEST,
  INVALID_USER_ID, ADD_INVALID_USER, ADD_USER_ALREADY_EXISTS, MAX_USER_FETCH_COUNT,
  USER_PROFILE_NOT_FOUND, INVALID_TYPE_ID, PROFILE_LOAD_SERVER_ERROR, PROFILE_LOAD_INVALID_SERVER_RESPONSE,
  PROFILE_SAVE_SERVER_ERROR, PROFILE_SAVE_INVALID_SERVER_RESPONSE
}
 Error codes for UserServiceError. More...
 
enum  ManifestKeys {
  bankConfig, storageConfig, fetchConfig, userId,
  type
}
 UserService manifest keys, NOTE: most keys map directly to object members More...
 
enum  RequestKeys { changes, storage_data, success }
 V5 response header keys More...
 
enum  ItemType { bank, storage_data }
 V5 data types More...
 

Enumeration Type Documentation

◆ DarkMatterErrorCode

enum DarkMatterErrorCode
strong

Error codes for DarkMatterErrors.

◆ GameServiceErrorCode

enum GameServiceErrorCode
strong

Error codes for GameServiceError.

◆ GameServiceLoginStatus

GameSerivce login status enum

◆ ItemType

enum ItemType
strong

V5 data types

◆ ManifestKeys

enum ManifestKeys
strong

UserService manifest keys, NOTE: most keys map directly to object members

◆ RequestKeys

enum RequestKeys
strong

V5 response header keys

◆ UserServiceErrorCode

enum UserServiceErrorCode
strong

Error codes for UserServiceError.

◆ UsertypeMethod

enum UsertypeMethod
strong

Enum that defines how dynamic usertypes will be applied by the server.