public class S38PacketPlayerListItem.AddPlayerData
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private IChatComponent |
displayName |
private WorldSettings.GameType |
gamemode |
private int |
ping |
private com.mojang.authlib.GameProfile |
profile |
Constructor and Description |
---|
AddPlayerData(com.mojang.authlib.GameProfile profile,
int pingIn,
WorldSettings.GameType gamemodeIn,
IChatComponent displayNameIn) |
Modifier and Type | Method and Description |
---|---|
IChatComponent |
getDisplayName() |
WorldSettings.GameType |
getGameMode() |
int |
getPing() |
com.mojang.authlib.GameProfile |
getProfile() |
java.lang.String |
toString() |
private final int ping
private final WorldSettings.GameType gamemode
private final com.mojang.authlib.GameProfile profile
private final IChatComponent displayName
public AddPlayerData(com.mojang.authlib.GameProfile profile, int pingIn, WorldSettings.GameType gamemodeIn, IChatComponent displayNameIn)
public com.mojang.authlib.GameProfile getProfile()
public int getPing()
public WorldSettings.GameType getGameMode()
public IChatComponent getDisplayName()
public java.lang.String toString()
toString
in class java.lang.Object