UniVRM/UniJSON/Scripts/ITreeNode.cs
ousttrue df85433628 Merge commit 'df5f79584312cf4f6cc7ec1d73a78f6ba475c9ad' as 'UniJSON'
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>
2018-12-28 20:38:39 +09:00

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; }
}
}