コード例 #1
0
ファイル: AcfBranchNode.cs プロジェクト: X606/ModBot-Launcher
        public bool TryGetChildWithKey(string key, out AcfNode child)
        {
            foreach (AcfNode childNode in Children)
            {
                if (childNode.Key == key)
                {
                    child = childNode;
                    return(true);
                }
            }

            child = null;
            return(false);
        }
コード例 #2
0
ファイル: AcfBranchNode.cs プロジェクト: X606/ModBot-Launcher
 public void AddChild(AcfNode node)
 {
     Children.Add(node);
 }