public class OpEntry extends UserListEntry<com.mojang.authlib.GameProfile>
Modifier and Type | Field and Description |
---|---|
private boolean |
bypassesPlayerLimit |
private int |
permissionLevel |
Constructor and Description |
---|
OpEntry(com.mojang.authlib.GameProfile player,
int permissionLevelIn,
boolean bypassesPlayerLimitIn) |
OpEntry(com.google.gson.JsonObject p_i1150_1_) |
Modifier and Type | Method and Description |
---|---|
boolean |
bypassesPlayerLimit() |
private static com.mojang.authlib.GameProfile |
constructProfile(com.google.gson.JsonObject p_152643_0_) |
int |
getPermissionLevel() |
protected void |
onSerialization(com.google.gson.JsonObject data) |
getValue, hasBanExpired
private final int permissionLevel
private final boolean bypassesPlayerLimit
public OpEntry(com.mojang.authlib.GameProfile player, int permissionLevelIn, boolean bypassesPlayerLimitIn)
public OpEntry(com.google.gson.JsonObject p_i1150_1_)
public int getPermissionLevel()
public boolean bypassesPlayerLimit()
protected void onSerialization(com.google.gson.JsonObject data)
onSerialization
in class UserListEntry<com.mojang.authlib.GameProfile>
private static com.mojang.authlib.GameProfile constructProfile(com.google.gson.JsonObject p_152643_0_)