internal void SendPackage() { if (!IsCasheEmpty) { SocketMgr.SendGameLogicPackge(this); ClearAllList(); } }
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(); }