atavism.server.events
Class ModelInfoEvent
java.lang.Object
atavism.server.engine.Event
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
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 |
dc
protected DisplayContext dc
forceInstantLoad
protected boolean forceInstantLoad
log
protected static final Logger log
ModelInfoEvent
public ModelInfoEvent()
ModelInfoEvent
public ModelInfoEvent(AOByteBuffer buf,
ClientConnection con)
ModelInfoEvent
public ModelInfoEvent(AOObject obj)
ModelInfoEvent
public ModelInfoEvent(OID objOid)
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