Files
BuYuHouDuan/RedisService/Param/RedisGameRoom.cs
T
2026-10-12 16:22:04 +08:00

41 lines
952 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CommonDomain.Enum;
namespace RedisService.Param
{
public class RedisGameRoom
{
public string RoomId { get; set; } = string.Empty;
public string RoomName { get; set; } = string.Empty;
public GameTypeEnum GameType { get; set; } = GameTypeEnum.风雷之渊;
public int RoomLevel { get; set; } = 0;
public int RoomPartition { get; set; } = 0;
public int RoomNumber { get; set; } = 0;
public int MaxPlayerCount { get; set; } = 4;
public int CurrentOnlinePlayerCount { get; set; } = 0;
public int RobotCount { get; set; } = 0;
public List<RedisGamePlayer> Players { get; set; } = new List<RedisGamePlayer>();
public string CreateUserId { get; set; }
public double SystemFactor { get; set; } = 1.0;
}
}