Initialize local project and fix ranch growth synchronization
This commit is contained in:
@@ -0,0 +1,127 @@
|
||||
package com.diyidan.game.entity.impl;
|
||||
|
||||
import com.diyidan.game.entity.DydPlayer;
|
||||
import java.io.Serializable;
|
||||
|
||||
/* JADX INFO: loaded from: C:\Users\11789\Documents\Projects\Codex_ws\myrzx_fang\analysis\base_classes.dex */
|
||||
public class DydPlayerModel implements DydPlayer, Serializable {
|
||||
private static final int USER_TYPE_ADMIN = 200;
|
||||
private static final int USER_TYPE_MOBILE_PASS = 111;
|
||||
private static final int USER_TYPE_MOBILE_PASS_COMPLETE = 113;
|
||||
private static final int USER_TYPE_MOBILE_PASS_UNCOMPLETE = 110;
|
||||
private static final int USER_TYPE_MOBILE_REGISTERED = 111;
|
||||
private static final int USER_TYPE_UNKNOWN = -1;
|
||||
private static final int USER_TYPE_VISITOR = 101;
|
||||
private static final long serialVersionUID = -9186211592908300028L;
|
||||
private String account;
|
||||
private String avatar;
|
||||
private String birthday;
|
||||
private String nickName;
|
||||
private String token;
|
||||
private String userId;
|
||||
private int userType;
|
||||
|
||||
public DydPlayerModel() {
|
||||
this.userType = -1;
|
||||
}
|
||||
|
||||
public DydPlayerModel(String str, String str2, String str3, String str4, int i, String str5) {
|
||||
this.userId = str;
|
||||
this.nickName = str2;
|
||||
this.avatar = str3;
|
||||
this.token = str4;
|
||||
this.userType = i;
|
||||
this.birthday = str5;
|
||||
}
|
||||
|
||||
public DydPlayerModel(String str, String str2, String str3, String str4, int i) {
|
||||
this.userId = str;
|
||||
this.nickName = str2;
|
||||
this.avatar = str3;
|
||||
this.token = str4;
|
||||
this.userType = i;
|
||||
}
|
||||
|
||||
@Override // com.diyidan.game.entity.DydPlayer
|
||||
public String getBirthday() {
|
||||
return this.birthday;
|
||||
}
|
||||
|
||||
public void setBirthday(String str) {
|
||||
this.birthday = str;
|
||||
}
|
||||
|
||||
public void setAvatar(String str) {
|
||||
this.avatar = str;
|
||||
}
|
||||
|
||||
public void setNickName(String str) {
|
||||
this.nickName = str;
|
||||
}
|
||||
|
||||
public void setUserId(String str) {
|
||||
this.userId = str;
|
||||
}
|
||||
|
||||
@Override // com.diyidan.game.entity.DydPlayer
|
||||
public String getUserId() {
|
||||
return this.userId;
|
||||
}
|
||||
|
||||
@Override // com.diyidan.game.entity.DydPlayer
|
||||
public String getNickName() {
|
||||
return this.nickName;
|
||||
}
|
||||
|
||||
@Override // com.diyidan.game.entity.DydPlayer
|
||||
public String getAvatar() {
|
||||
return this.avatar;
|
||||
}
|
||||
|
||||
public void setToken(String str) {
|
||||
this.token = str;
|
||||
}
|
||||
|
||||
@Override // com.diyidan.game.entity.DydPlayer
|
||||
public String getToken() {
|
||||
return this.token;
|
||||
}
|
||||
|
||||
@Override // com.diyidan.game.entity.DydPlayer
|
||||
public String getAccount() {
|
||||
return this.account;
|
||||
}
|
||||
|
||||
public int getUserType() {
|
||||
return this.userType;
|
||||
}
|
||||
|
||||
public void setUserType(int i) {
|
||||
this.userType = i;
|
||||
}
|
||||
|
||||
public boolean isUserMobileRegistered() {
|
||||
return this.token != null && this.userType == 111;
|
||||
}
|
||||
|
||||
public boolean isUserVisitor() {
|
||||
return this.token != null && 101 == this.userType;
|
||||
}
|
||||
|
||||
public boolean isUserInfoEmpty() {
|
||||
return -1 == this.userType;
|
||||
}
|
||||
|
||||
public void setAccount(String str) {
|
||||
this.account = str;
|
||||
}
|
||||
|
||||
public boolean isNeedBindPhone() {
|
||||
int i = this.userType;
|
||||
return (i == 113 || i == 111 || i == 110 || i == 200) ? false : true;
|
||||
}
|
||||
|
||||
public boolean isAVerifyUser() {
|
||||
return this.userType != 110;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user