Files
BH3/Assets/Scripts/Assembly-CSharp/MoleMole/MiClientInterface.cs
2025-08-13 09:26:42 +08:00

22 lines
368 B
C#

using System;
namespace MoleMole
{
public interface MiClientInterface
{
bool connect(string host, ushort port, int timeout_ms = 2000);
void disconnect();
bool isConnected();
bool send(NetPacketV1 packet);
NetPacketV1 recv(int timeout_ms = 0);
void setDisconnectCallback(Action callback);
bool setKeepalive(int time_ms, NetPacketV1 packet);
}
}