| Package | Description |
|---|---|
| com.comphenix.protocol.events | |
| com.comphenix.protocol.wrappers |
| Modifier and Type | Method and Description |
|---|---|
StructureModifier<EnumWrappers.NativeGameMode> |
PacketContainer.getGameModes()
Retrieve a read/write structure for the NativeGameMode enum in 1.7.2.
|
| Modifier and Type | Method and Description |
|---|---|
static EnumWrappers.NativeGameMode |
EnumWrappers.NativeGameMode.fromBukkit(org.bukkit.GameMode mode)
Obtains the given GameMode's NativeGameMode equivalent.
|
EnumWrappers.NativeGameMode |
PlayerInfoData.getGameMode()
Gets the GameMode of the player represented by this data.
|
static EnumWrappers.NativeGameMode |
EnumWrappers.NativeGameMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnumWrappers.NativeGameMode[] |
EnumWrappers.NativeGameMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static EquivalentConverter<EnumWrappers.NativeGameMode> |
EnumWrappers.getGameModeConverter() |
| Constructor and Description |
|---|
PlayerInfoData(WrappedGameProfile profile,
int latency,
EnumWrappers.NativeGameMode gameMode,
WrappedChatComponent displayName) |
Copyright © 2012–2017 Comphenix and dmulloy2. Licensed under the GNU GPL v2.