mirror of
https://github.com/Melledy/Nebula.git
synced 2025-12-18 15:24:45 +01:00
Support CN Client
- Add Chinese region server key configuration - Rename UserLoginEntity to OverseaUserLoginEntity and adjust package path - Add ChinaUserLoginEntity entity class to support Chinese region user data structure - Modify CommonConfigHandler to distinguish between Chinese and overseas configuration returns - Update HandlerPlayerLoginReq to be compatible with Chinese region login token parsing - Add /user/set-info and /user/send-sms interfaces in HttpServer - Modify UserLoginHandler to support both Chinese and overseas user login logic - Add mobile phone number + verification code login method support - Add channel recognition logic to return corresponding regional user data
This commit is contained in:
@@ -22,6 +22,9 @@ public class GameConstants {
|
||||
|
||||
RegionConfig.getRegion("tw")
|
||||
.setDataVersion(64);
|
||||
|
||||
RegionConfig.getRegion("cn")
|
||||
.setDataVersion(64);
|
||||
}
|
||||
|
||||
public static final ZoneId UTC_ZONE = ZoneId.of("UTC");
|
||||
|
||||
Reference in New Issue
Block a user