Interface description: During the integration process, you can open the log to view the interface invoking log, and turn off the log by default.
Invoke example:
SuperSDK.getInstance().OpenLog(true);
Interface Description: In the development phase, you can open the log printing function for debugging; when you pack the Release package, you need to turn off the log printing function.
Invoke example:
//禁用工具模块
SuperSDK.getInstance().ForbidMoudle(SuperSDKTools.MODULE_NAME);
Interface description: Game developer can invoke this interface to report data to the SuperSDK statistics background. This is used for SuperSDK data background report to display.
Interface invoke
Dictionary<string, object> parametersDic = new Dictionary<string, object>();
parametersDic.Add(SuperSDKPlatform.KEY_EVENT_ID, "event_id"); //为埋点设置事件ID,必传
parametersDic.Add(SuperSDKPlatform.KEY_DESC, "事件描述"); //选传,如不传,默认和event_id一致
SuperSDK.getInstance().Invoke(SuperSDKPlatform.MODULE_NAME, SuperSDKPlatform.FUNC_REPORT, parametersDic);