Class AstarSerializer
Handles low level serialization and deserialization of graph settings and data.
Mostly for internal use. You can use the methods in the AstarData class for higher level serialization and deserialization.
See
Public Methods
Deserializes graph editor settings.
Deserializes extra graph info.
Deserializes graph settings.
Calls PostDeserialization on all loaded graphs.
Serializes the graph settings to JSON and returns the data.
Public Static Methods
Load the specified data from the specified path.
Save the specified data at the specified path.
Public Static Variables
Cached version object for 3.8.3.
Cached version object for 3.9.0.
Cached version object for 4.1.0.
Private/Protected Members
Cached StringBuilder to avoid excessive allocations.
Extension to use for binary files.
Checksum for the serialized data.
Returns a version with all fields fully defined.
Returns a binary reader for the data in the zip entry.
Returns the data in the zip entry as a string.
Returns a cached StringBuilder.
Index used for the graph in the file.
Graphs that are being serialized or deserialized.
Extension to use for json files.
Graph metadata.
Serializes info returned by NavGraph.SerializeExtraInfo.
Used to serialize references to other nodes e.g connections.
Serialize metadata about all graphs.
Settings for serialization.
Zip which the data is loaded from.
Memory stream with the zip data.
Deprecated Members
Deprecated method to serialize node data.