公会援助记录,修行名字颜色问题
parent
d8b4da6473
commit
84969ddd22
|
@ -8,10 +8,10 @@ public class GuildHelpLog {
|
|||
private String targetName;
|
||||
private int logTime; // time
|
||||
private int type; // 援助类型
|
||||
private int helpPracticeLevel;
|
||||
private int targetPracticeLevel;
|
||||
private Integer helpPracticeLevel;
|
||||
private Integer targetPracticeLevel;
|
||||
|
||||
public GuildHelpLog(int helpId, int targetId, String helperName, String targetName, int logTime, int type, int helpPracticeLevel, int targetPracticeLevel) {
|
||||
public GuildHelpLog(int helpId, int targetId, String helperName, String targetName, int logTime, int type, Integer helpPracticeLevel, Integer targetPracticeLevel) {
|
||||
this.helpId = helpId;
|
||||
this.targetId = targetId;
|
||||
this.helperName = helperName;
|
||||
|
@ -50,11 +50,17 @@ public class GuildHelpLog {
|
|||
return type;
|
||||
}
|
||||
|
||||
public int getHelpPracticeLevel() {
|
||||
public Integer getHelpPracticeLevel() {
|
||||
if (helpPracticeLevel == null){
|
||||
helpPracticeLevel = 1;
|
||||
}
|
||||
return helpPracticeLevel;
|
||||
}
|
||||
|
||||
public int getTargetPracticeLevel() {
|
||||
public Integer getTargetPracticeLevel() {
|
||||
if (targetPracticeLevel == null){
|
||||
targetPracticeLevel = 1;
|
||||
}
|
||||
return targetPracticeLevel;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue