Atavism Version 2018.1AGIS API

atavism.agis.events
Class RequestQuestInfo

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

public class RequestQuestInfo
extends Event

the client is asking for what quests this questnpc has for the user see serverrequestinfo for what the world server sends to the mobserver to find out


Field Summary
protected  OID questNpcOid
           
 
Constructor Summary
RequestQuestInfo()
           
RequestQuestInfo(AgisMob player, AgisMob questNpc)
           
RequestQuestInfo(AOByteBuffer buf, ClientConnection con)
           
 
Method Summary
 java.lang.String getName()
           
 OID getQuestNpcOid()
           
 void parseBytes(AOByteBuffer buf)
          load this event from the passed in buffer called by the constructor
 void setQuestNpcOid(OID questNpcOid)
           
 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
 

Field Detail

questNpcOid

protected OID questNpcOid
Constructor Detail

RequestQuestInfo

public RequestQuestInfo()

RequestQuestInfo

public RequestQuestInfo(AOByteBuffer buf,
                        ClientConnection con)

RequestQuestInfo

public RequestQuestInfo(AgisMob player,
                        AgisMob questNpc)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in class Event

getQuestNpcOid

public OID getQuestNpcOid()

setQuestNpcOid

public void setQuestNpcOid(OID questNpcOid)

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.