IClientConnection.cs 442 B

123456789101112131415
  1. using System;
  2. using System.Net;
  3. namespace Core.KCPTool
  4. {
  5. public interface IClientConnection: IDisposable
  6. {
  7. public bool IsConnection { get; set; }
  8. public bool disconnect { get; set; }
  9. public void SendToServer(SendDataType sendDataType, byte[] buffer);
  10. public void Finish();
  11. public void ReConnect(IPEndPoint endPoint, int gameFrame);
  12. public bool isAwaitReConnect { get; set; }
  13. }
  14. }