supersdk

文档中心

文档中心

下载文档

Youzu module


Get custom parameters,such as opId, opGameId.

Screenshot

Get opId

Interface invoke:

//获取opId
NSString *opId = [SuperSDK invokeString:BCORE_MODULE_YOUZU funcName: BCORE_FUNC_GET_VALUE parameters:@{@"key" : @"opid"}];
NSLog(@"获取的opId为:%@", opId);

Example of results:

获取的opId为:2017

Get opGameId

Interface invoke:

//获取opId
NSString * opGameId = [SuperSDK invokeString:BCORE_MODULE_YOUZU funcName: BCORE_FUNC_GET_VALUE parameters:@{@"key" : @"opgameid"}];
NSLog(@"获取的opGameId为:%@", opGameId);

Example of results:

获取的opGameId为:2222

Appendix

String constant Actual string Description
BCORE_MODULE_YOUZU youzu Module name
BCORE_FUNC_GET_VALUE getValue The method name of getting the Youzu configuration