爱玩上报

back_recharge
duhui 2022-04-28 17:07:27 +08:00
parent 7f7c729752
commit 5bb162590f
2 changed files with 11 additions and 1 deletions

View File

@ -34,6 +34,8 @@ public class ServerProperties {
private String appId;
private String aiwanAppId;
private boolean arenaCross;
private int threads;
@ -150,6 +152,14 @@ public class ServerProperties {
this.arenaCross = arenaCross;
}
public String getAiwanAppId() {
return aiwanAppId;
}
public void setAiwanAppId(String aiwanAppId) {
this.aiwanAppId = aiwanAppId;
}
public int getThreads() {
if (threads <= 0){
threads = 8;

View File

@ -51,7 +51,7 @@ public class AiWanPlayerInfoUpload {
*/
public void upload(User user, String type){
// 只有爱玩的服务器需要上报
if (!app_id.equals(GameApplication.serverProperties.getAppId())){
if (!app_id.equals(GameApplication.serverProperties.getAiwanAppId())){
return;
}
PlayerManager playerInfoManager = user.getPlayerInfoManager();