mirror of
https://github.com/GeyserMC/Floodgate.git
synced 2025-12-31 04:36:47 +00:00
Moved skin uploading to the global api
This commit is contained in:
@@ -29,7 +29,6 @@ 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;
|
||||
|
||||
/**
|
||||
* For advanced users only! You shouldn't play with this unless you know what you're doing.<br>
|
||||
@@ -76,18 +75,6 @@ public interface HandshakeData {
|
||||
*/
|
||||
void setLinkedPlayer(LinkedPlayer player);
|
||||
|
||||
/**
|
||||
* Returns the skin of the client. Can be null even though the player is a Floodgate player.
|
||||
*/
|
||||
RawSkin getRawSkin();
|
||||
|
||||
/**
|
||||
* Manually set the skin of the client.
|
||||
*
|
||||
* @param rawSkin the skin of the client
|
||||
*/
|
||||
void setRawSkin(RawSkin rawSkin);
|
||||
|
||||
/**
|
||||
* Returns the hostname used in the handshake packet. This is the hostname after Floodgate
|
||||
* removed the data.
|
||||
|
||||
@@ -32,7 +32,6 @@ import org.geysermc.floodgate.api.FloodgateApi;
|
||||
import org.geysermc.floodgate.util.DeviceOs;
|
||||
import org.geysermc.floodgate.util.InputMode;
|
||||
import org.geysermc.floodgate.util.LinkedPlayer;
|
||||
import org.geysermc.floodgate.util.RawSkin;
|
||||
import org.geysermc.floodgate.util.UiProfile;
|
||||
|
||||
public interface FloodgatePlayer {
|
||||
@@ -107,11 +106,6 @@ public interface FloodgatePlayer {
|
||||
*/
|
||||
LinkedPlayer getLinkedPlayer();
|
||||
|
||||
/**
|
||||
* Returns the raw skin of the Bedrock player
|
||||
*/
|
||||
RawSkin getRawSkin();
|
||||
|
||||
default boolean sendForm(Form form) {
|
||||
return FloodgateApi.getInstance().sendForm(getCorrectUniqueId(), form);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user