Atavism Version 2018.1AGIS API

atavism.server.events
Class IslandManifestEvent

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

public class IslandManifestEvent
extends Event

this event contains information about the worldfile the server usually sends this event to the user when they log in in the loginhandler. it doesnt have an entity_id associated with it because its general information about the world


Constructor Summary
IslandManifestEvent()
           
IslandManifestEvent(AOByteBuffer buf, ClientConnection con)
           
IslandManifestEvent(java.lang.String worldName)
           
 
Method Summary
 java.lang.String getName()
           
 java.util.HashMap<java.lang.String,java.lang.String> getWorldFiles()
           
 java.lang.String getWorldFilesDirectory()
           
 java.lang.String getWorldName()
           
 void parseBytes(AOByteBuffer buf)
          load this event from the passed in buffer called by the constructor
 void setWorldFiles(java.util.HashMap<java.lang.String,java.lang.String> worldFiles)
           
 void setWorldFilesDirectory(java.lang.String worldFilesDirectory)
           
 void setWorldName(java.lang.String worldName)
           
 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

IslandManifestEvent

public IslandManifestEvent()

IslandManifestEvent

public IslandManifestEvent(AOByteBuffer buf,
                           ClientConnection con)

IslandManifestEvent

public IslandManifestEvent(java.lang.String worldName)
Method Detail

setWorldName

public void setWorldName(java.lang.String worldName)

getWorldName

public java.lang.String getWorldName()

setWorldFilesDirectory

public void setWorldFilesDirectory(java.lang.String worldFilesDirectory)

getWorldFilesDirectory

public java.lang.String getWorldFilesDirectory()

setWorldFiles

public void setWorldFiles(java.util.HashMap<java.lang.String,java.lang.String> worldFiles)

getWorldFiles

public java.util.HashMap<java.lang.String,java.lang.String> getWorldFiles()

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

getName

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


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