Exemple #1
0
 internal void SendPackage()
 {
     if (!IsCasheEmpty)
     {
         SocketMgr.SendGameLogicPackge(this);
         ClearAllList();
     }
 }
Exemple #2
0
        public RuleSupNet()
        {
            inputCashe  = new SyncCashe();
            outputCashe = new SyncCashe();
            SyncCasheWriter.OutPutCashe = outputCashe;
            SyncCasheReader.InputCashe  = inputCashe;

            //temp
            PurviewMgr.IsMainHost = true;

            // SocketMgr 的管理交给UI控制
            //SocketMgr.Initial();
            SocketMgr.SetInputCahes(inputCashe);
            //SocketMgr.ConnectToServer();

            //SocketMgr.StartReceiveThread();
        }