multiverse.server.events
Class ModelInfoEvent

java.lang.Object
  extended by multiverse.server.engine.Event
      extended by multiverse.server.events.ModelInfoEvent
Direct Known Subclasses:
MarsModelInfoEvent

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 static Logger log
           
 
Constructor Summary
ModelInfoEvent()
           
ModelInfoEvent(Long objOid)
           
ModelInfoEvent(MVByteBuffer buf, ClientConnection con)
           
ModelInfoEvent(MVObject obj)
           
 
Method Summary
 DisplayContext getDisplayContext()
           
 String getName()
           
protected  void parseBytes(MVByteBuffer buf)
          load this event from the passed in buffer called by the constructor
 void setDisplayContext(DisplayContext dc)
           
 MVByteBuffer toBytes()
           
 
Methods inherited from class multiverse.server.engine.Event
getBuffer, getConnection, getEnqueueTime, getObjectOid, setBuffer, setConnection, setEnqueueTime, setEntity, setObject, setObjectOid, 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

log

protected static final Logger log
Constructor Detail

ModelInfoEvent

public ModelInfoEvent()

ModelInfoEvent

public ModelInfoEvent(MVByteBuffer buf,
                      ClientConnection con)

ModelInfoEvent

public ModelInfoEvent(MVObject obj)

ModelInfoEvent

public ModelInfoEvent(Long objOid)
Method Detail

getName

public String getName()
Specified by:
getName in class Event

setDisplayContext

public void setDisplayContext(DisplayContext dc)

getDisplayContext

public DisplayContext getDisplayContext()

toBytes

public MVByteBuffer toBytes()
Specified by:
toBytes in class Event

parseBytes

protected void parseBytes(MVByteBuffer buf)
Description copied from class: Event
load this event from the passed in buffer called by the constructor

Specified by:
parseBytes in class Event