|
override void | CreateShortestPathTree (CommNode start, CommNode end) |
|
override bool | SetNodeConnection (CommNode a, CommNode b) |
| Updates connection state between two nodes, setting connected or not More...
|
|
virtual bool | TestOcclusion (Vector3d aPos, Occluder a, Vector3d bPos, Occluder b, double distance) |
| Returns true if not occluded (sue me) More...
|
|
virtual bool | TryConnect (CommNode a, CommNode b, double distance, bool aCanRelay, bool bCanRelay, bool bothRelay) |
| Given nodes a and b are in range, try connecting them and store whether both can relay and whether each individually can using the other's non-relay transmitter More...
|
|
override void | UpdateShortestPath (CommNode a, CommNode b, CommLink link, double bestCost, CommNode startNode, CommNode endNode) |
|
override CommNode | UpdateShortestWhere (CommNode a, CommNode b, CommLink link, double bestCost, CommNode startNode, Func< CommNode, CommNode, bool > whereClause) |
|
string CommNet.CommNetwork.CreateDebug |
( |
| ) |
|
|
inline |
override void CommNet.CommNetwork.CreateShortestPathTree |
( |
CommNode |
start, |
|
|
CommNode |
end |
|
) |
| |
|
inlineprotected |
< Reset all cells
< Add the root node to the candidate list.
< Process the candidate list until empty.
virtual bool CommNet.CommNetwork.FindClosestControlSource |
( |
CommNode |
from, |
|
|
CommPath |
path = null |
|
) |
| |
|
inlinevirtual |
Find the closest control source of any type
- Parameters
-
- Returns
Find the best path to the closest node that matches the where condition
- Parameters
-
- Returns
< Reset all cells
< Add the root node to the candidate list.
< Process the candidate list until empty.
virtual bool CommNet.CommNetwork.FindHome |
( |
CommNode |
from, |
|
|
CommPath |
path = null |
|
) |
| |
|
inlinevirtual |
Find a path to home, syntactic sugar for FindClosestWhere() where where IsHome
- Parameters
-
- Returns
Find best path between start and end
- Parameters
-
- Returns
override void CommNet.CommNetwork.Rebuild |
( |
| ) |
|
|
inline |
override bool CommNet.CommNetwork.Remove |
( |
CommNode |
conn | ) |
|
|
inline |
Updates connection state between two nodes, setting connected or not
- Parameters
-
- Returns
< handle distance offset
< test occlusion, try connecting
Returns true if not occluded (sue me)
- Parameters
-
- Returns
virtual bool CommNet.CommNetwork.TryConnect |
( |
CommNode |
a, |
|
|
CommNode |
b, |
|
|
double |
distance, |
|
|
bool |
aCanRelay, |
|
|
bool |
bCanRelay, |
|
|
bool |
bothRelay |
|
) |
| |
|
inlineprotectedvirtual |
Given nodes a and b are in range, try connecting them and store whether both can relay and whether each individually can using the other's non-relay transmitter
- Parameters
-
a | |
b | |
distance | |
aCanRelay | |
bCanRelay | |
bothRelay | |
- Returns
bool CommNet.CommNetwork.isDirty = false |
|
protected |
bool CommNet.CommNetwork.IsDirty |
|
get |
The documentation for this class was generated from the following file: