GameService

  • A data class to hold endpoint data.

    See more

    Declaration

    Swift

    @objc public class Endpoint: NSObject, Gloss.Decodable
  • A data class holding the parameters required to connect to the v5 game service.

    See more

    Declaration

    Swift

    @objc public class GameServiceConfiguration: NSObject, Glossy
  • Hive node that initializes the GameService system.

    Important

    This node must be subclassed by the app to override the processNode behavior and provide the proper skuid and keys.
    See more

    Declaration

    Swift

    open class GameServiceNode: HiveDrone
  • The GameService library is meant to manage communication with the Magmic remote v5 Game Service. It manages server configurations, user authentication, Facebook login/logout and manifests. The service uses a GameServiceConfiguration to define how it should communicate with the v5 server. A default configuration is required to be passed in when initializing, other configurations should be defined in the gameService node of the manifest.

    When initializing the service it will used the default GameServiceConfiguration passed in until it has successfully connected and received an updated manifest.Once the serviced has a manifest all subsequent calls will be made using the active configuration set in the manifest. If the configuration in the manifest has changed the service will reinitialize it’s connection to the game service using the new configuration set in the manifest.As a safety precaution if this new manifest changes the configuration again initialization will fail to prevent a configuration loop.

    See more

    Declaration

    Swift

    public protocol IGameService
  • Undocumented

    See more

    Declaration

    Swift

    @objc public protocol IUsertypes: NSObjectProtocol
  • Class representing a GameService manifest.

    See more

    Declaration

    Swift

    @interface Manifest : NSObject
  • Undocumented

    See more

    Declaration

    Swift

    @protocol ManifestDelegate <NSObject>
    
    @optional
    - (void)manifestCheckInitiated:(nonnull Manifest*)manifest;
    - (void)manifestCheckCompleted:(nonnull Manifest*)manifest didError:(BOOL)didError withReason:(nullable NSString*)errorReason manifestChanged:(BOOL)manifestChanged;
    
    @end