public void GPMOnLog(string logString) { Debug.Log("logString: " + logString); string tSt; tSt = logString.Replace("[GPM]", ""); tSt = tSt.Replace("__", "_"); string[] configs = tSt.Split(new char[] { '_' }); if (configs.Length != 2) { return; } int errCode; int.TryParse(configs[0], out errCode); string extMsg = configs[1]; GPMAgent.OnLogNotify(errCode, "", extMsg); }
void IGPMService.PostValueI(string category, string key, int a) { GPMAgent.PostValueI(category, key, a); }
// 暴露给Android/IOS的回调接口 public void GPMOnMarkLevelLoad(string sceneId) { GPMAgent.OnMarkLevelLoadNotify(sceneId); }
void IGPMService.EndExclude() { GPMAgent.EndExclude(); }
void IGPMService.SetDeviceLevel(int deviceLevel) { GPMAgent.SetDeviceLevel(deviceLevel); }
void IGPMService.CheckDeviceClass(string domainName) { GPMAgent.CheckDeviceClass(domainName); }
void IGPMService.CheckDeviceClassAsync(string domainName, GPMDeviceLevelEventHandle handler) { GPMAgent.CheckDeviceClassAsync(domainName, handler); }
void IGPMService.ReleaseStepEventContext() { GPMAgent.ReleaseStepEventContext(); }
void IGPMService.SetOpenId(string openId) { GPMAgent.SetOpenId(openId); }
void IGPMService.LinkLastStepEventSession(string eventName) { GPMAgent.LinkLastStepEventSession(eventName); }
void IGPMService.InitStepEventContext() { GPMAgent.InitStepEventContext(); }
void IGPMService.PostStepEvent(string category, int stepId, int status, int code, string msg, string extraKey, bool authorize, bool finish) { GPMAgent.PostStepEvent(category, stepId, status, code, msg, extraKey, authorize, finish); }
void IGPMService.PostValueS(string category, string key, string value) { GPMAgent.PostValueS(category, key, value); }
void IGPMService.PostValueI(string category, string key, int a, int b, int c) { GPMAgent.PostValueI(category, key, a, b, c); }
void IGPMService.PostEvent(int key, string value) { GPMAgent.PostEvent(key, value); }
void IGPMService.SetResourceVersion(string version) { GPMAgent.SetResourceVersion(version); }
void IGPMService.ReportEvent(string eventName, Dictionary <string, string> eventParams) { GPMAgent.ReportEvent(eventName, eventParams); }
void IGPMService.MarkLevelLoad(string sceneName) { GPMAgent.MarkLevelLoad(sceneName); }
string IGPMService.GetSDKVersion() { return(GPMAgent.GetSDKVersion()); }
void IGPMService.MarkLevelLoadCompleted() { GPMAgent.MarkLevelLoadCompleted(); }
void IGPMService.BeginExclude() { GPMAgent.BeginExclude(); }
void IGPMService.MarkLevelFin() { GPMAgent.MarkLevelFin(); }
void IGPMService.SetSceneQuality(int sceneQuality) { GPMAgent.SetSceneQuality(sceneQuality); }
void IGPMService.SetServerInfo(string zoneId, string roomIp) { GPMAgent.SetServerInfo(zoneId, roomIp); }
void IGPMService.DetectInTimeout() { GPMAgent.DetectInTimeout(); }
void IGPMService.BeginTag(string tagName) { GPMAgent.BeginTag(tagName); }
public void GPMOnSetQuality(string qualityString) { GPMAgent.OnQualityNotify(qualityString); }
void IGPMService.EndTag() { GPMAgent.EndTag(); }
void Update() { GPMAgent.PostFrame(); }
void IGPMService.PostValueF(string category, string key, float a, float b, float c) { GPMAgent.PostValueF(category, key, a, b, c); }