C# Class Pathfinding.Serialization.GraphSerializationContext

Mostra file Open project: henryj41043/TheUnseen Class Usage Examples

Public Properties

Property Type Description
graphIndex int
reader System.IO.BinaryReader
writer System.IO.BinaryWriter

Public Methods

Method Description
GetNodeFromIdentifier ( int id ) : GraphNode
GetNodeIdentifier ( GraphNode node ) : int
GraphSerializationContext ( System writer ) : System
GraphSerializationContext ( System reader, GraphNode id2NodeMapping, int graphIndex ) : System

Method Details

GetNodeFromIdentifier() public method

public GetNodeFromIdentifier ( int id ) : GraphNode
id int
return Pathfinding.GraphNode

GetNodeIdentifier() public method

public GetNodeIdentifier ( GraphNode node ) : int
node Pathfinding.GraphNode
return int

GraphSerializationContext() public method

public GraphSerializationContext ( System writer ) : System
writer System
return System

GraphSerializationContext() public method

public GraphSerializationContext ( System reader, GraphNode id2NodeMapping, int graphIndex ) : System
reader System
id2NodeMapping Pathfinding.GraphNode
graphIndex int
return System

Property Details

graphIndex public_oe property

public int graphIndex
return int

reader public_oe property

public BinaryReader,System.IO reader
return System.IO.BinaryReader

writer public_oe property

public BinaryWriter,System.IO writer
return System.IO.BinaryWriter