M_Cyjb_Collections_TripleArrayCompress_2_AddNode - CYJB/Cyjb GitHub Wiki
添加指定的节点。
Namespace: Cyjb.Collections
Assembly: Cyjb (in Cyjb.dll) Version: 1.0.23+7750dd8e971297c5fa962a3bee37fb78f72793f6
C#
public int AddNode(
TCur currentNode,
IEnumerable<KeyValuePair<int, TNext>> children
)
- currentNode
- Type: TCur
当前节点。 - children
- Type: System.Collections.Generic.IEnumerable(KeyValuePair(Int32, TNext))
子节点列表,会被多次遍历因此请视情况使用缓存。
Type: Int32
指定节点的基线索引。