public class UserListOps extends UserList<com.mojang.authlib.GameProfile,UserListOpsEntry>
Constructor and Description |
---|
UserListOps(java.io.File saveFile) |
Modifier and Type | Method and Description |
---|---|
boolean |
bypassesPlayerLimit(com.mojang.authlib.GameProfile profile) |
protected UserListEntry<com.mojang.authlib.GameProfile> |
createEntry(com.google.gson.JsonObject entryData) |
com.mojang.authlib.GameProfile |
getGameProfileFromName(java.lang.String username) |
java.lang.String[] |
getKeys() |
protected java.lang.String |
getObjectKey(com.mojang.authlib.GameProfile obj) |
int |
getPermissionLevel(com.mojang.authlib.GameProfile profile) |
addEntry, getEntry, getSaveFile, getValues, hasEntry, isEmpty, isLanServer, readSavedFile, removeEntry, setLanServer, writeChanges
protected UserListEntry<com.mojang.authlib.GameProfile> createEntry(com.google.gson.JsonObject entryData)
createEntry
in class UserList<com.mojang.authlib.GameProfile,UserListOpsEntry>
public java.lang.String[] getKeys()
getKeys
in class UserList<com.mojang.authlib.GameProfile,UserListOpsEntry>
public int getPermissionLevel(com.mojang.authlib.GameProfile profile)
public boolean bypassesPlayerLimit(com.mojang.authlib.GameProfile profile)
protected java.lang.String getObjectKey(com.mojang.authlib.GameProfile obj)
getObjectKey
in class UserList<com.mojang.authlib.GameProfile,UserListOpsEntry>
public com.mojang.authlib.GameProfile getGameProfileFromName(java.lang.String username)