mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-10 04:31:43 -05:00
27 lines
517 B
C#
27 lines
517 B
C#
using System.Collections.Generic;
|
|
|
|
|
|
namespace UniJSON
|
|
{
|
|
public interface ITreeNode<T, U>
|
|
where T : ITreeNode<T, U>
|
|
{
|
|
bool IsValid { get; }
|
|
|
|
bool HasParent { get; }
|
|
T Parent { get; }
|
|
IEnumerable<T> Children { get; }
|
|
|
|
int ValueIndex { get; }
|
|
U Value { get; }
|
|
void SetValue(U value);
|
|
}
|
|
|
|
public interface IListTreeItem
|
|
{
|
|
int ParentIndex { get; }
|
|
int ChildCount { get; }
|
|
void SetChildCount(int count);
|
|
}
|
|
}
|