Пример #1
0
        public override void DestroyTalker(IApolloTalker talker)
        {
            ApolloTalker apolloTalker = talker as ApolloTalker;

            if (apolloTalker != null)
            {
                apolloTalker.Destroy();
            }
        }
Пример #2
0
        public override void DestroyTalker(IApolloTalker talker)
        {
            ApolloTalker talker2 = talker as ApolloTalker;

            if (talker2 != null)
            {
                talker2.Destroy();
            }
        }
Пример #3
0
 public void StartWithTalker(IApolloTalker talker, float intervalBetweenCollections = 2)
 {
     this.intervalBetweenCollections = intervalBetweenCollections;
     this.ResetTimeInterval();
     this.talker = talker as ApolloTalker;
     if (this.talker == null)
     {
         throw new Exception("Talker must not be null !");
     }
     if (< > f__am$cache5 == null)
     {
 public void StartWithTalker(IApolloTalker talker, float intervalBetweenCollections = 2f)
 {
     this.intervalBetweenCollections = intervalBetweenCollections;
     this.ResetTimeInterval();
     this.talker = (talker as ApolloTalker);
     if (this.talker == null)
     {
         throw new Exception("Talker must not be null !");
     }
     this.talker.Register <ApolloTSS>(TalkerCommand.CommandDomain.TSS, delegate(ApolloTSS resp)
     {
         if (resp != null)
         {
             ADebug.Log("tss recv data len:" + resp.wLen);
             TssSdk.TssSdkRcvAntiData(resp.szData, resp.wLen);
         }
         else
         {
             ADebug.Log("Tss resp  is null");
         }
     });
 }