net.sf.juoserver.protocol
Class DropItem

java.lang.Object
  extended by net.sf.juoserver.protocol.AbstractMessage
      extended by net.sf.juoserver.protocol.DropItem
All Implemented Interfaces:
Serializable, Message

public class DropItem
extends AbstractMessage

See Also:
Serialized Form

Field Summary
protected static int CODE
           
 
Fields inherited from class net.sf.juoserver.protocol.AbstractMessage
NO_CODE, UTF8
 
Constructor Summary
DropItem(byte[] contents)
           
DropItem(int itemSerial, int targetX, int targetY, int targetZ, int targetContainerSerial)
           
 
Method Summary
 boolean equals(Object obj)
           
 int getItemSerial()
           
 int getTargetContainerSerial()
           
 int getTargetX()
           
 int getTargetY()
           
 int getTargetZ()
           
 int hashCode()
           
 boolean isDroppedOnTheGround()
           
 String toString()
           
 
Methods inherited from class net.sf.juoserver.protocol.AbstractMessage
encode, getCode, getLength, getName, isCompressed, wrapContents, wrapContents
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

CODE

protected static final int CODE
See Also:
Constant Field Values
Constructor Detail

DropItem

public DropItem(int itemSerial,
                int targetX,
                int targetY,
                int targetZ,
                int targetContainerSerial)

DropItem

public DropItem(byte[] contents)
Method Detail

getItemSerial

public int getItemSerial()

getTargetX

public int getTargetX()

getTargetY

public int getTargetY()

getTargetZ

public int getTargetZ()

getTargetContainerSerial

public int getTargetContainerSerial()

isDroppedOnTheGround

public boolean isDroppedOnTheGround()

hashCode

public int hashCode()
Specified by:
hashCode in class AbstractMessage

equals

public boolean equals(Object obj)
Specified by:
equals in class AbstractMessage

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010-2012. All Rights Reserved.