A* Pathfinding Project
3.6
The A* Pathfinding Project for Unity 3D
|
Holds information passed to custom graph serializers. More...
Holds information passed to custom graph serializers.
Public Member Functions | |
GraphSerializationContext (System.IO.BinaryReader reader, GraphNode[] id2NodeMapping, int graphIndex) | |
GraphSerializationContext (System.IO.BinaryWriter writer) | |
GraphNode | GetNodeFromIdentifier (int id) |
int | GetNodeIdentifier (GraphNode node) |
Public Attributes | |
readonly int | graphIndex |
readonly System.IO.BinaryReader | reader |
readonly System.IO.BinaryWriter | writer |
Private Attributes | |
readonly GraphNode[] | id2NodeMapping |
GraphSerializationContext | ( | System.IO.BinaryReader | reader, |
GraphNode[] | id2NodeMapping, | ||
int | graphIndex | ||
) |
GraphSerializationContext | ( | System.IO.BinaryWriter | writer | ) |
GraphNode GetNodeFromIdentifier | ( | int | id | ) |
int GetNodeIdentifier | ( | GraphNode | node | ) |
readonly int graphIndex |
|
private |
readonly System.IO.BinaryReader reader |
readonly System.IO.BinaryWriter writer |