package thedekunut.jalapeno.entities.requests.room;

import org.jetbrains.annotations.NotNull;
import thedekunut.jalapeno.DogeHouse;
import thedekunut.jalapeno.entities.actions.DogeRequestAction;
import thedekunut.jalapeno.entities.actions.Void;
import thedekunut.jalapeno.entities.requests.DogeRequest;
import thedekunut.jalapeno.utils.OPCodes;

public class RoomDeleteScheduledRequest extends DogeRequest {

    private final String roomId;

    public RoomDeleteScheduledRequest(DogeHouse doge, String roomId) {
        super(doge, OPCodes.ROOM_DELETE_SCHEDULED);
        this.roomId = roomId;
    }

    @NotNull
    @Override
    public DogeRequestAction<Void> action() {
        return new DogeRequestAction<>(this, (ignored -> new Void())) {
        };
    }

    public String getRoomId() {
        return roomId;
    }
}
