Click or drag to resize
IArbitraryChainsXTPart, TChainMatchPartsTPart2, TChain2, TDictValue Method

Namespace: Candlelight
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
public static bool MatchParts<TPart2, TChain2, TDictValue>(
	IArbitraryChains<TPart, TChain> from,
	IArbitraryChains<TPart2, TChain2> to,
	ref Dictionary<TPart, TDictValue> result,
	out int fromBodyCount
)
where TPart2 : 
where TChain2 : struct, new(), IBodyChain<TChain2, TPart2>
where TDictValue : Component

Parameters

from
Type: CandlelightIArbitraryChainsTPart, TChain
IArbitraryChainsTPart, TChain whose definition should be used as keys.
to
Type: CandlelightIArbitraryChainsTPart2, TChain2
IArbitraryChainsTPart, TChain to match to.
result
Type: System.Collections.GenericDictionaryTPart, TDictValue
if the hierarchies contain all the same parts; otherwise, .
fromBodyCount
Type: SystemInt32
The number of bodies in from.

Type Parameters

TPart2
The part type in the other tetrapod.
TChain2
The chain type in the other tetrapod.
TDictValue
The value type of the mapping dictionary.

Return Value

Type: Boolean
if the hierarchies contain all the same parts; otherwise, .
See Also