Atavism Version 2018.1AGIS API

atavism.agis.events
Class QuestAvailableEvent

java.lang.Object
  extended by atavism.server.engine.Event
      extended by atavism.agis.events.QuestAvailableEvent
All Implemented Interfaces:
EventParser

public class QuestAvailableEvent
extends Event


Constructor Summary
QuestAvailableEvent()
           
QuestAvailableEvent(AgisMob user, AgisMob questGiver, boolean isAvail, boolean isConclude)
           
QuestAvailableEvent(AOByteBuffer buf, ClientConnection con)
           
 
Method Summary
 java.lang.String getName()
           
 OID getQuestGiverOid()
           
 boolean isAvailable()
           
 void isAvailable(boolean flag)
           
 boolean isConcludable()
           
 void isConcludable(boolean flag)
           
 void parseBytes(AOByteBuffer buf)
          load this event from the passed in buffer called by the constructor
 void setQuestGiverOid(OID oid)
           
 AOByteBuffer toBytes()
           
 
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
 

Constructor Detail

QuestAvailableEvent

public QuestAvailableEvent()

QuestAvailableEvent

public QuestAvailableEvent(AOByteBuffer buf,
                           ClientConnection con)

QuestAvailableEvent

public QuestAvailableEvent(AgisMob user,
                           AgisMob questGiver,
                           boolean isAvail,
                           boolean isConclude)
Method Detail

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


Copyright © 2018 Dragonsan Studios Sp. z o.o.