public class UserListOpsEntry extends UserListEntry<com.mojang.authlib.GameProfile>
Modifier and Type | Field and Description |
---|---|
private boolean |
bypassesPlayerLimit |
private int |
permissionLevel |
Constructor and Description |
---|
UserListOpsEntry(com.mojang.authlib.GameProfile player,
int permissionLevelIn,
boolean bypassesPlayerLimitIn) |
UserListOpsEntry(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 UserListOpsEntry(com.mojang.authlib.GameProfile player, int permissionLevelIn, boolean bypassesPlayerLimitIn)
public UserListOpsEntry(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_)