2021-03-30 17:15:16 +08:00
|
|
|
|
using Assets.Scenes.Ride.Scripts.Model;
|
|
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Assets.Scenes.Ride.Scripts.Network
|
|
|
|
|
|
{
|
|
|
|
|
|
interface IService
|
|
|
|
|
|
{
|
|
|
|
|
|
void Start(Action<List<ReceiveMsgModel>> action);
|
|
|
|
|
|
|
|
|
|
|
|
void Send(byte[] dgram, int bytes);
|
|
|
|
|
|
|
2021-11-22 18:04:16 +08:00
|
|
|
|
void Disconnect();
|
|
|
|
|
|
|
2021-03-30 17:15:16 +08:00
|
|
|
|
void Close();
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|