Initial commit: Client Doc docs Server Tools
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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,用于窗口过期
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user