atavism.agis.events
Class QuestAvailableEvent
java.lang.Object
atavism.server.engine.Event
atavism.agis.events.QuestAvailableEvent
- All Implemented Interfaces:
- EventParser
public class QuestAvailableEvent
- extends Event
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 |
QuestAvailableEvent
public QuestAvailableEvent()
QuestAvailableEvent
public QuestAvailableEvent(AOByteBuffer buf,
ClientConnection con)
QuestAvailableEvent
public QuestAvailableEvent(AgisMob user,
AgisMob questGiver,
boolean isAvail,
boolean isConclude)
getName
public java.lang.String getName()
- Specified by:
getName
in class Event
setQuestGiverOid
public void setQuestGiverOid(OID oid)
getQuestGiverOid
public OID getQuestGiverOid()
isAvailable
public void isAvailable(boolean flag)
isAvailable
public boolean isAvailable()
isConcludable
public void isConcludable(boolean flag)
isConcludable
public boolean isConcludable()
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