TCGBConfiguration Class Reference

Inherits from NSObject
Declared in TCGBConfiguration.h

Overview

TCGBConfiguration configures essential Gamebase settings.

Properties

  appID

ApplicationID which is Toast Cloud Project ID.

@property (nonatomic, strong) NSString *appID

Declared In

TCGBConfiguration.h

  appVersion

Application Version that is registered at Toast Cloud Console.

@property (nonatomic, strong) NSString *appVersion

Declared In

TCGBConfiguration.h

  zoneType

Zone Type that is nomally “REAL”.

@property (nonatomic, strong) NSString *zoneType

Declared In

TCGBConfiguration.h

  serverAddress

Server Address which your application communicates with.

@property (nonatomic, strong, readonly) NSURL *serverAddress

Declared In

TCGBConfiguration.h

  options

Extra Options such as whether Showing Blocking PopUp enabled or not.

@property (nonatomic, strong) NSMutableDictionary *options

Declared In

TCGBConfiguration.h

Initialization

+ configurationWithAppID:appVersion:

Creates TCGBConfiguration instance

+ (TCGBConfiguration *)configurationWithAppID:(NSString *)appID appVersion:(NSString *)appVersion

Parameters

appID

ApplicationID which is Toast Cloud Project ID.

appVersion

Application Version that is registered at Toast Cloud Console.

Declared In

TCGBConfiguration.h

+ configurationWithAppID:appVersion:zoneType:

Creates TCGBConfiguration instance

+ (TCGBConfiguration *)configurationWithAppID:(NSString *)appID appVersion:(NSString *)appVersion zoneType:(NSString *)zoneType

Parameters

appID

ApplicationID which is Toast Cloud Project ID.

appVersion

Application Version that is registered at Toast Cloud Console.

zoneType

Zone Type that is nomally “REAL”. It is only used to ToastCloud Beta/Alaha Test.

Declared In

TCGBConfiguration.h

Setting Options

– setShowBlockingPopup:

Enable Show Blocking PopUp.

- (void)setShowBlockingPopup:(BOOL)isShow

Parameters

isShow

YES if Shown Popup blocking another processes.

Declared In

TCGBConfiguration.h