Atavism Version 2018.1AGIS API

atavism.server.events
Class ModelInfoEvent

java.lang.Object
  extended by atavism.server.engine.Event
      extended by atavism.server.events.ModelInfoEvent
All Implemented Interfaces:
EventParser
Direct Known Subclasses:
AgisModelInfoEvent

public class ModelInfoEvent
extends Event

send out what meshes to draw for the given object it is a full update, so if you unequip a rigged attachment, a full update is sent out


Field Summary
protected  DisplayContext dc
           
protected  boolean forceInstantLoad
           
protected static Logger log
           
 
Constructor Summary
ModelInfoEvent()
           
ModelInfoEvent(AOByteBuffer buf, ClientConnection con)
           
ModelInfoEvent(AOObject obj)
           
ModelInfoEvent(OID objOid)
           
 
Method Summary
 DisplayContext getDisplayContext()
           
 boolean getForceInstantLoad()
           
 java.lang.String getName()
           
 void parseBytes(AOByteBuffer buf)
          load this event from the passed in buffer called by the constructor
 void setDisplayContext(DisplayContext dc)
           
 void setForceInstantLoad(boolean forceInstantLoad)
           
 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

dc

protected DisplayContext dc

forceInstantLoad

protected boolean forceInstantLoad

log

protected static final Logger log
Constructor Detail

ModelInfoEvent

public ModelInfoEvent()

ModelInfoEvent

public ModelInfoEvent(AOByteBuffer buf,
                      ClientConnection con)

ModelInfoEvent

public ModelInfoEvent(AOObject obj)

ModelInfoEvent

public ModelInfoEvent(OID objOid)
Method Detail

getName

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

setDisplayContext

public void setDisplayContext(DisplayContext dc)

getDisplayContext

public DisplayContext getDisplayContext()

setForceInstantLoad

public void setForceInstantLoad(boolean forceInstantLoad)

getForceInstantLoad

public boolean getForceInstantLoad()

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.