mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-15 07:00:10 -05:00
Co-authored-by: Deatrathias <dmailsec@gmail.com> Co-authored-by: dj-kusuha <dj.kusuha+github@gmail.com> Co-authored-by: ousttrue <ousttrue@gmail.com> Co-authored-by: yutopp <yutopp@gmail.com>
25 lines
470 B
C#
25 lines
470 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; }
|
|
}
|
|
}
|