C# Class Pathfinding.Serialization.AstarSerializer

Exibir arquivo Open project: austinshenk/Binary Class Usage Examples

Public Properties

Property Type Description
readerSettings Pathfinding.Serialization.JsonFx.JsonReaderSettings
writerSettings Pathfinding.Serialization.JsonFx.JsonWriterSettings

Public Methods

Method Description
AddChecksum ( byte bytes ) : void
AstarSerializer ( AstarData data ) : System
AstarSerializer ( AstarData data, SerializeSettings settings ) : System
CloseDeserialize ( ) : void
CloseSerialize ( ) : byte[]
DeserializeEditorSettings ( Pathfinding.GraphEditorBase graphEditors ) : void
DeserializeExtraInfo ( ) : void
DeserializeGraphs ( ) : Pathfinding.NavGraph[]
DeserializeNodes ( ) : void
DeserializeUserConnections ( ) : Pathfinding.UserConnection[]
GetChecksum ( ) : uint
GetNodeWithIndex ( int index ) : Node
LoadFromFile ( string path ) : byte[]
OpenDeserialize ( byte bytes ) : bool
OpenSerialize ( ) : void
PostDeserialization ( ) : void
SaveToFile ( string path, byte data ) : void
Serialize ( NavGraph graph ) : byte[]
SerializeEditorSettings ( Pathfinding.GraphEditorBase editors ) : void
SerializeExtraInfo ( ) : void
SerializeGraphs ( NavGraph _graphs ) : void
SerializeNodes ( ) : void
SerializeUserConnections ( UserConnection conns ) : void

Private Methods

Method Description
DeserializeMeta ( ZipEntry entry ) : GraphMeta
DeserializeNodeConnections ( int index, BinaryReader reader ) : void
DeserializeNodes ( int index, BinaryReader reader ) : void
GetString ( ZipEntry entry ) : string
GetStringBuilder ( ) : System.Text.StringBuilder
SerializeMeta ( ) : byte[]
SerializeNodeConnections ( int index ) : byte[]
SerializeNodes ( int index ) : byte[]

Method Details

AddChecksum() public method

public AddChecksum ( byte bytes ) : void
bytes byte
return void

AstarSerializer() public method

public AstarSerializer ( AstarData data ) : System
data Pathfinding.AstarData
return System

AstarSerializer() public method

public AstarSerializer ( AstarData data, SerializeSettings settings ) : System
data Pathfinding.AstarData
settings SerializeSettings
return System

CloseDeserialize() public method

public CloseDeserialize ( ) : void
return void

CloseSerialize() public method

public CloseSerialize ( ) : byte[]
return byte[]

DeserializeEditorSettings() public method

public DeserializeEditorSettings ( Pathfinding.GraphEditorBase graphEditors ) : void
graphEditors Pathfinding.GraphEditorBase
return void

DeserializeExtraInfo() public method

public DeserializeExtraInfo ( ) : void
return void

DeserializeGraphs() public method

public DeserializeGraphs ( ) : Pathfinding.NavGraph[]
return Pathfinding.NavGraph[]

DeserializeNodes() public method

public DeserializeNodes ( ) : void
return void

DeserializeUserConnections() public method

public DeserializeUserConnections ( ) : Pathfinding.UserConnection[]
return Pathfinding.UserConnection[]

GetChecksum() public method

public GetChecksum ( ) : uint
return uint

GetNodeWithIndex() public method

public GetNodeWithIndex ( int index ) : Node
index int
return Node

LoadFromFile() public static method

public static LoadFromFile ( string path ) : byte[]
path string
return byte[]

OpenDeserialize() public method

public OpenDeserialize ( byte bytes ) : bool
bytes byte
return bool

OpenSerialize() public method

public OpenSerialize ( ) : void
return void

PostDeserialization() public method

public PostDeserialization ( ) : void
return void

SaveToFile() public static method

public static SaveToFile ( string path, byte data ) : void
path string
data byte
return void

Serialize() public method

public Serialize ( NavGraph graph ) : byte[]
graph Pathfinding.NavGraph
return byte[]

SerializeEditorSettings() public method

public SerializeEditorSettings ( Pathfinding.GraphEditorBase editors ) : void
editors Pathfinding.GraphEditorBase
return void

SerializeExtraInfo() public method

public SerializeExtraInfo ( ) : void
return void

SerializeGraphs() public method

public SerializeGraphs ( NavGraph _graphs ) : void
_graphs Pathfinding.NavGraph
return void

SerializeNodes() public method

public SerializeNodes ( ) : void
return void

SerializeUserConnections() public method

public SerializeUserConnections ( UserConnection conns ) : void
conns Pathfinding.UserConnection
return void

Property Details

readerSettings public_oe property

public JsonReaderSettings,Pathfinding.Serialization.JsonFx readerSettings
return Pathfinding.Serialization.JsonFx.JsonReaderSettings

writerSettings public_oe property

public JsonWriterSettings,Pathfinding.Serialization.JsonFx writerSettings
return Pathfinding.Serialization.JsonFx.JsonWriterSettings