C# Class Pathfinding.AstarData

Afficher le fichier Open project: henryj41043/TheUnseen Class Usage Examples

Méthodes publiques

Свойство Type Description
DefaultGraphTypes System.Type[]
compress bool
dataChecksum uint
data_backup byte[]
data_cachedStartup byte[]
graphTypes System.Type[]
hasBeenReverted bool
revertData byte[]

Méthodes publiques

Méthode 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 méthode

public AddGraph ( System type ) : NavGraph
type System
Résultat NavGraph

AddGraph() public méthode

public AddGraph ( string type ) : NavGraph
type string
Résultat NavGraph

AddGraph() public méthode

public AddGraph ( NavGraph graph ) : void
graph NavGraph
Résultat void

Awake() public méthode

public Awake ( ) : void
Résultat void

ClearGraphs() public méthode

public ClearGraphs ( ) : void
Résultat void

CreateGraph() public méthode

public CreateGraph ( System type ) : NavGraph
type System
Résultat NavGraph

CreateGraph() public méthode

public CreateGraph ( string type ) : NavGraph
type string
Résultat NavGraph

DeserializeGraphs() public méthode

public DeserializeGraphs ( ) : void
Résultat void

DeserializeGraphs() public méthode

public DeserializeGraphs ( byte bytes ) : void
bytes byte
Résultat void

DeserializeGraphsAdditive() public méthode

public DeserializeGraphsAdditive ( byte bytes ) : void
bytes byte
Résultat void

DeserializeGraphsPart() public méthode

public DeserializeGraphsPart ( Pathfinding.Pathfinding sr ) : void
sr Pathfinding.Pathfinding
Résultat void

DeserializeGraphsPartAdditive() public méthode

public DeserializeGraphsPartAdditive ( Pathfinding.Pathfinding sr ) : void
sr Pathfinding.Pathfinding
Résultat void

FindGraphOfType() public méthode

public FindGraphOfType ( System type ) : NavGraph
type System
Résultat NavGraph

FindGraphTypes() public méthode

public FindGraphTypes ( ) : void
Résultat void

FindGraphsOfType() public méthode

public FindGraphsOfType ( System type ) : IEnumerable
type System
Résultat IEnumerable

GetData() public méthode

public GetData ( ) : byte[]
Résultat byte[]

GetGraph() public static méthode

public static GetGraph ( GraphNode node ) : NavGraph
node GraphNode
Résultat NavGraph

GetGraphIndex() public méthode

public GetGraphIndex ( NavGraph graph ) : int
graph NavGraph
Résultat int

GetGraphType() public méthode

public GetGraphType ( string type ) : System.Type
type string
Résultat System.Type

GetNode() public méthode

public GetNode ( int graphIndex, int nodeIndex ) : GraphNode
graphIndex int
nodeIndex int
Résultat GraphNode

GetNode() public méthode

public GetNode ( int graphIndex, int nodeIndex, NavGraph graphs ) : GraphNode
graphIndex int
nodeIndex int
graphs NavGraph
Résultat GraphNode

GetRaycastableGraphs() public méthode

public GetRaycastableGraphs ( ) : IEnumerable
Résultat IEnumerable

GetUpdateableGraphs() public méthode

public GetUpdateableGraphs ( ) : IEnumerable
Résultat IEnumerable

GuidToGraph() public méthode

public GuidToGraph ( Guid guid ) : NavGraph
guid Pathfinding.Util.Guid
Résultat NavGraph

GuidToIndex() public méthode

public GuidToIndex ( Guid guid ) : int
guid Pathfinding.Util.Guid
Résultat int

LoadFromCache() public méthode

public LoadFromCache ( ) : void
Résultat void

OnDestroy() public méthode

public OnDestroy ( ) : void
Résultat void

RemoveGraph() public méthode

public RemoveGraph ( NavGraph graph ) : bool
graph NavGraph
Résultat bool

SaveCacheData() public méthode

public SaveCacheData ( Pathfinding.Pathfinding settings ) : void
settings Pathfinding.Pathfinding
Résultat void

SerializeGraphs() public méthode

public SerializeGraphs ( ) : byte[]
Résultat byte[]

SerializeGraphs() public méthode

public SerializeGraphs ( Pathfinding.Pathfinding settings ) : byte[]
settings Pathfinding.Pathfinding
Résultat byte[]

SerializeGraphs() public méthode

public SerializeGraphs ( Pathfinding.Pathfinding settings, uint &checksum ) : byte[]
settings Pathfinding.Pathfinding
checksum uint
Résultat byte[]

SerializeGraphsPart() public méthode

public SerializeGraphsPart ( Pathfinding.Pathfinding sr ) : void
sr Pathfinding.Pathfinding
Résultat void

SetData() public méthode

public SetData ( byte data, uint checksum ) : void
data byte
checksum uint
Résultat void

UpdateShortcuts() public méthode

public UpdateShortcuts ( ) : void
Résultat void

Property Details

DefaultGraphTypes public_oe static_oe property

public static System.Type[] DefaultGraphTypes
Résultat System.Type[]

compress public_oe property

public bool compress
Résultat bool

dataChecksum public_oe property

public uint dataChecksum
Résultat uint

data_backup public_oe property

public byte[] data_backup
Résultat byte[]

data_cachedStartup public_oe property

public byte[] data_cachedStartup
Résultat byte[]

graphTypes public_oe property

public System.Type[] graphTypes
Résultat System.Type[]

hasBeenReverted public_oe property

public bool hasBeenReverted
Résultat bool

revertData public_oe property

public byte[] revertData
Résultat byte[]