// Generated by delombok at Tue Dec 16 19:35:27 UTC 2025
package net.md_5.bungee.api.event;

import net.md_5.bungee.api.CommandSender;
import net.md_5.bungee.api.plugin.Event;

/**
 * Called when somebody reloads BungeeCord
 */
public class ProxyReloadEvent extends Event {
    /**
     * Creator of the action.
     */
    private final CommandSender sender;

    /**
     * Creator of the action.
     */
    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public CommandSender getSender() {
        return this.sender;
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public java.lang.String toString() {
        return "ProxyReloadEvent(sender=" + this.getSender() + ")";
    }

    /**
     * Creates a new {@code ProxyReloadEvent} instance.
     *
     * @param sender Creator of the action.
     */
    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public ProxyReloadEvent(final CommandSender sender) {
        this.sender = sender;
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public boolean equals(final java.lang.Object o) {
        if (o == this) return true;
        if (!(o instanceof ProxyReloadEvent)) return false;
        final ProxyReloadEvent other = (ProxyReloadEvent) o;
        if (!other.canEqual((java.lang.Object) this)) return false;
        final java.lang.Object this$sender = this.getSender();
        final java.lang.Object other$sender = other.getSender();
        if (this$sender == null ? other$sender != null : !this$sender.equals(other$sender)) return false;
        return true;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    protected boolean canEqual(final java.lang.Object other) {
        return other instanceof ProxyReloadEvent;
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final java.lang.Object $sender = this.getSender();
        result = result * PRIME + ($sender == null ? 43 : $sender.hashCode());
        return result;
    }
}
