You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.0 KiB
35 lines
1.0 KiB
using Org.BouncyCastle.Asn1.X509; |
|
|
|
namespace AX.WebDrillServer.Services.FireDeductionHub |
|
{ |
|
public enum RoomState |
|
{ |
|
准备 = 0, |
|
进行中, |
|
结束 |
|
} |
|
/// <summary> |
|
/// 沙盘推演房间 |
|
/// </summary> |
|
public class FireDeductionRoom |
|
{ |
|
public string RoomId { get; set; } = null!; |
|
public string RoomName { get; set; } = null!; |
|
/// <summary> |
|
/// 房间密码 |
|
/// </summary> |
|
public string? Password; |
|
public RoomState State { get; set; } = RoomState.准备; |
|
/// <summary> |
|
/// 房间最大人数 |
|
/// </summary> |
|
public int MaxPersons = 100; |
|
/// <summary> |
|
/// 房间所属,默认是创建者 |
|
/// </summary> |
|
public string Owner { get; set; } = null!; |
|
public List<FireDeductionUser> Users { get; set; } = new List<FireDeductionUser>(); |
|
public Dictionary<DateTime, string>? FrameData { get; set; } |
|
public Dictionary<DateTime, string>? EventData { get; set; } |
|
} |
|
}
|
|
|