using System;
namespace XGame.Framework.Nodes
{
public class NodeKey
{
public string Key { get; private set; }
///
/// 分组id
///
public uint GroupId { get; private set; }
///
/// Node的类型
///
public Type NodeType { get; private set; }
public NodeKey(string key, uint groupId, Type nodeType)
{
Key = key;
GroupId = groupId;
NodeType = nodeType;
}
public static implicit operator string(NodeKey nodeKey) => nodeKey.Key;
public override string ToString() => Key;
}
}