public class NavPointNeighbourLink extends InfoMessage implements IWorldEvent, IWorldChangeEvent
| Modifier and Type | Field and Description |
|---|---|
protected double |
CalculatedGravityZ
TODO: mystery how to interpret
|
protected int |
CollisionH
Maximum collision height of the path between navigation
points.
|
protected int |
CollisionR
Maximum collision radius of the path between navigation
points.
|
protected int |
Flags
Holds information about the path from the NavPoint to its
neighbour that is represented by this message.
|
protected boolean |
ForceDoubleJump
Whether you need to double jump to get to the neighbour navpoint.
|
protected NavPoint |
FromNavPoint
Start of the link (edge), where the link originates.
|
protected UnrealId |
Id
Unique Id of the NavPoint the link is leading to (end of the link).
|
protected javax.vecmath.Vector3d |
NeededJump
TODO: mystery how to interpret
|
protected boolean |
NeverImpactJump
TODO: mystery how to interpret
|
protected boolean |
NoLowGrav
TODO: mystery how to interpret
|
protected boolean |
OnlyTranslocator
Whether the translocator is the only way how to traverse this navigation edge.
|
static String |
PROTOTYPE
Example how the message looks like - used during parser tests.
|
protected long |
SimTime |
protected NavPoint |
ToNavPoint
End of the link (edge), where the link ends.
|
protected String |
TranslocTargetTag
TODO: mystery - we haven't figure it out so far.
|
protected double |
TranslocZOffset
TODO: mystery - we haven't figure it out so far.
|
| Constructor and Description |
|---|
NavPointNeighbourLink()
Parameter-less contructor for the message.
|
NavPointNeighbourLink(NavPointNeighbourLink original)
Cloning constructor from the full message.
|
NavPointNeighbourLink(NavPointNeighbourLink orig,
NavPoint from,
NavPoint to)
Use to fill missing fields of the Item when creating MapObtained event before
INIT command is requested.
|
NavPointNeighbourLink(UnrealId Id,
int Flags,
int CollisionR,
int CollisionH,
double TranslocZOffset,
String TranslocTargetTag,
boolean OnlyTranslocator,
boolean ForceDoubleJump,
javax.vecmath.Vector3d NeededJump,
boolean NeverImpactJump,
boolean NoLowGrav,
double CalculatedGravityZ,
NavPoint FromNavPoint,
NavPoint ToNavPoint)
Creates new instance of the message NavPointNeighbourLink.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getCalculatedGravityZ()
TODO: mystery how to interpret
|
int |
getCollisionH()
Maximum collision height of the path between navigation
points.
|
int |
getCollisionR()
Maximum collision radius of the path between navigation
points.
|
int |
getFlags()
Holds information about the path from the NavPoint to its
neighbour that is represented by this message.
|
NavPoint |
getFromNavPoint()
Start of the link (edge), where the link originates.
|
UnrealId |
getId()
Unique Id of the NavPoint the link is leading to (end of the link).
|
javax.vecmath.Vector3d |
getNeededJump()
TODO: mystery how to interpret
|
long |
getSimTime()
Simulation time in MILLI SECONDS !!!
|
NavPoint |
getToNavPoint()
End of the link (edge), where the link ends.
|
String |
getTranslocTargetTag()
TODO: mystery - we haven't figure it out so far.
|
double |
getTranslocZOffset()
TODO: mystery - we haven't figure it out so far.
|
boolean |
isForceDoubleJump()
Whether you need to double jump to get to the neighbour navpoint.
|
boolean |
isNeverImpactJump()
TODO: mystery how to interpret
|
boolean |
isNoLowGrav()
TODO: mystery how to interpret
|
boolean |
isOnlyTranslocator()
Whether the translocator is the only way how to traverse this navigation edge.
|
protected void |
setSimTime(long SimTime)
Used by Yylex to slip correct time of the object or programmatically.
|
String |
toHtmlString() |
String |
toJsonLiteral() |
String |
toString() |
public static final String PROTOTYPE
protected long SimTime
protected UnrealId Id
protected int Flags
protected int CollisionR
protected int CollisionH
protected double TranslocZOffset
protected String TranslocTargetTag
protected boolean OnlyTranslocator
protected boolean ForceDoubleJump
protected javax.vecmath.Vector3d NeededJump
protected boolean NeverImpactJump
protected boolean NoLowGrav
protected double CalculatedGravityZ
protected NavPoint FromNavPoint
protected NavPoint ToNavPoint
public NavPointNeighbourLink()
public NavPointNeighbourLink(UnrealId Id, int Flags, int CollisionR, int CollisionH, double TranslocZOffset, String TranslocTargetTag, boolean OnlyTranslocator, boolean ForceDoubleJump, javax.vecmath.Vector3d NeededJump, boolean NeverImpactJump, boolean NoLowGrav, double CalculatedGravityZ, NavPoint FromNavPoint, NavPoint ToNavPoint)
Id - Unique Id of the NavPoint the link is leading to (end of the link). Always identical to ToNavPoint.getStringId().Flags - Holds information about the path from the NavPoint to its
neighbour that is represented by this message. TODO: see
reachspecs on UnrealWiki.CollisionR - Maximum collision radius of the path between navigation
points. Bot bigger then this cannot use this path.CollisionH - Maximum collision height of the path between navigation
points. Bot bigger then this cannot use this path.TranslocZOffset - TODO: mystery - we haven't figure it out so far.
Can be:
a) z-coord of the translocator target
b) translocator z-force for the translocator shotTranslocTargetTag - TODO: mystery - we haven't figure it out so far.
Can be: where you should appear when successfully translocated or where to aim atOnlyTranslocator - Whether the translocator is the only way how to traverse this navigation edge.ForceDoubleJump - Whether you need to double jump to get to the neighbour navpoint.NeededJump - TODO: mystery how to interpretNeverImpactJump - TODO: mystery how to interpretNoLowGrav - TODO: mystery how to interpretCalculatedGravityZ - TODO: mystery how to interpretFromNavPoint - Start of the link (edge), where the link originates.ToNavPoint - End of the link (edge), where the link ends.public NavPointNeighbourLink(NavPointNeighbourLink original)
original - public NavPointNeighbourLink(NavPointNeighbourLink orig, NavPoint from, NavPoint to)
public long getSimTime()
getSimTime in interface IWorldChangeEventgetSimTime in interface IWorldEventprotected void setSimTime(long SimTime)
public UnrealId getId()
public int getFlags()
public int getCollisionR()
public int getCollisionH()
public double getTranslocZOffset()
public String getTranslocTargetTag()
public boolean isOnlyTranslocator()
public boolean isForceDoubleJump()
public javax.vecmath.Vector3d getNeededJump()
public boolean isNeverImpactJump()
public boolean isNoLowGrav()
public double getCalculatedGravityZ()
public NavPoint getFromNavPoint()
public NavPoint getToNavPoint()
public String toString()
toString in class InfoMessagepublic String toHtmlString()
public String toJsonLiteral()
toJsonLiteral in class InfoMessageCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.