public class MasterServerQueryPacket extends AbstractPacket
MasterServerQueryPacket class.
Constructor and Description |
---|
MasterServerQueryPacket()
Constructor for MasterServerQueryPacket.
|
MasterServerQueryPacket(io.netty.buffer.ByteBuf payload)
Constructor for MasterServerQueryPacket.
|
Modifier and Type | Method and Description |
---|---|
String |
getAddress()
Getter for the field
address . |
String |
getFilter()
Getter for the field
filter . |
int |
getRegion()
Getter for the field
region . |
int |
getType()
Getter for the field
type . |
void |
setAddress(String address)
Setter for the field
address . |
void |
setFilter(String filter)
Setter for the field
filter . |
void |
setRegion(int region)
Setter for the field
region . |
void |
setType(int type)
Setter for the field
type . |
content, contentToString, copy, duplicate, equals, hashCode, refCnt, release, release, replace, retain, retain, retainedDuplicate, toString, touch, touch
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public MasterServerQueryPacket()
Constructor for MasterServerQueryPacket.
public MasterServerQueryPacket(io.netty.buffer.ByteBuf payload)
Constructor for MasterServerQueryPacket.
payload
- a ByteBuf
objectpublic int getType()
Getter for the field type
.
public void setType(int type)
Setter for the field type
.
type
- a intpublic int getRegion()
Getter for the field region
.
public void setRegion(int region)
Setter for the field region
.
region
- a intpublic void setAddress(String address)
Setter for the field address
.
address
- a String
objectCopyright © 2016–2024. All rights reserved.