public final class LinkRequestImpl extends Object implements org.geysermc.floodgate.api.link.LinkRequest
| Constructor and Description |
|---|
LinkRequestImpl(String javaUsername,
UUID javaUniqueId,
String linkCode,
String bedrockUsername) |
LinkRequestImpl(String javaUsername,
UUID javaUniqueId,
String linkCode,
String bedrockUsername,
long requestTime) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBedrockUsername() |
UUID |
getJavaUniqueId() |
String |
getJavaUsername() |
String |
getLinkCode() |
long |
getRequestTime() |
boolean |
isExpired(long linkTimeout) |
public LinkRequestImpl(String javaUsername, UUID javaUniqueId, String linkCode, String bedrockUsername)
public boolean isExpired(long linkTimeout)
isExpired in interface org.geysermc.floodgate.api.link.LinkRequestpublic String getJavaUsername()
getJavaUsername in interface org.geysermc.floodgate.api.link.LinkRequestpublic UUID getJavaUniqueId()
getJavaUniqueId in interface org.geysermc.floodgate.api.link.LinkRequestpublic String getLinkCode()
getLinkCode in interface org.geysermc.floodgate.api.link.LinkRequestpublic String getBedrockUsername()
getBedrockUsername in interface org.geysermc.floodgate.api.link.LinkRequestpublic long getRequestTime()
getRequestTime in interface org.geysermc.floodgate.api.link.LinkRequest