C# Class DTPathFind.dtNodePool

Show file Open project: woshihuo12/UnityHello

Public Methods

Method Description
clear ( ) : void
dtNodePool ( int maxNodes, int hashSize ) : UnityEngine
findNode ( System.UInt64 id ) : dtNode
findNodes ( System.UInt64 id, int maxNodes ) : List
getFirst ( int bucket ) : System.UInt16
getHashSize ( ) : int
getMaxNodes ( ) : int
getMemUsed ( ) : int
getNext ( int i ) : System.UInt16
getNode ( System.UInt64 id, uint state ) : dtNode
getNodeAtIdx ( uint idx ) : dtNode
getNodeCount ( ) : int
getNodeIdx ( dtNode node ) : uint

Method Details

clear() public method

public clear ( ) : void
return void

dtNodePool() public method

public dtNodePool ( int maxNodes, int hashSize ) : UnityEngine
maxNodes int
hashSize int
return UnityEngine

findNode() public method

public findNode ( System.UInt64 id ) : dtNode
id System.UInt64
return dtNode

findNodes() public method

public findNodes ( System.UInt64 id, int maxNodes ) : List
id System.UInt64
maxNodes int
return List

getFirst() public method

public getFirst ( int bucket ) : System.UInt16
bucket int
return System.UInt16

getHashSize() public method

public getHashSize ( ) : int
return int

getMaxNodes() public method

public getMaxNodes ( ) : int
return int

getMemUsed() public method

public getMemUsed ( ) : int
return int

getNext() public method

public getNext ( int i ) : System.UInt16
i int
return System.UInt16

getNode() public method

public getNode ( System.UInt64 id, uint state ) : dtNode
id System.UInt64
state uint
return dtNode

getNodeAtIdx() public method

public getNodeAtIdx ( uint idx ) : dtNode
idx uint
return dtNode

getNodeCount() public method

public getNodeCount ( ) : int
return int

getNodeIdx() public method

public getNodeIdx ( dtNode node ) : uint
node dtNode
return uint