TCGBConfiguration Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | TCGBConfiguration.h |
Properties
appID
ApplicationID which is NHN Cloud Project ID.
@property (nonatomic, strong) NSString *appIDDeclared In
TCGBConfiguration.h
appVersion
Application Version that is registered at NHN Cloud Console.
@property (nonatomic, strong) NSString *appVersionDeclared In
TCGBConfiguration.h
zoneType
Zone Type that is nomally “REAL”.
@property (nonatomic, strong) NSString *zoneTypeDeclared In
TCGBConfiguration.h
serverAddress
Server Address which your application communicates with.
@property (nonatomic, strong, readonly) NSURL *serverAddressDeclared In
TCGBConfiguration.h
options
Extra Options such as whether Showing Blocking PopUp enabled or not.
@property (nonatomic, strong) NSMutableDictionary<NSString*id> *optionsDeclared In
TCGBConfiguration.h
Initialization
+ configurationWithAppID:appVersion:
Creates TCGBConfiguration instance
+ (TCGBConfiguration *)configurationWithAppID:(NSString *)appID appVersion:(NSString *)appVersionParameters
appID |
ApplicationID which is NHN Cloud Project ID. |
|---|---|
appVersion |
Application Version that is registered at NHN Cloud Console. |
Declared In
TCGBConfiguration.h
+ configurationWithAppID:appVersion:zoneType:
Creates TCGBConfiguration instance
+ (TCGBConfiguration *)configurationWithAppID:(NSString *)appID appVersion:(NSString *)appVersion zoneType:(NSString *)zoneTypeParameters
appID |
ApplicationID which is NHN Cloud Project ID. |
|---|---|
appVersion |
Application Version that is registered at NHN Cloud Console. |
zoneType |
Zone Type that is nomally “REAL”. It is only used to NHN Cloud Beta/Alaha Test. |
Declared In
TCGBConfiguration.h
Setting Options
– enablePopup:
Enable Show Blocking PopUp. Default set value is enable status popup.
- (void)enablePopup:(BOOL)enableParameters
enable |
|
|---|
Declared In
TCGBConfiguration.h
– isEnablePopup
Method that returns whether the popup will be show or not.
- (BOOL)isEnablePopupReturn Value
Boolean value that whether the popup will be show.
Declared In
TCGBConfiguration.h
– enableLaunchingStatusPopup:
Enable Show Blocking PopUp. Default set value is enable status popup.
- (void)enableLaunchingStatusPopup:(BOOL)enableParameters
enable |
|
|---|
Declared In
TCGBConfiguration.h
– isEnableLaunchingStatusPopup
Method that returns whether the popup will be show or not.
- (BOOL)isEnableLaunchingStatusPopupReturn Value
Boolean value that whether the popup will be show.
Declared In
TCGBConfiguration.h
– enableBanPopup:
Enable Show Blocking PopUp. Default set value is enable status popup.
- (void)enableBanPopup:(BOOL)enableParameters
enable |
|
|---|
Declared In
TCGBConfiguration.h
– isEnableBanPopup
Method that returns whether the popup will be show or not.
- (BOOL)isEnableBanPopupReturn Value
Boolean value that whether the popup will be show.
Declared In
TCGBConfiguration.h
– setStoreCode:
StoreCode that is needed when using purchasing APIs.
- (void)setStoreCode:(NSString *)storeCodeParameters
storeCode |
It represent storeCode, actually “AS”(AppStore). |
|---|
Discussion
Warning: If you did not set this value, default will set to AS(AppStore).
Declared In
TCGBConfiguration.h
– storeCode
StoreCode that is needed when using purchasing APIs.
- (NSString *)storeCodeReturn Value
StoreCode that is needed when using purchasing APIs.
Declared In
TCGBConfiguration.h
– gameEngine
String value of gameEngine.
- (NSString *)gameEngineReturn Value
String value of gameEngine.
Declared In
TCGBConfiguration.h
– setDisplayLanguageCode:
Set Display Language Code when initializing Gamebase SDK.
- (void)setDisplayLanguageCode:(NSString *)languageCodeParameters
languageCode |
It represent language code (ISO-639) |
|---|
Declared In
TCGBConfiguration.h
– displayLanguageCode
Method that returns displayLanguage that you have set.
- (NSString *)displayLanguageCodeReturn Value
String value of language code (ISO-639)
Declared In
TCGBConfiguration.h
deprecated Methods
– enableKickoutPopup:
As of release 2.34.0, this API is not used anymore. (Deprecated: As of release 2.34.0, this API is not used anymore.)
- (void)enableKickoutPopup:(BOOL)enableAvailability
Added 2.34.0.
Declared In
TCGBConfiguration.h
– isEnableKickoutPopup
As of release 2.34.0, this API is not used anymore. (Deprecated: As of release 2.34.0, this API is not used anymore.)
- (BOOL)isEnableKickoutPopupAvailability
Added 2.34.0.
Declared In
TCGBConfiguration.h