Atavism Version 2018.1AGIS API

atavism.server.plugins
Class WorldManagerClient.MobPathReqMessage

java.lang.Object
  extended by atavism.msgsys.Message
      extended by atavism.msgsys.SubjectMessage
          extended by atavism.server.plugins.WorldManagerClient.MobPathMessageBaseClass
              extended by atavism.server.plugins.WorldManagerClient.MobPathReqMessage
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
WorldManagerClient

public static class WorldManagerClient.MobPathReqMessage
extends WorldManagerClient.MobPathMessageBaseClass

This message is constructed by the mobserver, and sent to the world manager and the clients. It provides the information necessary for any of these guys to interpolate a mob path. The message attributes are: o The mob oid o The kind of interpolation, either "linear" or "spline" o A string with one character for each path segment, saying if the path segment is over terrain or not. o I sequence of path points, one more than the length of the string in characters.

Author:
stryker
See Also:
Serialized Form

Field Summary
 
Fields inherited from class atavism.msgsys.SubjectMessage
oid
 
Constructor Summary
WorldManagerClient.MobPathReqMessage()
           
WorldManagerClient.MobPathReqMessage(OID oid)
           
WorldManagerClient.MobPathReqMessage(OID oid, java.util.List<Point> pathPoints)
           
WorldManagerClient.MobPathReqMessage(OID oid, long startTime, java.lang.String interpKind, float speed, java.lang.String terrainString, java.util.List<Point> pathPoints)
           
 
Method Summary
protected  MessageType getMobPathMsgType()
           
protected  java.lang.String getMobPathMsgTypeTitle()
           
 
Methods inherited from class atavism.server.plugins.WorldManagerClient.MobPathMessageBaseClass
getInterpKind, getPathPoints, getPositionAtTime, getSpeed, getStartTime, getTerrainString, setInterpKind, setPathPoints, setSpeed, setStartTime, setTerrainString, toBuffer, toString
 
Methods inherited from class atavism.msgsys.SubjectMessage
getSubject, setSubject
 
Methods inherited from class atavism.msgsys.Message
getEnqueueTime, getMsgId, getMsgType, getSenderName, isRPC, setEnqueueTime, setEnqueueTime, setMsgType, toBytes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WorldManagerClient.MobPathReqMessage

public WorldManagerClient.MobPathReqMessage()

WorldManagerClient.MobPathReqMessage

public WorldManagerClient.MobPathReqMessage(OID oid,
                                            long startTime,
                                            java.lang.String interpKind,
                                            float speed,
                                            java.lang.String terrainString,
                                            java.util.List<Point> pathPoints)

WorldManagerClient.MobPathReqMessage

public WorldManagerClient.MobPathReqMessage(OID oid)

WorldManagerClient.MobPathReqMessage

public WorldManagerClient.MobPathReqMessage(OID oid,
                                            java.util.List<Point> pathPoints)
Method Detail

getMobPathMsgType

protected MessageType getMobPathMsgType()
Specified by:
getMobPathMsgType in class WorldManagerClient.MobPathMessageBaseClass

getMobPathMsgTypeTitle

protected java.lang.String getMobPathMsgTypeTitle()
Specified by:
getMobPathMsgTypeTitle in class WorldManagerClient.MobPathMessageBaseClass


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