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.
44 lines
1.4 KiB
44 lines
1.4 KiB
1 month ago
|
using System.Runtime.Serialization;
|
||
|
|
||
|
|
||
|
namespace Account
|
||
|
{
|
||
|
public class AccountServerConfig
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 修改guest帐号为Facebook帐号类型,测试好友使用
|
||
|
/// </summary>
|
||
|
public uint changeGuestToFacebook;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 相同设备id的Facebook帐号能登录数量限制
|
||
|
/// </summary>
|
||
|
public int deviceIdFBAccountLimit;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 相同设备id的Facebook帐号能登录数量限制,时间CD,一段时间内不能登录太多
|
||
|
/// </summary>
|
||
|
public int deviceIdFBAccountLimitTime;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 帐号服务器支持多进程部署,设置成 >1 表示开启多进程部署
|
||
|
/// </summary>
|
||
|
public int accountServerCount;
|
||
|
|
||
|
/// 是否自动创建新账号,设置成false表示服务器无法注册新号了
|
||
|
public bool createAccountIfNotExist;
|
||
|
|
||
|
/// 开启登录白名单验证
|
||
|
public bool enableWhiteIPList;
|
||
|
|
||
|
/// 开启登录黑名单验证
|
||
|
public bool enableBlackIPList;
|
||
|
|
||
|
//允许登录的最小版本号,配置这个可以限制客户端登录,某些时候有用,比如开服内部测试
|
||
|
//public string minAppVersion;
|
||
|
|
||
|
// 更新accountToken的时间, 0表示不更新, 使用第一次成功的token
|
||
|
public int accountTokenUpdateTime;
|
||
|
}
|
||
|
}
|