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

emu.grasscutter.game.expedition.ExpeditionInfo Maven / Gradle / Ivy

There is a newer version: 1.7.3
Show newest version
package emu.grasscutter.game.expedition;

import dev.morphia.annotations.Entity;
import emu.grasscutter.net.proto.AvatarExpeditionInfoOuterClass.AvatarExpeditionInfo;
import lombok.*;

@Entity
@Getter
@Setter
public class ExpeditionInfo {
    private int state;
    private int expId;
    private int hourTime;
    private int startTime;

    public AvatarExpeditionInfo toProto() {
        return AvatarExpeditionInfo.newBuilder()
                .setStateValue(this.getState())
                .setExpId(this.getExpId())
                .setHourTime(this.getHourTime())
                .setStartTime(this.getStartTime())
                .build();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy