C# Class Pathfinding.AstarData

Exibir arquivo Open project: henryj41043/TheUnseen Class Usage Examples

Public Properties

Property Type Description
DefaultGraphTypes System.Type[]
compress bool
dataChecksum uint
data_backup byte[]
data_cachedStartup byte[]
graphTypes System.Type[]
hasBeenReverted bool
revertData byte[]

Public Methods

Method Description
AddGraph ( System type ) : NavGraph
AddGraph ( string type ) : NavGraph
AddGraph ( NavGraph graph ) : void
Awake ( ) : void
ClearGraphs ( ) : void
CreateGraph ( System type ) : NavGraph
CreateGraph ( string type ) : NavGraph
DeserializeGraphs ( ) : void
DeserializeGraphs ( byte bytes ) : void
DeserializeGraphsAdditive ( byte bytes ) : void
DeserializeGraphsPart ( Pathfinding.Pathfinding sr ) : void
DeserializeGraphsPartAdditive ( Pathfinding.Pathfinding sr ) : void
FindGraphOfType ( System type ) : NavGraph
FindGraphTypes ( ) : void
FindGraphsOfType ( System type ) : IEnumerable
GetData ( ) : byte[]
GetGraph ( GraphNode node ) : NavGraph
GetGraphIndex ( NavGraph graph ) : int
GetGraphType ( string type ) : System.Type
GetNode ( int graphIndex, int nodeIndex ) : GraphNode
GetNode ( int graphIndex, int nodeIndex, NavGraph graphs ) : GraphNode
GetRaycastableGraphs ( ) : IEnumerable
GetUpdateableGraphs ( ) : IEnumerable
GuidToGraph ( Guid guid ) : NavGraph
GuidToIndex ( Guid guid ) : int
LoadFromCache ( ) : void
OnDestroy ( ) : void
RemoveGraph ( NavGraph graph ) : bool
SaveCacheData ( Pathfinding.Pathfinding settings ) : void
SerializeGraphs ( ) : byte[]
SerializeGraphs ( Pathfinding.Pathfinding settings ) : byte[]
SerializeGraphs ( Pathfinding.Pathfinding settings, uint &checksum ) : byte[]
SerializeGraphsPart ( Pathfinding.Pathfinding sr ) : void
SetData ( byte data, uint checksum ) : void
UpdateShortcuts ( ) : void

Method Details

AddGraph() public method

public AddGraph ( System type ) : NavGraph
type System
return NavGraph

AddGraph() public method

public AddGraph ( string type ) : NavGraph
type string
return NavGraph

AddGraph() public method

public AddGraph ( NavGraph graph ) : void
graph NavGraph
return void

Awake() public method

public Awake ( ) : void
return void

ClearGraphs() public method

public ClearGraphs ( ) : void
return void

CreateGraph() public method

public CreateGraph ( System type ) : NavGraph
type System
return NavGraph

CreateGraph() public method

public CreateGraph ( string type ) : NavGraph
type string
return NavGraph

DeserializeGraphs() public method

public DeserializeGraphs ( ) : void
return void

DeserializeGraphs() public method

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

DeserializeGraphsAdditive() public method

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

DeserializeGraphsPart() public method

public DeserializeGraphsPart ( Pathfinding.Pathfinding sr ) : void
sr Pathfinding.Pathfinding
return void

DeserializeGraphsPartAdditive() public method

public DeserializeGraphsPartAdditive ( Pathfinding.Pathfinding sr ) : void
sr Pathfinding.Pathfinding
return void

FindGraphOfType() public method

public FindGraphOfType ( System type ) : NavGraph
type System
return NavGraph

FindGraphTypes() public method

public FindGraphTypes ( ) : void
return void

FindGraphsOfType() public method

public FindGraphsOfType ( System type ) : IEnumerable
type System
return IEnumerable

GetData() public method

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

GetGraph() public static method

public static GetGraph ( GraphNode node ) : NavGraph
node GraphNode
return NavGraph

GetGraphIndex() public method

public GetGraphIndex ( NavGraph graph ) : int
graph NavGraph
return int

GetGraphType() public method

public GetGraphType ( string type ) : System.Type
type string
return System.Type

GetNode() public method

public GetNode ( int graphIndex, int nodeIndex ) : GraphNode
graphIndex int
nodeIndex int
return GraphNode

GetNode() public method

public GetNode ( int graphIndex, int nodeIndex, NavGraph graphs ) : GraphNode
graphIndex int
nodeIndex int
graphs NavGraph
return GraphNode

GetRaycastableGraphs() public method

public GetRaycastableGraphs ( ) : IEnumerable
return IEnumerable

GetUpdateableGraphs() public method

public GetUpdateableGraphs ( ) : IEnumerable
return IEnumerable

GuidToGraph() public method

public GuidToGraph ( Guid guid ) : NavGraph
guid Pathfinding.Util.Guid
return NavGraph

GuidToIndex() public method

public GuidToIndex ( Guid guid ) : int
guid Pathfinding.Util.Guid
return int

LoadFromCache() public method

public LoadFromCache ( ) : void
return void

OnDestroy() public method

public OnDestroy ( ) : void
return void

RemoveGraph() public method

public RemoveGraph ( NavGraph graph ) : bool
graph NavGraph
return bool

SaveCacheData() public method

public SaveCacheData ( Pathfinding.Pathfinding settings ) : void
settings Pathfinding.Pathfinding
return void

SerializeGraphs() public method

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

SerializeGraphs() public method

public SerializeGraphs ( Pathfinding.Pathfinding settings ) : byte[]
settings Pathfinding.Pathfinding
return byte[]

SerializeGraphs() public method

public SerializeGraphs ( Pathfinding.Pathfinding settings, uint &checksum ) : byte[]
settings Pathfinding.Pathfinding
checksum uint
return byte[]

SerializeGraphsPart() public method

public SerializeGraphsPart ( Pathfinding.Pathfinding sr ) : void
sr Pathfinding.Pathfinding
return void

SetData() public method

public SetData ( byte data, uint checksum ) : void
data byte
checksum uint
return void

UpdateShortcuts() public method

public UpdateShortcuts ( ) : void
return void

Property Details

DefaultGraphTypes public_oe static_oe property

public static System.Type[] DefaultGraphTypes
return System.Type[]

compress public_oe property

public bool compress
return bool

dataChecksum public_oe property

public uint dataChecksum
return uint

data_backup public_oe property

public byte[] data_backup
return byte[]

data_cachedStartup public_oe property

public byte[] data_cachedStartup
return byte[]

graphTypes public_oe property

public System.Type[] graphTypes
return System.Type[]

hasBeenReverted public_oe property

public bool hasBeenReverted
return bool

revertData public_oe property

public byte[] revertData
return byte[]