0x00x0038
Members 6
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | _gridGraphs | GridGraph[] | PrivateStatic | — | |
| — | 0x04 | GridFlagsConnectionOffset | int | PrivateStatic+1 flags | -2128597216 |
| — | 0x04 | GridFlagsConnectionBit0 | int | PrivateStatic+1 flags | -2128597216 |
| — | 0x04 | GridFlagsConnectionMask | int | PrivateStatic+1 flags | -2128597216 |
| — | 0x04 | GridFlagsEdgeNodeOffset | int | PrivateStatic+1 flags | -2128597216 |
| — | 0x04 | GridFlagsEdgeNodeMask | int | PrivateStatic+1 flags | -2128597216 |
Inherited from GridNodeBase 9
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| — | 0x04 | GridFlagsWalkableErosionOffset | int | PrivateStatic+1 flags | 8 |
| — | 0x04 | GridFlagsWalkableErosionMask | int | PrivateStatic+1 flags | 256 |
| — | 0x04 | GridFlagsWalkableTmpOffset | int | PrivateStatic+1 flags | 9 |
| — | 0x04 | GridFlagsWalkableTmpMask | int | PrivateStatic+1 flags | 512 |
| — | 0x04 | NodeInGridIndexLayerOffset | int | Static+2 flags | 24 |
| — | 0x04 | NodeInGridIndexMask | int | Static+2 flags | 16777215 |
| 0x04 | nodeInGridIndex | int | 1 flags | — | |
| 0x02 | gridFlags | ushort | 1 flags | — | |
| 0x002E | 0x02 | padding / unreflected | |||
| 0x08 | connections | Connection[] | Public | — | |
Inherited from GraphNode 20
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x04 | nodeIndex | int | Private | — | |
| 0x04 | flags | uint | 1 flags | — | |
| 0x04 | penalty | uint | Private | — | |
| — | 0x04 | NodeIndexMask | int | PrivateStatic+1 flags | 268435455 |
| — | 0x04 | DestroyedNodeIndex | int | PrivateStatic+1 flags | 268435454 |
| — | 0x04 | TemporaryFlag1Mask | int | PrivateStatic+1 flags | 268435456 |
| — | 0x04 | TemporaryFlag2Mask | int | PrivateStatic+1 flags | 536870912 |
| 0x0C | position | Int3 | Public | — | |
| — | 0x04 | FlagsWalkableOffset | int | PrivateStatic+1 flags | 0 |
| — | 0x04 | FlagsWalkableMask | uint | PrivateStatic+1 flags | 1 |
| — | 0x04 | FlagsHierarchicalIndexOffset | int | PrivateStatic+1 flags | 1 |
| — | 0x04 | HierarchicalIndexMask | uint | PrivateStatic+1 flags | 262142 |
| — | 0x04 | HierarchicalDirtyOffset | int | PrivateStatic+1 flags | 18 |
| — | 0x04 | HierarchicalDirtyMask | uint | PrivateStatic+1 flags | 262144 |
| — | 0x04 | FlagsGraphOffset | int | PrivateStatic+1 flags | 24 |
| — | 0x04 | FlagsGraphMask | uint | PrivateStatic+1 flags | 4278190080 |
| — | 0x04 | MaxHierarchicalNodeIndex | uint | PublicStatic+1 flags | 131071 |
| — | 0x04 | MaxGraphIndex | uint | PublicStatic+1 flags | 255 |
| — | 0x04 | FlagsTagOffset | int | PrivateStatic+1 flags | 19 |
| — | 0x04 | FlagsTagMask | uint | PrivateStatic+1 flags | 16252928 |
Functions 27
| Signature | Flags | Native | Params |
|---|---|---|---|
| void .ctor(AstarPath astar) | Public+1 flags | — | 0x08 |
| GridGraph GetGridGraph(uint graphIndex) | PublicStatic | — | 0x08 |
| void SetGridGraph(int graphIndex, GridGraph graph) | PublicStatic | — | 0x08 |
| void ClearGridGraph(int graphIndex, GridGraph graph) | PublicStatic | — | 0x08 |
| ushort get_InternalGridFlags() | 2 flags | — | 0x02 |
| void set_InternalGridFlags(ushort value) | 2 flags | — | 0x02 |
| bool get_HasConnectionsToAllEightNeighbours() | Public+2 flags | — | 0x01 |
| bool HasConnectionInDirection(int dir) | Public+1 flags | — | 0x04 |
| bool GetConnectionInternal(int dir) | Public | — | 0x04 |
| void SetConnectionInternal(int dir, bool value) | Public | — | 0x04 |
| void SetAllConnectionInternal(int connections) | Public | — | 0x04 |
| void ResetConnectionsInternal() | Public | — | 0x00 |
| bool get_EdgeNode() | Public+1 flags | — | 0x01 |
| void set_EdgeNode(bool value) | Public+1 flags | — | 0x01 |
| GridNodeBase GetNeighbourAlongDirection(int direction) | Public+1 flags | — | 0x08 |
| void ClearConnections(bool alsoReverse) | Public+1 flags | — | 0x01 |
| void GetConnections(Action<Pathfinding.GraphNode> action) | Public+1 flags | — | 0x08 |
| Vector3 ClosestPointOnNode(const Vector3& p) | Public+1 flags | — | 0x0C |
| bool GetPortal(GraphNode other, List<UnityEngine.Vector3> left, List<UnityEngine.Vector3> right, bool backwards) | Public+1 flags | — | 0x08 |
| void UpdateRecursiveG(Path path, PathNode pathNode, PathHandler handler) | Public+1 flags | — | 0x08 |
| void Open(Path path, PathNode pathNode, PathHandler handler, bool useLoose) | Public+1 flags | — | 0x08 |
| void SerializeNode(GraphSerializationContext ctx) | Public+1 flags | — | 0x08 |
| void DeserializeNode(GraphSerializationContext ctx) | Public+1 flags | — | 0x08 |
| void AddConnection(GraphNode node, uint cost) | Public+1 flags | — | 0x08 |
| void RemoveConnection(GraphNode node) | Public+1 flags | — | 0x08 |
| void RemoveGridConnection(GridNode node) | 1 flags | — | 0x08 |
| void .cctor() | PrivateStatic+1 flags | — | 0x00 |