All Downloads are FREE. Search and download functionalities are using the official Maven repository.

emu.grasscutter.data.excels.world.WorldAreaData Maven / Gradle / Ivy

There is a newer version: 1.7.3
Show newest version
package emu.grasscutter.data.excels.world;

import com.google.gson.annotations.SerializedName;
import emu.grasscutter.data.*;
import emu.grasscutter.game.props.ElementType;
import lombok.Getter;

@ResourceType(name = "WorldAreaConfigData.json")
public class WorldAreaData extends GameResource {
    private int ID;
    @Getter private ElementType elementType;

    @Getter
    @SerializedName("AreaNameTextMapHash")
    private long textMapHash;

    @Getter
    @SerializedName("AreaID1")
    private int parentArea;

    @Getter
    @SerializedName("AreaID2")
    private int childArea;

    @Getter
    @SerializedName("SceneID")
    private int sceneId;

    @Override
    public int getId() {
        return (this.childArea << 16) + this.parentArea;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy