moagg.network.packet
Class LoginPacket

java.lang.Object
  extended by com.golden.gamedev.engine.network.NetworkPacket
      extended by moagg.network.packet.LoginPacket
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class LoginPacket
extends com.golden.gamedev.engine.network.NetworkPacket

See Also:
Serialized Form

Field Summary
 java.lang.String name
           
 int shipType
           
 java.lang.String version
           
 
Fields inherited from class com.golden.gamedev.engine.network.NetworkPacket
NETWORK_PACKET_TYPE, NULL_ID, STRING_TYPE, useComma
 
Constructor Summary
LoginPacket()
           
 
Method Summary
 java.lang.String getName()
           
 int getShipType()
           
 java.lang.String getVersion()
           
 void setName(java.lang.String name)
           
 void setShipType(int shipType)
           
 void setVersion(java.lang.String version)
           
 
Methods inherited from class com.golden.gamedev.engine.network.NetworkPacket
clone, consume, generateCode, getCode, getExpiredTime, getID, getSender, getUniqueCode, isCompressed, isConsumed, isExpired, isSendCode, isSendSender, read, readPacket, setCode, setCode, setCompressed, setConsumed, setExpiredTime, setID, setSendCode, setSender, setSender, setSendSender, toString, write, writePacket
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

version

public java.lang.String version

name

public java.lang.String name

shipType

public int shipType
Constructor Detail

LoginPacket

public LoginPacket()
Method Detail

setVersion

public void setVersion(java.lang.String version)

getVersion

public java.lang.String getVersion()

setName

public void setName(java.lang.String name)

getName

public java.lang.String getName()

setShipType

public void setShipType(int shipType)

getShipType

public int getShipType()


Copyright © 2008. All Rights Reserved.