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
+11
View File
@@ -0,0 +1,11 @@
namespace XWorld.Server.Gateway
{
public sealed class Session
{
public int PlayerId;
public IClientConnection Connection; // 当前连接;断线中仍保留会话但 Connected=false
public bool Connected;
public string RoomId; // 所在房间,可空
public long DisconnectedAtTick; // 断线时的逻辑 tick,用于窗口过期
}
}