Class DuelRequest
java.lang.Object
com.xyrisdev.cloud.implementation.request.model.DuelRequest
-
Constructor Summary
ConstructorsConstructorDescriptionDuelRequest
(@NotNull org.bukkit.entity.Player sender, @NotNull org.bukkit.entity.Player receiver, String kit, @Nullable String arena, int rounds) Constructs a newDuelRequest
with the specified details. -
Method Summary
-
Constructor Details
-
DuelRequest
public DuelRequest(@NotNull @NotNull org.bukkit.entity.Player sender, @NotNull @NotNull org.bukkit.entity.Player receiver, String kit, @Nullable @Nullable String arena, int rounds) Constructs a newDuelRequest
with the specified details.- Parameters:
sender
- The player sending the duel request.receiver
- The player receiving the duel request.kit
- The kit to be used in the duel.arena
- The arena to be used in the duel (can be null).rounds
- The number of rounds in the duel.
-