mirror of
https://github.com/GeyserMC/Floodgate.git
synced 2025-12-30 12:19:22 +00:00
Add ProtocolSupport support
Based of the work done by Camotoy on the 1.0 co-authored-by: Camotoy <20743703+camotoy@users.noreply.github.com>
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
package org.geysermc.floodgate.api.handshake;
|
||||
|
||||
import io.netty.channel.Channel;
|
||||
import java.util.UUID;
|
||||
import org.geysermc.floodgate.util.BedrockData;
|
||||
import org.geysermc.floodgate.util.LinkedPlayer;
|
||||
import org.geysermc.floodgate.util.RawSkin;
|
||||
@@ -54,6 +55,14 @@ public interface HandshakeData {
|
||||
*/
|
||||
BedrockData getBedrockData();
|
||||
|
||||
String getJavaUsername();
|
||||
|
||||
String getCorrectUsername();
|
||||
|
||||
UUID getJavaUniqueId();
|
||||
|
||||
UUID getCorrectUniqueId();
|
||||
|
||||
/**
|
||||
* Returns the linked account associated with the client or null if the player isn't linked or
|
||||
* not a Floodgate player.
|
||||
|
||||
Reference in New Issue
Block a user