Atavism Version 2018.1AGIS API

atavism.server.events
Class RegionConfiguration

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

public class RegionConfiguration
extends Event

this event contains information about the regions in the world and what goes inside of them, like forests


Constructor Summary
RegionConfiguration()
           
RegionConfiguration(AOByteBuffer buf, ClientConnection con)
           
RegionConfiguration(java.lang.String regionConfig)
           
 
Method Summary
 java.lang.String getName()
           
 java.lang.String getRegionConfig()
           
 void parseBytes(AOByteBuffer buf)
          load this event from the passed in buffer called by the constructor
 void setRegionConfig(java.lang.String regionConfig)
           
 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

RegionConfiguration

public RegionConfiguration()

RegionConfiguration

public RegionConfiguration(AOByteBuffer buf,
                           ClientConnection con)

RegionConfiguration

public RegionConfiguration(java.lang.String regionConfig)
Method Detail

setRegionConfig

public void setRegionConfig(java.lang.String regionConfig)

getRegionConfig

public java.lang.String getRegionConfig()

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.