package server.maps;

public enum SavedLocationType {
    FREE_MARKET(0),
    MULUNG_TC(1),
    WORLDTOUR(2),
    FLORINA(3),
    FISHING(4),
    RICHIE(5),
    DONGDONGCHIANG(6),
    EVENT(7),
    AMORIA(8),
    CHRISTMAS(9),
    MONSTER_CARNIVAL(10),
    PVP(11),
    HOTEL(12),
    PACH(13),
    ENGLISH(14),
    SLEEP(15),
    TURNEGG(16);

    private int index;

    private SavedLocationType(final int index) {
        this.index = index;
    }

    public int getValue() {
        return this.index;
    }

    public static SavedLocationType fromString(final String Str) {
        return valueOf(Str);
    }
}
