local Lang = require("common.Lang")

MAX_ONLINE_COUNT = 5000 		--	最大同时在线人数

-- 断开连接提示码
DISCONNECT_NORMAL = 1			-- 正常断开连接
DISCONNECT_KICK_SINGLE = 2		-- 管理后台踢人（单独）
DISCONNECT_KICK_ALL = 3			-- 管理后台踢人（全服）
DISCONNECT_DUPLICATE = 4		-- 重复帐号登录
DISCONNECT_AUTH_FAIL = 5		-- 登录认证失败
DISCONNECT_NORMAL_AFTER = 6		-- 正常断开后几秒后销毁
DISCONNECT_MAX_ONLINE = 7		-- 最大登录人数限制
DISCONNECT_BANUSER = 8 			-- 封号
DISCONNECT_BANIP = 9 			-- 封IP
DISCONNECT_FCM_CHILD = 10 		-- 防沉迷（未成年达到每日时间上限）
DISCONNECT_FCM_HEALTH = 11 		-- 防沉迷（未成年/游客不得在22-08进行游戏）

ZERO = 0.000000001

DISCONNECT_MSG = {}
DISCONNECT_MSG[DISCONNECT_NORMAL] = ""
DISCONNECT_MSG[DISCONNECT_KICK_SINGLE] = Lang.DISCONNECT_KICK_SINGLE
DISCONNECT_MSG[DISCONNECT_KICK_ALL] = Lang.DISCONNECT_KICK_ALL
DISCONNECT_MSG[DISCONNECT_DUPLICATE] = Lang.DISCONNECT_DUPLICATE
DISCONNECT_MSG[DISCONNECT_AUTH_FAIL] = Lang.DISCONNECT_AUTH_FAIL
DISCONNECT_MSG[DISCONNECT_NORMAL_AFTER] = ""
DISCONNECT_MSG[DISCONNECT_MAX_ONLINE] = Lang.DISCONNECT_MAX_ONLINE
DISCONNECT_MSG[DISCONNECT_BANUSER] = Lang.DISCONNECT_BANUSER
DISCONNECT_MSG[DISCONNECT_BANIP] = Lang.DISCONNECT_IP
DISCONNECT_MSG[DISCONNECT_FCM_CHILD] = ""
DISCONNECT_MSG[DISCONNECT_FCM_HEALTH] = ""
