类 ServerOpListEntry
java.lang.Object
net.minecraft.server.players.StoredUserEntry<com.mojang.authlib.GameProfile>
net.minecraft.server.players.ServerOpListEntry
-
字段概要
字段 -
构造器概要
构造器构造器说明ServerOpListEntry
(com.google.gson.JsonObject pEntryData) ServerOpListEntry
(com.mojang.authlib.GameProfile pUser, int pLevel, boolean pBypassesPlayerLimit) -
方法概要
修饰符和类型方法说明private static com.mojang.authlib.GameProfile
createGameProfile
(com.google.gson.JsonObject pProfileData) boolean
int
getLevel()
protected void
serialize
(com.google.gson.JsonObject pData) 从类继承的方法 net.minecraft.server.players.StoredUserEntry
getUser, hasExpired
-
字段详细资料
-
level
private final int level -
bypassesPlayerLimit
private final boolean bypassesPlayerLimit
-
-
构造器详细资料
-
ServerOpListEntry
public ServerOpListEntry(com.mojang.authlib.GameProfile pUser, int pLevel, boolean pBypassesPlayerLimit) -
ServerOpListEntry
public ServerOpListEntry(com.google.gson.JsonObject pEntryData)
-
-
方法详细资料
-
getLevel
public int getLevel() -
getBypassesPlayerLimit
public boolean getBypassesPlayerLimit() -
serialize
protected void serialize(com.google.gson.JsonObject pData) - 指定者:
serialize
在类中StoredUserEntry<com.mojang.authlib.GameProfile>
-
createGameProfile
@Nullable private static com.mojang.authlib.GameProfile createGameProfile(com.google.gson.JsonObject pProfileData)
-