private void DeserializeNodeLinks(GraphNode[] int2Node)
        {
            ZipEntry entry = this.GetEntry("node_link2.binary");

            if (entry == null)
            {
                return;
            }
            NodeLink2.DeserializeReferences(new GraphSerializationContext(AstarSerializer.GetBinaryReader(entry), int2Node, 0u, this.meta));
        }
示例#2
0
        private void DeserializeNodeLinks(GraphNode[] int2Node)
        {
            ZipEntry zipEntry = this.zip["node_link2.binary"];

            if (zipEntry == null)
            {
                return;
            }
            BinaryReader binaryReader     = AstarSerializer.GetBinaryReader(zipEntry);
            GraphSerializationContext ctx = new GraphSerializationContext(binaryReader, int2Node, 0u, this.meta);

            NodeLink2.DeserializeReferences(ctx);
        }
示例#3
0
        void DeserializeNodeLinks(GraphNode[] int2Node)
        {
            var entry = GetEntry("node_link2" + binaryExt);

            if (entry == null)
            {
                return;
            }

            var reader = GetBinaryReader(entry);
            var ctx    = new GraphSerializationContext(reader, int2Node, 0, meta);

            NodeLink2.DeserializeReferences(ctx);
        }