Initial commit: Client Doc docs Server Tools
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
namespace XWorld.Server.Gateway
|
||||
{
|
||||
// actor 把出站帧交给它(非阻塞入队);生产实现写 WebSocket 出站队列,测试用假实现记录
|
||||
public interface IClientConnection
|
||||
{
|
||||
int PlayerId { get; }
|
||||
// frame 在调用后不会被修改:实现可保留该引用(广播会把同一数组发给多个连接)。
|
||||
void Send(byte[] frame);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user