public class UserListOpsEntry extends UserListEntry<GameProfile>
Constructor and Description |
---|
UserListOpsEntry(GameProfile player,
int permissionLevelIn,
boolean bypassesPlayerLimitIn) |
UserListOpsEntry(JsonObject p_i1150_1_) |
Modifier and Type | Method and Description |
---|---|
boolean |
bypassesPlayerLimit() |
int |
getPermissionLevel()
Gets the permission level of the user, as defined in the "level" attribute of the ops.json file
|
protected void |
onSerialization(JsonObject data) |
public UserListOpsEntry(GameProfile player, int permissionLevelIn, boolean bypassesPlayerLimitIn)
public UserListOpsEntry(JsonObject p_i1150_1_)
public int getPermissionLevel()
public boolean bypassesPlayerLimit()
protected void onSerialization(JsonObject data)
onSerialization
in class UserListEntry<GameProfile>