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

emu.grasscutter.data.binout.ScenePointEntry Maven / Gradle / Ivy

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

import emu.grasscutter.data.common.PointData;
import lombok.Getter;

public class ScenePointEntry {
    @Getter private final int sceneId;
    @Getter private final PointData pointData;

    @Deprecated(forRemoval = true)
    public ScenePointEntry(String name, PointData pointData) {
        this.sceneId = Integer.parseInt(name.split("_")[0]);
        this.pointData = pointData;
    }

    public ScenePointEntry(int sceneId, PointData pointData) {
        this.sceneId = sceneId;
        this.pointData = pointData;
    }

    public String getName() {
        return this.sceneId + "_" + this.pointData.getId();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy