Example #1
0
        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);
        }
Example #2
0
 void IGPMService.PostValueI(string category, string key, int a)
 {
     GPMAgent.PostValueI(category, key, a);
 }
Example #3
0
 // 暴露给Android/IOS的回调接口
 public void GPMOnMarkLevelLoad(string sceneId)
 {
     GPMAgent.OnMarkLevelLoadNotify(sceneId);
 }
Example #4
0
 void IGPMService.EndExclude()
 {
     GPMAgent.EndExclude();
 }
Example #5
0
 void IGPMService.SetDeviceLevel(int deviceLevel)
 {
     GPMAgent.SetDeviceLevel(deviceLevel);
 }
Example #6
0
 void IGPMService.CheckDeviceClass(string domainName)
 {
     GPMAgent.CheckDeviceClass(domainName);
 }
Example #7
0
 void IGPMService.CheckDeviceClassAsync(string domainName, GPMDeviceLevelEventHandle handler)
 {
     GPMAgent.CheckDeviceClassAsync(domainName, handler);
 }
Example #8
0
 void IGPMService.ReleaseStepEventContext()
 {
     GPMAgent.ReleaseStepEventContext();
 }
Example #9
0
 void IGPMService.SetOpenId(string openId)
 {
     GPMAgent.SetOpenId(openId);
 }
Example #10
0
 void IGPMService.LinkLastStepEventSession(string eventName)
 {
     GPMAgent.LinkLastStepEventSession(eventName);
 }
Example #11
0
 void IGPMService.InitStepEventContext()
 {
     GPMAgent.InitStepEventContext();
 }
Example #12
0
 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);
 }
Example #13
0
 void IGPMService.PostValueS(string category, string key, string value)
 {
     GPMAgent.PostValueS(category, key, value);
 }
Example #14
0
 void IGPMService.PostValueI(string category, string key, int a, int b, int c)
 {
     GPMAgent.PostValueI(category, key, a, b, c);
 }
Example #15
0
 void IGPMService.PostEvent(int key, string value)
 {
     GPMAgent.PostEvent(key, value);
 }
Example #16
0
 void IGPMService.SetResourceVersion(string version)
 {
     GPMAgent.SetResourceVersion(version);
 }
Example #17
0
 void IGPMService.ReportEvent(string eventName, Dictionary <string, string> eventParams)
 {
     GPMAgent.ReportEvent(eventName, eventParams);
 }
Example #18
0
 void IGPMService.MarkLevelLoad(string sceneName)
 {
     GPMAgent.MarkLevelLoad(sceneName);
 }
Example #19
0
 string IGPMService.GetSDKVersion()
 {
     return(GPMAgent.GetSDKVersion());
 }
Example #20
0
 void IGPMService.MarkLevelLoadCompleted()
 {
     GPMAgent.MarkLevelLoadCompleted();
 }
Example #21
0
 void IGPMService.BeginExclude()
 {
     GPMAgent.BeginExclude();
 }
Example #22
0
 void IGPMService.MarkLevelFin()
 {
     GPMAgent.MarkLevelFin();
 }
Example #23
0
 void IGPMService.SetSceneQuality(int sceneQuality)
 {
     GPMAgent.SetSceneQuality(sceneQuality);
 }
Example #24
0
 void IGPMService.SetServerInfo(string zoneId, string roomIp)
 {
     GPMAgent.SetServerInfo(zoneId, roomIp);
 }
Example #25
0
 void IGPMService.DetectInTimeout()
 {
     GPMAgent.DetectInTimeout();
 }
Example #26
0
 void IGPMService.BeginTag(string tagName)
 {
     GPMAgent.BeginTag(tagName);
 }
Example #27
0
 public void GPMOnSetQuality(string qualityString)
 {
     GPMAgent.OnQualityNotify(qualityString);
 }
Example #28
0
 void IGPMService.EndTag()
 {
     GPMAgent.EndTag();
 }
Example #29
0
 void Update()
 {
     GPMAgent.PostFrame();
 }
Example #30
0
 void IGPMService.PostValueF(string category, string key, float a, float b, float c)
 {
     GPMAgent.PostValueF(category, key, a, b, c);
 }