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