public class WhitelistEntry extends UserListEntry<com.mojang.authlib.GameProfile>
Constructor and Description |
---|
WhitelistEntry(com.mojang.authlib.GameProfile profile) |
WhitelistEntry(com.google.gson.JsonObject json) |
Modifier and Type | Method and Description |
---|---|
private static com.mojang.authlib.GameProfile |
gameProfileFromJsonObject(com.google.gson.JsonObject json) |
protected void |
onSerialization(com.google.gson.JsonObject data) |
getValue, hasBanExpired
public WhitelistEntry(com.mojang.authlib.GameProfile profile)
public WhitelistEntry(com.google.gson.JsonObject json)
protected void onSerialization(com.google.gson.JsonObject data)
onSerialization
in class UserListEntry<com.mojang.authlib.GameProfile>
private static com.mojang.authlib.GameProfile gameProfileFromJsonObject(com.google.gson.JsonObject json)