public class ClientRegistrationMessage extends AbstractMessage
Modifier and Type | Class and Description |
---|---|
static class |
ClientRegistrationMessage.ClientRegistrationSerializer
A message-specific serializer to avoid compatibility issues
between versions.
|
Modifier and Type | Field and Description |
---|---|
static short |
SERIALIZER_ID |
Constructor and Description |
---|
ClientRegistrationMessage() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getGameName() |
long |
getId() |
int |
getVersion() |
void |
setGameName(java.lang.String name) |
void |
setId(long id) |
void |
setVersion(int version) |
java.lang.String |
toString() |
isReliable, setReliable
public static final short SERIALIZER_ID
public long getId()
public void setId(long id)
public void setGameName(java.lang.String name)
public java.lang.String getGameName()
public void setVersion(int version)
public int getVersion()
public java.lang.String toString()
toString
in class java.lang.Object