Newer
Older
DungeonShooting / DungeonShooting_Godot / src / game / ui / mapEditorMapLayer / MapEditorMapLayer.cs
@小李xl 小李xl on 2 Aug 2023 6 KB 设计地图标记页面
  1. namespace UI.MapEditorMapLayer;
  2.  
  3. /// <summary>
  4. /// Ui代码, 该类是根据ui场景自动生成的, 请不要手动编辑该类, 以免造成代码丢失
  5. /// </summary>
  6. public abstract partial class MapEditorMapLayer : UiBase
  7. {
  8. /// <summary>
  9. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.VBoxContainer"/>, 节点路径: MapEditorMapLayer.VBoxContainer
  10. /// </summary>
  11. public VBoxContainer L_VBoxContainer
  12. {
  13. get
  14. {
  15. if (_L_VBoxContainer == null) _L_VBoxContainer = new VBoxContainer(this, GetNodeOrNull<Godot.VBoxContainer>("VBoxContainer"));
  16. return _L_VBoxContainer;
  17. }
  18. }
  19. private VBoxContainer _L_VBoxContainer;
  20.  
  21.  
  22. public MapEditorMapLayer() : base(nameof(MapEditorMapLayer))
  23. {
  24. }
  25.  
  26. public sealed override void OnInitNestedUi()
  27. {
  28. }
  29.  
  30. /// <summary>
  31. /// 类型: <see cref="Godot.Label"/>, 路径: MapEditorMapLayer.VBoxContainer.LayerLabel
  32. /// </summary>
  33. public class LayerLabel : UiNode<MapEditorMapLayer, Godot.Label, LayerLabel>
  34. {
  35. public LayerLabel(MapEditorMapLayer uiPanel, Godot.Label node) : base(uiPanel, node) { }
  36. public override LayerLabel Clone() => new (UiPanel, (Godot.Label)Instance.Duplicate());
  37. }
  38.  
  39. /// <summary>
  40. /// 类型: <see cref="Godot.TextureButton"/>, 路径: MapEditorMapLayer.VBoxContainer.ScrollContainer.LayerButton.VisibleButton
  41. /// </summary>
  42. public class VisibleButton : UiNode<MapEditorMapLayer, Godot.TextureButton, VisibleButton>
  43. {
  44. public VisibleButton(MapEditorMapLayer uiPanel, Godot.TextureButton node) : base(uiPanel, node) { }
  45. public override VisibleButton Clone() => new (UiPanel, (Godot.TextureButton)Instance.Duplicate());
  46. }
  47.  
  48. /// <summary>
  49. /// 类型: <see cref="Godot.Button"/>, 路径: MapEditorMapLayer.VBoxContainer.ScrollContainer.LayerButton
  50. /// </summary>
  51. public class LayerButton : UiNode<MapEditorMapLayer, Godot.Button, LayerButton>
  52. {
  53. /// <summary>
  54. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.TextureButton"/>, 节点路径: MapEditorMapLayer.VBoxContainer.ScrollContainer.VisibleButton
  55. /// </summary>
  56. public VisibleButton L_VisibleButton
  57. {
  58. get
  59. {
  60. if (_L_VisibleButton == null) _L_VisibleButton = new VisibleButton(UiPanel, Instance.GetNodeOrNull<Godot.TextureButton>("VisibleButton"));
  61. return _L_VisibleButton;
  62. }
  63. }
  64. private VisibleButton _L_VisibleButton;
  65.  
  66. public LayerButton(MapEditorMapLayer uiPanel, Godot.Button node) : base(uiPanel, node) { }
  67. public override LayerButton Clone() => new (UiPanel, (Godot.Button)Instance.Duplicate());
  68. }
  69.  
  70. /// <summary>
  71. /// 类型: <see cref="Godot.ScrollContainer"/>, 路径: MapEditorMapLayer.VBoxContainer.ScrollContainer
  72. /// </summary>
  73. public class ScrollContainer : UiNode<MapEditorMapLayer, Godot.ScrollContainer, ScrollContainer>
  74. {
  75. /// <summary>
  76. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Button"/>, 节点路径: MapEditorMapLayer.VBoxContainer.LayerButton
  77. /// </summary>
  78. public LayerButton L_LayerButton
  79. {
  80. get
  81. {
  82. if (_L_LayerButton == null) _L_LayerButton = new LayerButton(UiPanel, Instance.GetNodeOrNull<Godot.Button>("LayerButton"));
  83. return _L_LayerButton;
  84. }
  85. }
  86. private LayerButton _L_LayerButton;
  87.  
  88. public ScrollContainer(MapEditorMapLayer uiPanel, Godot.ScrollContainer node) : base(uiPanel, node) { }
  89. public override ScrollContainer Clone() => new (UiPanel, (Godot.ScrollContainer)Instance.Duplicate());
  90. }
  91.  
  92. /// <summary>
  93. /// 类型: <see cref="Godot.VBoxContainer"/>, 路径: MapEditorMapLayer.VBoxContainer
  94. /// </summary>
  95. public class VBoxContainer : UiNode<MapEditorMapLayer, Godot.VBoxContainer, VBoxContainer>
  96. {
  97. /// <summary>
  98. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Label"/>, 节点路径: MapEditorMapLayer.LayerLabel
  99. /// </summary>
  100. public LayerLabel L_LayerLabel
  101. {
  102. get
  103. {
  104. if (_L_LayerLabel == null) _L_LayerLabel = new LayerLabel(UiPanel, Instance.GetNodeOrNull<Godot.Label>("LayerLabel"));
  105. return _L_LayerLabel;
  106. }
  107. }
  108. private LayerLabel _L_LayerLabel;
  109.  
  110. /// <summary>
  111. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.ScrollContainer"/>, 节点路径: MapEditorMapLayer.ScrollContainer
  112. /// </summary>
  113. public ScrollContainer L_ScrollContainer
  114. {
  115. get
  116. {
  117. if (_L_ScrollContainer == null) _L_ScrollContainer = new ScrollContainer(UiPanel, Instance.GetNodeOrNull<Godot.ScrollContainer>("ScrollContainer"));
  118. return _L_ScrollContainer;
  119. }
  120. }
  121. private ScrollContainer _L_ScrollContainer;
  122.  
  123. public VBoxContainer(MapEditorMapLayer uiPanel, Godot.VBoxContainer node) : base(uiPanel, node) { }
  124. public override VBoxContainer Clone() => new (UiPanel, (Godot.VBoxContainer)Instance.Duplicate());
  125. }
  126.  
  127.  
  128. /// <summary>
  129. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.Label"/>, 节点路径: MapEditorMapLayer.VBoxContainer.LayerLabel
  130. /// </summary>
  131. public LayerLabel S_LayerLabel => L_VBoxContainer.L_LayerLabel;
  132.  
  133. /// <summary>
  134. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.TextureButton"/>, 节点路径: MapEditorMapLayer.VBoxContainer.ScrollContainer.LayerButton.VisibleButton
  135. /// </summary>
  136. public VisibleButton S_VisibleButton => L_VBoxContainer.L_ScrollContainer.L_LayerButton.L_VisibleButton;
  137.  
  138. /// <summary>
  139. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.Button"/>, 节点路径: MapEditorMapLayer.VBoxContainer.ScrollContainer.LayerButton
  140. /// </summary>
  141. public LayerButton S_LayerButton => L_VBoxContainer.L_ScrollContainer.L_LayerButton;
  142.  
  143. /// <summary>
  144. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.ScrollContainer"/>, 节点路径: MapEditorMapLayer.VBoxContainer.ScrollContainer
  145. /// </summary>
  146. public ScrollContainer S_ScrollContainer => L_VBoxContainer.L_ScrollContainer;
  147.  
  148. /// <summary>
  149. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.VBoxContainer"/>, 节点路径: MapEditorMapLayer.VBoxContainer
  150. /// </summary>
  151. public VBoxContainer S_VBoxContainer => L_VBoxContainer;
  152.  
  153. }