atavism.agis.events
Class DropResponseEvent
java.lang.Object
atavism.server.engine.Event
atavism.agis.events.DropResponseEvent
- All Implemented Interfaces:
- EventParser
public class DropResponseEvent
- extends Event
object is dropping the a diff obj from its inventory
Methods inherited from class atavism.server.engine.Event |
getBuffer, getConnection, getEnqueueTime, getObjectOid, setBuffer, setConnection, setEnqueueTime, setEntity, setObject, setObjectOid, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DropResponseEvent
public DropResponseEvent()
DropResponseEvent
public DropResponseEvent(AOByteBuffer buf,
ClientConnection con)
DropResponseEvent
public DropResponseEvent(AOObject dropper,
AOObject obj,
java.lang.String slot,
boolean status)
getName
public java.lang.String getName()
- Specified by:
getName
in class Event
toBytes
public AOByteBuffer toBytes()
- Specified by:
toBytes
in class Event
parseBytes
public void parseBytes(AOByteBuffer buf)
- Description copied from class:
Event
- load this event from the passed in buffer
called by the constructor
- Specified by:
parseBytes
in interface EventParser
- Specified by:
parseBytes
in class Event
setDropper
public void setDropper(AOObject dropper)
getDropper
public AOObject getDropper()
setSlotName
public void setSlotName(java.lang.String slotName)
getSlotName
public java.lang.String getSlotName()
setStatus
public void setStatus(boolean status)
getStatus
public boolean getStatus()