Skip to content

Commit

Permalink
Merge fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bundabrg committed Jul 28, 2020
1 parent 46f53d0 commit 64c94f2
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,26 @@

package org.geysermc.connector.event.events.geyser;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.geysermc.connector.event.events.CancellableGeyserEvent;
import lombok.NonNull;
import org.geysermc.connector.event.Cancellable;
import org.geysermc.connector.event.GeyserEvent;
import org.geysermc.connector.event.Session;
import org.geysermc.connector.network.session.GeyserSession;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
public class GeyserAuthenticationEvent extends CancellableGeyserEvent {
final GeyserSession session;
String username;
String password;
@EqualsAndHashCode(callSuper = true)
@SuppressWarnings("JavaDoc")
public class GeyserAuthenticationEvent extends GeyserEvent implements Cancellable, Session {
private boolean cancelled;

@NonNull
private final GeyserSession session;

@NonNull
private String username;

@NonNull
private String password;
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,17 @@

package org.geysermc.connector.event.events.geyser;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.geysermc.connector.event.events.CancellableGeyserEvent;
import lombok.NonNull;
import org.geysermc.connector.event.GeyserEvent;
import org.geysermc.connector.event.Session;
import org.geysermc.connector.network.session.GeyserSession;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
public class GeyserLoginEvent extends CancellableGeyserEvent {
final GeyserSession session;
@EqualsAndHashCode(callSuper = true)
@SuppressWarnings("JavaDoc")
public class GeyserLoginEvent extends GeyserEvent implements Session {
@NonNull
private final GeyserSession session;
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,17 @@

package org.geysermc.connector.event.events.network;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.geysermc.connector.event.events.CancellableGeyserEvent;
import org.geysermc.connector.network.remote.RemoteServer;
import lombok.NonNull;
import org.geysermc.connector.event.GeyserEvent;
import org.geysermc.connector.event.Session;
import org.geysermc.connector.network.session.GeyserSession;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
public class SessionConnectEvent extends CancellableGeyserEvent {
final GeyserSession session;
@EqualsAndHashCode(callSuper = true)
@SuppressWarnings("JavaDoc")
public class SessionConnectEvent extends GeyserEvent implements Session {
@NonNull
private final GeyserSession session;
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@

package org.geysermc.connector.event.events.network;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.geysermc.connector.event.events.CancellableGeyserEvent;
import org.geysermc.connector.event.events.GeyserEvent;
import lombok.NonNull;
import org.geysermc.connector.event.GeyserEvent;
import org.geysermc.connector.network.session.GeyserSession;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@SuppressWarnings("JavaDoc")
public class SessionDisconnectEvent extends GeyserEvent {
final GeyserSession session;
@NonNull
private final GeyserSession session;
}
4 changes: 2 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ theme:
palette:
primary: 'indigo'
accent: 'indigo'
features:
- instant
# features:
# - instant



Expand Down

0 comments on commit 64c94f2

Please sign in to comment.