Fix usage of onMethod

This commit is contained in:
KingRainbow44 2023-05-08 01:47:02 -04:00
parent 489f504593
commit 79e4268d39
No known key found for this signature in database
GPG Key ID: FC2CB64B00D257BE
5 changed files with 8 additions and 8 deletions

View File

@ -13,7 +13,7 @@ import lombok.Getter;
@ResourceType(name = "DungeonExcelConfigData.json")
public class DungeonData extends GameResource {
@Getter(onMethod = @__(@Override))
@Getter(onMethod_ = @Override)
private int id;
@Getter private int sceneId;

View File

@ -12,7 +12,7 @@ import lombok.experimental.FieldDefaults;
@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class TrialAvatarActivityDataData extends GameResource {
@Getter(onMethod = @__(@Override))
@Getter(onMethod_ = @Override)
private int id;
private int trialAvatarIndexId;

View File

@ -49,7 +49,7 @@ import lombok.ToString;
public class EntityGadget extends EntityBaseGadget {
@Getter private final GadgetData gadgetData;
@Getter(onMethod = @__(@Override))
@Getter(onMethod_ = @Override)
@Setter
private int gadgetId;
@ -62,7 +62,7 @@ public class EntityGadget extends EntityBaseGadget {
@Getter @Setter private int pointType;
@Getter private GadgetContent content;
@Getter(onMethod = @__(@Override), lazy = true)
@Getter(onMethod_ = @Override, lazy = true)
private final Int2FloatMap fightProperties = new Int2FloatOpenHashMap();
@Getter @Setter private SceneGadget metaGadget;

View File

@ -40,12 +40,12 @@ import java.util.Optional;
import static emu.grasscutter.scripts.constants.EventType.EVENT_SPECIFIC_MONSTER_HP_CHANGE;
public class EntityMonster extends GameEntity {
@Getter(onMethod = @__(@Override))
@Getter(onMethod_ = @Override)
private final Int2FloatOpenHashMap fightProperties;
@Getter(onMethod = @__(@Override))
@Getter(onMethod_ = @Override)
private final Position position;
@Getter(onMethod = @__(@Override))
@Getter(onMethod_ = @Override)
private final Position rotation;
@Getter private final MonsterData monsterData;
@Getter private final Position bornPos;

View File

@ -35,7 +35,7 @@ public class EntityVehicle extends EntityBaseGadget {
@Getter private final Player owner;
@Getter(onMethod = @__(@Override))
@Getter(onMethod_ = @Override)
private final Int2FloatMap fightProperties;
@Getter private final int pointId;