Newer
Older
DungeonShooting / DungeonShooting_Godot / src / game / ui / editorTools / EditorTools.cs
@小李xl 小李xl on 18 Mar 2023 14 KB 将编辑器插件接入ui系统
  1. namespace UI.EditorTools;
  2.  
  3. /// <summary>
  4. /// Ui代码, 该类是根据ui场景自动生成的, 请不要手动编辑该类, 以免造成代码丢失
  5. /// </summary>
  6. public abstract partial class EditorTools : UiBase
  7. {
  8. /// <summary>
  9. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.ScrollContainer"/>, 节点路径: EditorTools.ScrollContainer
  10. /// </summary>
  11. public UiNode_ScrollContainer L_ScrollContainer
  12. {
  13. get
  14. {
  15. if (_L_ScrollContainer == null) _L_ScrollContainer = new UiNode_ScrollContainer(GetNodeOrNull<Godot.ScrollContainer>("ScrollContainer"));
  16. return _L_ScrollContainer;
  17. }
  18. }
  19. private UiNode_ScrollContainer _L_ScrollContainer;
  20.  
  21. /// <summary>
  22. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.ConfirmationDialog"/>, 节点路径: EditorTools.Confirm
  23. /// </summary>
  24. public UiNode_Confirm L_Confirm
  25. {
  26. get
  27. {
  28. if (_L_Confirm == null) _L_Confirm = new UiNode_Confirm(GetNodeOrNull<Godot.ConfirmationDialog>("Confirm"));
  29. return _L_Confirm;
  30. }
  31. }
  32. private UiNode_Confirm _L_Confirm;
  33.  
  34. /// <summary>
  35. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.AcceptDialog"/>, 节点路径: EditorTools.Tips
  36. /// </summary>
  37. public UiNode_Tips L_Tips
  38. {
  39. get
  40. {
  41. if (_L_Tips == null) _L_Tips = new UiNode_Tips(GetNodeOrNull<Godot.AcceptDialog>("Tips"));
  42. return _L_Tips;
  43. }
  44. }
  45. private UiNode_Tips _L_Tips;
  46.  
  47.  
  48.  
  49. /// <summary>
  50. /// 类型: <see cref="Godot.Label"/>, 路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer.Label
  51. /// </summary>
  52. public class UiNode_Label : IUiNode<Godot.Label, UiNode_Label>
  53. {
  54. public UiNode_Label(Godot.Label node) : base(node) { }
  55. public override UiNode_Label Clone() => new ((Godot.Label)Instance.Duplicate());
  56. }
  57.  
  58. /// <summary>
  59. /// 类型: <see cref="Godot.Button"/>, 路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer.Button
  60. /// </summary>
  61. public class UiNode_Button : IUiNode<Godot.Button, UiNode_Button>
  62. {
  63. public UiNode_Button(Godot.Button node) : base(node) { }
  64. public override UiNode_Button Clone() => new ((Godot.Button)Instance.Duplicate());
  65. }
  66.  
  67. /// <summary>
  68. /// 类型: <see cref="Godot.HBoxContainer"/>, 路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer
  69. /// </summary>
  70. public class UiNode_HBoxContainer : IUiNode<Godot.HBoxContainer, UiNode_HBoxContainer>
  71. {
  72. /// <summary>
  73. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Label"/>, 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.Label
  74. /// </summary>
  75. public UiNode_Label L_Label
  76. {
  77. get
  78. {
  79. if (_L_Label == null) _L_Label = new UiNode_Label(Instance.GetNodeOrNull<Godot.Label>("Label"));
  80. return _L_Label;
  81. }
  82. }
  83. private UiNode_Label _L_Label;
  84.  
  85. /// <summary>
  86. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Button"/>, 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.Button
  87. /// </summary>
  88. public UiNode_Button L_Button
  89. {
  90. get
  91. {
  92. if (_L_Button == null) _L_Button = new UiNode_Button(Instance.GetNodeOrNull<Godot.Button>("Button"));
  93. return _L_Button;
  94. }
  95. }
  96. private UiNode_Button _L_Button;
  97.  
  98. public UiNode_HBoxContainer(Godot.HBoxContainer node) : base(node) { }
  99. public override UiNode_HBoxContainer Clone() => new ((Godot.HBoxContainer)Instance.Duplicate());
  100. }
  101.  
  102. /// <summary>
  103. /// 类型: <see cref="Godot.Label"/>, 路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer2.Label
  104. /// </summary>
  105. public class UiNode1_Label : IUiNode<Godot.Label, UiNode1_Label>
  106. {
  107. public UiNode1_Label(Godot.Label node) : base(node) { }
  108. public override UiNode1_Label Clone() => new ((Godot.Label)Instance.Duplicate());
  109. }
  110.  
  111. /// <summary>
  112. /// 类型: <see cref="Godot.Button"/>, 路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer2.Button
  113. /// </summary>
  114. public class UiNode1_Button : IUiNode<Godot.Button, UiNode1_Button>
  115. {
  116. public UiNode1_Button(Godot.Button node) : base(node) { }
  117. public override UiNode1_Button Clone() => new ((Godot.Button)Instance.Duplicate());
  118. }
  119.  
  120. /// <summary>
  121. /// 类型: <see cref="Godot.HBoxContainer"/>, 路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer2
  122. /// </summary>
  123. public class UiNode_HBoxContainer2 : IUiNode<Godot.HBoxContainer, UiNode_HBoxContainer2>
  124. {
  125. /// <summary>
  126. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Label"/>, 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.Label
  127. /// </summary>
  128. public UiNode1_Label L_Label
  129. {
  130. get
  131. {
  132. if (_L_Label == null) _L_Label = new UiNode1_Label(Instance.GetNodeOrNull<Godot.Label>("Label"));
  133. return _L_Label;
  134. }
  135. }
  136. private UiNode1_Label _L_Label;
  137.  
  138. /// <summary>
  139. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Button"/>, 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.Button
  140. /// </summary>
  141. public UiNode1_Button L_Button
  142. {
  143. get
  144. {
  145. if (_L_Button == null) _L_Button = new UiNode1_Button(Instance.GetNodeOrNull<Godot.Button>("Button"));
  146. return _L_Button;
  147. }
  148. }
  149. private UiNode1_Button _L_Button;
  150.  
  151. public UiNode_HBoxContainer2(Godot.HBoxContainer node) : base(node) { }
  152. public override UiNode_HBoxContainer2 Clone() => new ((Godot.HBoxContainer)Instance.Duplicate());
  153. }
  154.  
  155. /// <summary>
  156. /// 类型: <see cref="Godot.Label"/>, 路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer3.Label
  157. /// </summary>
  158. public class UiNode2_Label : IUiNode<Godot.Label, UiNode2_Label>
  159. {
  160. public UiNode2_Label(Godot.Label node) : base(node) { }
  161. public override UiNode2_Label Clone() => new ((Godot.Label)Instance.Duplicate());
  162. }
  163.  
  164. /// <summary>
  165. /// 类型: <see cref="Godot.LineEdit"/>, 路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer3.LineEdit
  166. /// </summary>
  167. public class UiNode_LineEdit : IUiNode<Godot.LineEdit, UiNode_LineEdit>
  168. {
  169. public UiNode_LineEdit(Godot.LineEdit node) : base(node) { }
  170. public override UiNode_LineEdit Clone() => new ((Godot.LineEdit)Instance.Duplicate());
  171. }
  172.  
  173. /// <summary>
  174. /// 类型: <see cref="Godot.Button"/>, 路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer3.Button
  175. /// </summary>
  176. public class UiNode2_Button : IUiNode<Godot.Button, UiNode2_Button>
  177. {
  178. public UiNode2_Button(Godot.Button node) : base(node) { }
  179. public override UiNode2_Button Clone() => new ((Godot.Button)Instance.Duplicate());
  180. }
  181.  
  182. /// <summary>
  183. /// 类型: <see cref="Godot.HBoxContainer"/>, 路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer3
  184. /// </summary>
  185. public class UiNode_HBoxContainer3 : IUiNode<Godot.HBoxContainer, UiNode_HBoxContainer3>
  186. {
  187. /// <summary>
  188. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Label"/>, 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.Label
  189. /// </summary>
  190. public UiNode2_Label L_Label
  191. {
  192. get
  193. {
  194. if (_L_Label == null) _L_Label = new UiNode2_Label(Instance.GetNodeOrNull<Godot.Label>("Label"));
  195. return _L_Label;
  196. }
  197. }
  198. private UiNode2_Label _L_Label;
  199.  
  200. /// <summary>
  201. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.LineEdit"/>, 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.LineEdit
  202. /// </summary>
  203. public UiNode_LineEdit L_LineEdit
  204. {
  205. get
  206. {
  207. if (_L_LineEdit == null) _L_LineEdit = new UiNode_LineEdit(Instance.GetNodeOrNull<Godot.LineEdit>("LineEdit"));
  208. return _L_LineEdit;
  209. }
  210. }
  211. private UiNode_LineEdit _L_LineEdit;
  212.  
  213. /// <summary>
  214. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Button"/>, 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.Button
  215. /// </summary>
  216. public UiNode2_Button L_Button
  217. {
  218. get
  219. {
  220. if (_L_Button == null) _L_Button = new UiNode2_Button(Instance.GetNodeOrNull<Godot.Button>("Button"));
  221. return _L_Button;
  222. }
  223. }
  224. private UiNode2_Button _L_Button;
  225.  
  226. public UiNode_HBoxContainer3(Godot.HBoxContainer node) : base(node) { }
  227. public override UiNode_HBoxContainer3 Clone() => new ((Godot.HBoxContainer)Instance.Duplicate());
  228. }
  229.  
  230. /// <summary>
  231. /// 类型: <see cref="Godot.VBoxContainer"/>, 路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer
  232. /// </summary>
  233. public class UiNode_VBoxContainer : IUiNode<Godot.VBoxContainer, UiNode_VBoxContainer>
  234. {
  235. /// <summary>
  236. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.HBoxContainer"/>, 节点路径: EditorTools.ScrollContainer.MarginContainer.HBoxContainer
  237. /// </summary>
  238. public UiNode_HBoxContainer L_HBoxContainer
  239. {
  240. get
  241. {
  242. if (_L_HBoxContainer == null) _L_HBoxContainer = new UiNode_HBoxContainer(Instance.GetNodeOrNull<Godot.HBoxContainer>("HBoxContainer"));
  243. return _L_HBoxContainer;
  244. }
  245. }
  246. private UiNode_HBoxContainer _L_HBoxContainer;
  247.  
  248. /// <summary>
  249. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.HBoxContainer"/>, 节点路径: EditorTools.ScrollContainer.MarginContainer.HBoxContainer2
  250. /// </summary>
  251. public UiNode_HBoxContainer2 L_HBoxContainer2
  252. {
  253. get
  254. {
  255. if (_L_HBoxContainer2 == null) _L_HBoxContainer2 = new UiNode_HBoxContainer2(Instance.GetNodeOrNull<Godot.HBoxContainer>("HBoxContainer2"));
  256. return _L_HBoxContainer2;
  257. }
  258. }
  259. private UiNode_HBoxContainer2 _L_HBoxContainer2;
  260.  
  261. /// <summary>
  262. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.HBoxContainer"/>, 节点路径: EditorTools.ScrollContainer.MarginContainer.HBoxContainer3
  263. /// </summary>
  264. public UiNode_HBoxContainer3 L_HBoxContainer3
  265. {
  266. get
  267. {
  268. if (_L_HBoxContainer3 == null) _L_HBoxContainer3 = new UiNode_HBoxContainer3(Instance.GetNodeOrNull<Godot.HBoxContainer>("HBoxContainer3"));
  269. return _L_HBoxContainer3;
  270. }
  271. }
  272. private UiNode_HBoxContainer3 _L_HBoxContainer3;
  273.  
  274. public UiNode_VBoxContainer(Godot.VBoxContainer node) : base(node) { }
  275. public override UiNode_VBoxContainer Clone() => new ((Godot.VBoxContainer)Instance.Duplicate());
  276. }
  277.  
  278. /// <summary>
  279. /// 类型: <see cref="Godot.MarginContainer"/>, 路径: EditorTools.ScrollContainer.MarginContainer
  280. /// </summary>
  281. public class UiNode_MarginContainer : IUiNode<Godot.MarginContainer, UiNode_MarginContainer>
  282. {
  283. /// <summary>
  284. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.VBoxContainer"/>, 节点路径: EditorTools.ScrollContainer.VBoxContainer
  285. /// </summary>
  286. public UiNode_VBoxContainer L_VBoxContainer
  287. {
  288. get
  289. {
  290. if (_L_VBoxContainer == null) _L_VBoxContainer = new UiNode_VBoxContainer(Instance.GetNodeOrNull<Godot.VBoxContainer>("VBoxContainer"));
  291. return _L_VBoxContainer;
  292. }
  293. }
  294. private UiNode_VBoxContainer _L_VBoxContainer;
  295.  
  296. public UiNode_MarginContainer(Godot.MarginContainer node) : base(node) { }
  297. public override UiNode_MarginContainer Clone() => new ((Godot.MarginContainer)Instance.Duplicate());
  298. }
  299.  
  300. /// <summary>
  301. /// 类型: <see cref="Godot.ScrollContainer"/>, 路径: EditorTools.ScrollContainer
  302. /// </summary>
  303. public class UiNode_ScrollContainer : IUiNode<Godot.ScrollContainer, UiNode_ScrollContainer>
  304. {
  305. /// <summary>
  306. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.MarginContainer"/>, 节点路径: EditorTools.MarginContainer
  307. /// </summary>
  308. public UiNode_MarginContainer L_MarginContainer
  309. {
  310. get
  311. {
  312. if (_L_MarginContainer == null) _L_MarginContainer = new UiNode_MarginContainer(Instance.GetNodeOrNull<Godot.MarginContainer>("MarginContainer"));
  313. return _L_MarginContainer;
  314. }
  315. }
  316. private UiNode_MarginContainer _L_MarginContainer;
  317.  
  318. public UiNode_ScrollContainer(Godot.ScrollContainer node) : base(node) { }
  319. public override UiNode_ScrollContainer Clone() => new ((Godot.ScrollContainer)Instance.Duplicate());
  320. }
  321.  
  322. /// <summary>
  323. /// 类型: <see cref="Godot.ConfirmationDialog"/>, 路径: EditorTools.Confirm
  324. /// </summary>
  325. public class UiNode_Confirm : IUiNode<Godot.ConfirmationDialog, UiNode_Confirm>
  326. {
  327. public UiNode_Confirm(Godot.ConfirmationDialog node) : base(node) { }
  328. public override UiNode_Confirm Clone() => new ((Godot.ConfirmationDialog)Instance.Duplicate());
  329. }
  330.  
  331. /// <summary>
  332. /// 类型: <see cref="Godot.AcceptDialog"/>, 路径: EditorTools.Tips
  333. /// </summary>
  334. public class UiNode_Tips : IUiNode<Godot.AcceptDialog, UiNode_Tips>
  335. {
  336. public UiNode_Tips(Godot.AcceptDialog node) : base(node) { }
  337. public override UiNode_Tips Clone() => new ((Godot.AcceptDialog)Instance.Duplicate());
  338. }
  339.  
  340. }