Class WrapperPlayServerScoreboardTeam
java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.clientbound.WrapperPlayServerScoreboardTeam
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.comphenix.protocol.PacketType
The packet type that is wrapped by this wrapper.Fields inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
handle
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new wrapper and initialize it with a packet handle with default valuesWrapperPlayServerScoreboardTeam
(com.comphenix.protocol.events.PacketContainer packet) Constructors a new wrapper for the specified packet -
Method Summary
Modifier and TypeMethodDescriptionint
Retrieves the index of the type of this operationsRetrieves the type of this operationgetName()
Retrieves the value of field 'name'Retrieves the value of field 'parameters'Retrieves the value of field 'players'void
setMethod
(int value) Sets the index of the type of this operationvoid
Sets the type of this operationvoid
Sets the value of field 'name'void
Sets the value of field 'parameters'void
setPlayers
(List<String> value) Sets the value of field 'players'Methods inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
broadcastPacket, equals, getHandle, hashCode, receivePacket, sendPacket
-
Field Details
-
TYPE
public static final com.comphenix.protocol.PacketType TYPEThe packet type that is wrapped by this wrapper.
-
-
Constructor Details
-
WrapperPlayServerScoreboardTeam
public WrapperPlayServerScoreboardTeam()Constructs a new wrapper and initialize it with a packet handle with default values -
WrapperPlayServerScoreboardTeam
public WrapperPlayServerScoreboardTeam(com.comphenix.protocol.events.PacketContainer packet) Constructors a new wrapper for the specified packet- Parameters:
packet
- the packet to wrap
-
-
Method Details
-
getMethod
public int getMethod()Retrieves the index of the type of this operations- Returns:
- 'method'
-
getMethodEnum
Retrieves the type of this operation- Returns:
- type of operation
-
setMethod
public void setMethod(int value) Sets the index of the type of this operation- Parameters:
value
- New value for field 'method'- See Also:
-
setMethodEnum
Sets the type of this operation- Parameters:
method
- The method
-
getName
Retrieves the value of field 'name'- Returns:
- 'name'
-
setName
Sets the value of field 'name'- Parameters:
value
- New value for field 'name'
-
getPlayers
Retrieves the value of field 'players'- Returns:
- 'players'
-
setPlayers
Sets the value of field 'players'- Parameters:
value
- New value for field 'players'
-
getParameters
Retrieves the value of field 'parameters'- Returns:
- 'parameters'
-
setParameters
Sets the value of field 'parameters'- Parameters:
value
- New value for field 'parameters'
-