Newer
Older
DungeonShooting / DungeonShooting_Godot / src / game / ui / mapEditorMapLayer / MapEditorMapLayer.cs
  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((MapEditorMapLayerPanel)this, GetNode<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.  
  31. /// <summary>
  32. /// 类型: <see cref="Godot.Label"/>, 路径: MapEditorMapLayer.VBoxContainer.HBoxContainer.Label
  33. /// </summary>
  34. public class Label : UiNode<MapEditorMapLayerPanel, Godot.Label, Label>
  35. {
  36. public Label(MapEditorMapLayerPanel uiPanel, Godot.Label node) : base(uiPanel, node) { }
  37. public override Label Clone() => new (UiPanel, (Godot.Label)Instance.Duplicate());
  38. }
  39.  
  40. /// <summary>
  41. /// 类型: <see cref="Godot.CheckButton"/>, 路径: MapEditorMapLayer.VBoxContainer.HBoxContainer.CheckButton
  42. /// </summary>
  43. public class CheckButton : UiNode<MapEditorMapLayerPanel, Godot.CheckButton, CheckButton>
  44. {
  45. public CheckButton(MapEditorMapLayerPanel uiPanel, Godot.CheckButton node) : base(uiPanel, node) { }
  46. public override CheckButton Clone() => new (UiPanel, (Godot.CheckButton)Instance.Duplicate());
  47. }
  48.  
  49. /// <summary>
  50. /// 类型: <see cref="Godot.HBoxContainer"/>, 路径: MapEditorMapLayer.VBoxContainer.HBoxContainer
  51. /// </summary>
  52. public class HBoxContainer : UiNode<MapEditorMapLayerPanel, Godot.HBoxContainer, HBoxContainer>
  53. {
  54. /// <summary>
  55. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Label"/>, 节点路径: MapEditorMapLayer.VBoxContainer.Label
  56. /// </summary>
  57. public Label L_Label
  58. {
  59. get
  60. {
  61. if (_L_Label == null) _L_Label = new Label(UiPanel, Instance.GetNode<Godot.Label>("Label"));
  62. return _L_Label;
  63. }
  64. }
  65. private Label _L_Label;
  66.  
  67. /// <summary>
  68. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.CheckButton"/>, 节点路径: MapEditorMapLayer.VBoxContainer.CheckButton
  69. /// </summary>
  70. public CheckButton L_CheckButton
  71. {
  72. get
  73. {
  74. if (_L_CheckButton == null) _L_CheckButton = new CheckButton(UiPanel, Instance.GetNode<Godot.CheckButton>("CheckButton"));
  75. return _L_CheckButton;
  76. }
  77. }
  78. private CheckButton _L_CheckButton;
  79.  
  80. public HBoxContainer(MapEditorMapLayerPanel uiPanel, Godot.HBoxContainer node) : base(uiPanel, node) { }
  81. public override HBoxContainer Clone() => new (UiPanel, (Godot.HBoxContainer)Instance.Duplicate());
  82. }
  83.  
  84. /// <summary>
  85. /// 类型: <see cref="Godot.NinePatchRect"/>, 路径: MapEditorMapLayer.VBoxContainer.ScrollContainer.LayerButton.SelectTexture
  86. /// </summary>
  87. public class SelectTexture : UiNode<MapEditorMapLayerPanel, Godot.NinePatchRect, SelectTexture>
  88. {
  89. public SelectTexture(MapEditorMapLayerPanel uiPanel, Godot.NinePatchRect node) : base(uiPanel, node) { }
  90. public override SelectTexture Clone() => new (UiPanel, (Godot.NinePatchRect)Instance.Duplicate());
  91. }
  92.  
  93. /// <summary>
  94. /// 类型: <see cref="Godot.TextureButton"/>, 路径: MapEditorMapLayer.VBoxContainer.ScrollContainer.LayerButton.VisibleButton
  95. /// </summary>
  96. public class VisibleButton : UiNode<MapEditorMapLayerPanel, Godot.TextureButton, VisibleButton>
  97. {
  98. public VisibleButton(MapEditorMapLayerPanel uiPanel, Godot.TextureButton node) : base(uiPanel, node) { }
  99. public override VisibleButton Clone() => new (UiPanel, (Godot.TextureButton)Instance.Duplicate());
  100. }
  101.  
  102. /// <summary>
  103. /// 类型: <see cref="Godot.Button"/>, 路径: MapEditorMapLayer.VBoxContainer.ScrollContainer.LayerButton
  104. /// </summary>
  105. public class LayerButton : UiNode<MapEditorMapLayerPanel, Godot.Button, LayerButton>
  106. {
  107. /// <summary>
  108. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.NinePatchRect"/>, 节点路径: MapEditorMapLayer.VBoxContainer.ScrollContainer.SelectTexture
  109. /// </summary>
  110. public SelectTexture L_SelectTexture
  111. {
  112. get
  113. {
  114. if (_L_SelectTexture == null) _L_SelectTexture = new SelectTexture(UiPanel, Instance.GetNode<Godot.NinePatchRect>("SelectTexture"));
  115. return _L_SelectTexture;
  116. }
  117. }
  118. private SelectTexture _L_SelectTexture;
  119.  
  120. /// <summary>
  121. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.TextureButton"/>, 节点路径: MapEditorMapLayer.VBoxContainer.ScrollContainer.VisibleButton
  122. /// </summary>
  123. public VisibleButton L_VisibleButton
  124. {
  125. get
  126. {
  127. if (_L_VisibleButton == null) _L_VisibleButton = new VisibleButton(UiPanel, Instance.GetNode<Godot.TextureButton>("VisibleButton"));
  128. return _L_VisibleButton;
  129. }
  130. }
  131. private VisibleButton _L_VisibleButton;
  132.  
  133. public LayerButton(MapEditorMapLayerPanel uiPanel, Godot.Button node) : base(uiPanel, node) { }
  134. public override LayerButton Clone() => new (UiPanel, (Godot.Button)Instance.Duplicate());
  135. }
  136.  
  137. /// <summary>
  138. /// 类型: <see cref="Godot.ScrollContainer"/>, 路径: MapEditorMapLayer.VBoxContainer.ScrollContainer
  139. /// </summary>
  140. public class ScrollContainer : UiNode<MapEditorMapLayerPanel, Godot.ScrollContainer, ScrollContainer>
  141. {
  142. /// <summary>
  143. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Button"/>, 节点路径: MapEditorMapLayer.VBoxContainer.LayerButton
  144. /// </summary>
  145. public LayerButton L_LayerButton
  146. {
  147. get
  148. {
  149. if (_L_LayerButton == null) _L_LayerButton = new LayerButton(UiPanel, Instance.GetNode<Godot.Button>("LayerButton"));
  150. return _L_LayerButton;
  151. }
  152. }
  153. private LayerButton _L_LayerButton;
  154.  
  155. public ScrollContainer(MapEditorMapLayerPanel uiPanel, Godot.ScrollContainer node) : base(uiPanel, node) { }
  156. public override ScrollContainer Clone() => new (UiPanel, (Godot.ScrollContainer)Instance.Duplicate());
  157. }
  158.  
  159. /// <summary>
  160. /// 类型: <see cref="Godot.VBoxContainer"/>, 路径: MapEditorMapLayer.VBoxContainer
  161. /// </summary>
  162. public class VBoxContainer : UiNode<MapEditorMapLayerPanel, Godot.VBoxContainer, VBoxContainer>
  163. {
  164. /// <summary>
  165. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.HBoxContainer"/>, 节点路径: MapEditorMapLayer.HBoxContainer
  166. /// </summary>
  167. public HBoxContainer L_HBoxContainer
  168. {
  169. get
  170. {
  171. if (_L_HBoxContainer == null) _L_HBoxContainer = new HBoxContainer(UiPanel, Instance.GetNode<Godot.HBoxContainer>("HBoxContainer"));
  172. return _L_HBoxContainer;
  173. }
  174. }
  175. private HBoxContainer _L_HBoxContainer;
  176.  
  177. /// <summary>
  178. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.ScrollContainer"/>, 节点路径: MapEditorMapLayer.ScrollContainer
  179. /// </summary>
  180. public ScrollContainer L_ScrollContainer
  181. {
  182. get
  183. {
  184. if (_L_ScrollContainer == null) _L_ScrollContainer = new ScrollContainer(UiPanel, Instance.GetNode<Godot.ScrollContainer>("ScrollContainer"));
  185. return _L_ScrollContainer;
  186. }
  187. }
  188. private ScrollContainer _L_ScrollContainer;
  189.  
  190. public VBoxContainer(MapEditorMapLayerPanel uiPanel, Godot.VBoxContainer node) : base(uiPanel, node) { }
  191. public override VBoxContainer Clone() => new (UiPanel, (Godot.VBoxContainer)Instance.Duplicate());
  192. }
  193.  
  194.  
  195. /// <summary>
  196. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.Label"/>, 节点路径: MapEditorMapLayer.VBoxContainer.HBoxContainer.Label
  197. /// </summary>
  198. public Label S_Label => L_VBoxContainer.L_HBoxContainer.L_Label;
  199.  
  200. /// <summary>
  201. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.CheckButton"/>, 节点路径: MapEditorMapLayer.VBoxContainer.HBoxContainer.CheckButton
  202. /// </summary>
  203. public CheckButton S_CheckButton => L_VBoxContainer.L_HBoxContainer.L_CheckButton;
  204.  
  205. /// <summary>
  206. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.HBoxContainer"/>, 节点路径: MapEditorMapLayer.VBoxContainer.HBoxContainer
  207. /// </summary>
  208. public HBoxContainer S_HBoxContainer => L_VBoxContainer.L_HBoxContainer;
  209.  
  210. /// <summary>
  211. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.NinePatchRect"/>, 节点路径: MapEditorMapLayer.VBoxContainer.ScrollContainer.LayerButton.SelectTexture
  212. /// </summary>
  213. public SelectTexture S_SelectTexture => L_VBoxContainer.L_ScrollContainer.L_LayerButton.L_SelectTexture;
  214.  
  215. /// <summary>
  216. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.TextureButton"/>, 节点路径: MapEditorMapLayer.VBoxContainer.ScrollContainer.LayerButton.VisibleButton
  217. /// </summary>
  218. public VisibleButton S_VisibleButton => L_VBoxContainer.L_ScrollContainer.L_LayerButton.L_VisibleButton;
  219.  
  220. /// <summary>
  221. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.Button"/>, 节点路径: MapEditorMapLayer.VBoxContainer.ScrollContainer.LayerButton
  222. /// </summary>
  223. public LayerButton S_LayerButton => L_VBoxContainer.L_ScrollContainer.L_LayerButton;
  224.  
  225. /// <summary>
  226. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.ScrollContainer"/>, 节点路径: MapEditorMapLayer.VBoxContainer.ScrollContainer
  227. /// </summary>
  228. public ScrollContainer S_ScrollContainer => L_VBoxContainer.L_ScrollContainer;
  229.  
  230. /// <summary>
  231. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.VBoxContainer"/>, 节点路径: MapEditorMapLayer.VBoxContainer
  232. /// </summary>
  233. public VBoxContainer S_VBoxContainer => L_VBoxContainer;
  234.  
  235. }