6 major server modules (PdkFriendServer/GlobalSever/ServerCore/GameModule/GameNetModule) + game logic (GameFix/GameDAL/ServerData) + network layer (NetWorkMessage) + data layer (ObjectModel) + utilities (MrWu/Core/Config/CloudAPI/dll) + adapters (zyxAdapter/base) .NET 8.0 C# solution, 16 projects, 958 source files
36 lines
928 B
C#
36 lines
928 B
C#
using System;
|
||
using System.Collections.Generic;
|
||
using System.Linq;
|
||
using System.Text;
|
||
using System.Threading.Tasks;
|
||
|
||
namespace ObjectModel.Config
|
||
{
|
||
public class NoDeskMatesAllowedInfo
|
||
{
|
||
/// <summary>
|
||
/// 不能同桌的UserId集合。一条记录就是一个规则
|
||
/// </summary>
|
||
public List<NoDeskPlayerInfo> PlayerIds;
|
||
|
||
/// <summary>
|
||
/// 获取数据时间,小于当前时间就重新获取。30分钟一次
|
||
/// </summary>
|
||
public DateTime GetTime;
|
||
|
||
public NoDeskMatesAllowedInfo() { }
|
||
}
|
||
|
||
public class NoDeskPlayerInfo{
|
||
/// <summary>
|
||
/// 编号 --根据这个Id做增删改查
|
||
/// </summary>
|
||
public int Id;
|
||
|
||
/// <summary>
|
||
/// 玩家Id,多个玩家逗号分隔(玩家个数不限制)
|
||
/// </summary>
|
||
public string UserIds;
|
||
}
|
||
}
|