ItemNode.cs 703 B

12345678910111213141516171819202122232425262728293031
  1. using FL.Nodes.Item;
  2. using XGame.Framework.Data;
  3. using XGame.Framework.Nodes;
  4. namespace FL.Nodes
  5. {
  6. public static partial class NodeKeys
  7. {
  8. private static NodeKey _Item;
  9. public static NodeKey Item => _Item ??= new NodeKey("Item", (uint)NodeGroupDefine.Launch, typeof(ItemNode));
  10. }
  11. public class ItemNode : Node
  12. {
  13. protected override void OnDispose()
  14. {
  15. }
  16. protected override void OnInited()
  17. {
  18. }
  19. protected override void AddComponent(INodeComponentGroup group)
  20. {
  21. group.Add(new UIComponent());
  22. }
  23. protected override void AddData(IDataGroup dataGroup)
  24. {
  25. }
  26. }
  27. }