Apply suggestions from code review (clean code CombineResult)

Co-authored-by: Magix <27646710+KingRainbow44@users.noreply.github.com>
This commit is contained in:
Phong 2023-08-11 11:49:08 +07:00 committed by GitHub
parent 7e87fd246b
commit 75a6d2d918
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View File

@ -8,7 +8,7 @@ import lombok.Getter;
import lombok.Setter;
@ResourceType(
name = {"CombineBonusExcelConfigData.json"},
name = "CombineBonusExcelConfigData.json",
loadPriority = LoadPriority.LOW)
public class CombineBonusData extends GameResource {
@Getter @Setter private int avatarId;

View File

@ -4,11 +4,11 @@ import emu.grasscutter.data.common.ItemParamData;
import java.util.List;
import lombok.Getter;
import lombok.Setter;
@Setter @Getter
public class CombineResult {
@Getter @Setter private List<ItemParamData> material;
@Getter @Setter private List<ItemParamData> result;
@Getter @Setter private List<ItemParamData> extra;
@Getter @Setter private List<ItemParamData> back;
@Getter @Setter private List<ItemParamData> random;
private List<ItemParamData> material;
private List<ItemParamData> result;
private List<ItemParamData> extra;
private List<ItemParamData> back;
private List<ItemParamData> random;
}