22 lines
550 B
C#
22 lines
550 B
C#
using MemoryPack;
|
|
|
|
namespace TH1_Logic.Steam
|
|
{
|
|
// 房间信息结构。保持命名空间和字段不变,避免影响已有网络消息和 UI 引用。
|
|
[MemoryPackable]
|
|
public partial class LobbyListInfo
|
|
{
|
|
public ulong LobbyId;
|
|
public ulong OwnerId;
|
|
|
|
public string OwnerName;
|
|
public string RoomName;
|
|
public string Version;
|
|
public int CurrentPlayers;
|
|
public int MaxPlayers;
|
|
public int GameState;
|
|
public bool HasPassword;
|
|
public int ReportCount;
|
|
}
|
|
}
|