Initial commit: Client Doc docs Server Tools

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
ud18010
2026-07-10 10:24:29 +08:00
co-authored by Cursor
commit 7e35d8da31
3374 changed files with 680813 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
namespace XWorld.Server.Gateway
{
// actor 把出站帧交给它(非阻塞入队);生产实现写 WebSocket 出站队列,测试用假实现记录
public interface IClientConnection
{
int PlayerId { get; }
// frame 在调用后不会被修改:实现可保留该引用(广播会把同一数组发给多个连接)。
void Send(byte[] frame);
}
}