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.

89 lines
2.3 KiB

1 month ago
using System.Runtime.Serialization;
using Sog;
namespace Realmlist
{
public class RealmConfigOne
{
public int realmId { get; set; }
public string name { get; set; }
public int showSeq { get; set; }
public int status { get; set; }
//只有这个特殊版本的客户端可见(其他版本的客户端看不到)
public string visibleOnlyCliVersion { get; set; }
// 上报给bdc的名称
public string bdcName { get; set; }
// 开服时间
public string openTime { get; set; }
//只有白名单的人可见
public int visibleOnlyWhiteList { get; set; }
//显示时间
public string visibleTime { get; set; }
//跨服大区id
public int bigRealmId { get; set; }
//逻辑worldId
public int logicWorldId { get; set; }
//是否关闭推荐
public int isCloseRecommend { get; set; }
//最大注册数目
public int regMax { get; set; }
}
public class WorldRealmInfo
{
public int worldId { get; set; }
public string[] gate { get; set; }
public string[] chatGate { get; set; }
public RealmConfigOne[] realmList { get; set; }
}
//大区配置 东南亚 欧洲 美洲
public class AreaRealmList
{
public string areaName { get; set; }
//本台服务器的ip
public string areaIP { get; set; }
public int timezone { get; set; }
//只有这个特殊版本的客户端可见(其他版本的客户端看不到)
public string visibleOnlyCliVersion { get; set; }
//只有白名单的人可见
public int visibleOnlyWhiteList { get; set; }
//新用户推荐进入这个区的,不可见(屏蔽)的大区列表, '|' 分隔
public string invisibleAreaForNewUser { get; set; }
//附加显示大区的realm到这个大区,大区共享功能
public string shareShowAreaRealmList { get; set; }
//大区维护
public bool maintenanceMode { get; set; }
//游戏列表
public WorldRealmInfo[] worldList { get; set; }
}
public class RealmListConfig
{
//游戏列表
public AreaRealmList[] areaRealmList { get; set; }
}
}