Newer
Older
DungeonShooting / DungeonShooting_Godot / src / game / ui / mapEditorMapTile / MapEditorMapTile.cs
@小李xl 小李xl on 20 Jan 2024 37 KB TileMap编辑器小细节优化
  1. namespace UI.MapEditorMapTile;
  2.  
  3. /// <summary>
  4. /// Ui代码, 该类是根据ui场景自动生成的, 请不要手动编辑该类, 以免造成代码丢失
  5. /// </summary>
  6. public abstract partial class MapEditorMapTile : UiBase
  7. {
  8. /// <summary>
  9. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.VBoxContainer"/>, 节点路径: MapEditorMapTile.VBoxContainer
  10. /// </summary>
  11. public VBoxContainer L_VBoxContainer
  12. {
  13. get
  14. {
  15. if (_L_VBoxContainer == null) _L_VBoxContainer = new VBoxContainer((MapEditorMapTilePanel)this, GetNode<Godot.VBoxContainer>("VBoxContainer"));
  16. return _L_VBoxContainer;
  17. }
  18. }
  19. private VBoxContainer _L_VBoxContainer;
  20.  
  21. /// <summary>
  22. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.ColorRect"/>, 节点路径: MapEditorMapTile.MaskBg
  23. /// </summary>
  24. public MaskBg L_MaskBg
  25. {
  26. get
  27. {
  28. if (_L_MaskBg == null) _L_MaskBg = new MaskBg((MapEditorMapTilePanel)this, GetNode<Godot.ColorRect>("MaskBg"));
  29. return _L_MaskBg;
  30. }
  31. }
  32. private MaskBg _L_MaskBg;
  33.  
  34.  
  35. public MapEditorMapTile() : base(nameof(MapEditorMapTile))
  36. {
  37. }
  38.  
  39. public sealed override void OnInitNestedUi()
  40. {
  41. _ = L_VBoxContainer.L_Panel.L_MarginContainer.L_Tab1;
  42. _ = L_VBoxContainer.L_Panel.L_MarginContainer.L_Tab2;
  43. _ = L_VBoxContainer.L_Panel.L_MarginContainer.L_Tab3;
  44.  
  45. }
  46.  
  47. /// <summary>
  48. /// 类型: <see cref="Godot.Label"/>, 路径: MapEditorMapTile.VBoxContainer.HBoxContainer.Label
  49. /// </summary>
  50. public class Label : UiNode<MapEditorMapTilePanel, Godot.Label, Label>
  51. {
  52. public Label(MapEditorMapTilePanel uiPanel, Godot.Label node) : base(uiPanel, node) { }
  53. public override Label Clone() => new (UiPanel, (Godot.Label)Instance.Duplicate());
  54. }
  55.  
  56. /// <summary>
  57. /// 类型: <see cref="Godot.OptionButton"/>, 路径: MapEditorMapTile.VBoxContainer.HBoxContainer.SourceOption
  58. /// </summary>
  59. public class SourceOption : UiNode<MapEditorMapTilePanel, Godot.OptionButton, SourceOption>
  60. {
  61. public SourceOption(MapEditorMapTilePanel uiPanel, Godot.OptionButton node) : base(uiPanel, node) { }
  62. public override SourceOption Clone() => new (UiPanel, (Godot.OptionButton)Instance.Duplicate());
  63. }
  64.  
  65. /// <summary>
  66. /// 类型: <see cref="Godot.HBoxContainer"/>, 路径: MapEditorMapTile.VBoxContainer.HBoxContainer
  67. /// </summary>
  68. public class HBoxContainer : UiNode<MapEditorMapTilePanel, Godot.HBoxContainer, HBoxContainer>
  69. {
  70. /// <summary>
  71. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Label"/>, 节点路径: MapEditorMapTile.VBoxContainer.Label
  72. /// </summary>
  73. public Label L_Label
  74. {
  75. get
  76. {
  77. if (_L_Label == null) _L_Label = new Label(UiPanel, Instance.GetNode<Godot.Label>("Label"));
  78. return _L_Label;
  79. }
  80. }
  81. private Label _L_Label;
  82.  
  83. /// <summary>
  84. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.OptionButton"/>, 节点路径: MapEditorMapTile.VBoxContainer.SourceOption
  85. /// </summary>
  86. public SourceOption L_SourceOption
  87. {
  88. get
  89. {
  90. if (_L_SourceOption == null) _L_SourceOption = new SourceOption(UiPanel, Instance.GetNode<Godot.OptionButton>("SourceOption"));
  91. return _L_SourceOption;
  92. }
  93. }
  94. private SourceOption _L_SourceOption;
  95.  
  96. public HBoxContainer(MapEditorMapTilePanel uiPanel, Godot.HBoxContainer node) : base(uiPanel, node) { }
  97. public override HBoxContainer Clone() => new (UiPanel, (Godot.HBoxContainer)Instance.Duplicate());
  98. }
  99.  
  100. /// <summary>
  101. /// 类型: <see cref="Godot.Label"/>, 路径: MapEditorMapTile.VBoxContainer.HBoxContainer2.Label
  102. /// </summary>
  103. public class Label_1 : UiNode<MapEditorMapTilePanel, Godot.Label, Label_1>
  104. {
  105. public Label_1(MapEditorMapTilePanel uiPanel, Godot.Label node) : base(uiPanel, node) { }
  106. public override Label_1 Clone() => new (UiPanel, (Godot.Label)Instance.Duplicate());
  107. }
  108.  
  109. /// <summary>
  110. /// 类型: <see cref="Godot.OptionButton"/>, 路径: MapEditorMapTile.VBoxContainer.HBoxContainer2.HandleOption
  111. /// </summary>
  112. public class HandleOption : UiNode<MapEditorMapTilePanel, Godot.OptionButton, HandleOption>
  113. {
  114. public HandleOption(MapEditorMapTilePanel uiPanel, Godot.OptionButton node) : base(uiPanel, node) { }
  115. public override HandleOption Clone() => new (UiPanel, (Godot.OptionButton)Instance.Duplicate());
  116. }
  117.  
  118. /// <summary>
  119. /// 类型: <see cref="Godot.HBoxContainer"/>, 路径: MapEditorMapTile.VBoxContainer.HBoxContainer2
  120. /// </summary>
  121. public class HBoxContainer2 : UiNode<MapEditorMapTilePanel, Godot.HBoxContainer, HBoxContainer2>
  122. {
  123. /// <summary>
  124. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Label"/>, 节点路径: MapEditorMapTile.VBoxContainer.Label
  125. /// </summary>
  126. public Label_1 L_Label
  127. {
  128. get
  129. {
  130. if (_L_Label == null) _L_Label = new Label_1(UiPanel, Instance.GetNode<Godot.Label>("Label"));
  131. return _L_Label;
  132. }
  133. }
  134. private Label_1 _L_Label;
  135.  
  136. /// <summary>
  137. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.OptionButton"/>, 节点路径: MapEditorMapTile.VBoxContainer.HandleOption
  138. /// </summary>
  139. public HandleOption L_HandleOption
  140. {
  141. get
  142. {
  143. if (_L_HandleOption == null) _L_HandleOption = new HandleOption(UiPanel, Instance.GetNode<Godot.OptionButton>("HandleOption"));
  144. return _L_HandleOption;
  145. }
  146. }
  147. private HandleOption _L_HandleOption;
  148.  
  149. public HBoxContainer2(MapEditorMapTilePanel uiPanel, Godot.HBoxContainer node) : base(uiPanel, node) { }
  150. public override HBoxContainer2 Clone() => new (UiPanel, (Godot.HBoxContainer)Instance.Duplicate());
  151. }
  152.  
  153. /// <summary>
  154. /// 类型: <see cref="Godot.Sprite2D"/>, 路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab1.TabRoot.TileSprite
  155. /// </summary>
  156. public class TileSprite : UiNode<MapEditorMapTilePanel, Godot.Sprite2D, TileSprite>
  157. {
  158. public TileSprite(MapEditorMapTilePanel uiPanel, Godot.Sprite2D node) : base(uiPanel, node) { }
  159. public override TileSprite Clone() => new (UiPanel, (Godot.Sprite2D)Instance.Duplicate());
  160. }
  161.  
  162. /// <summary>
  163. /// 类型: <see cref="Godot.Control"/>, 路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab1.TabRoot.Brush
  164. /// </summary>
  165. public class Brush : UiNode<MapEditorMapTilePanel, Godot.Control, Brush>
  166. {
  167. public Brush(MapEditorMapTilePanel uiPanel, Godot.Control node) : base(uiPanel, node) { }
  168. public override Brush Clone() => new (UiPanel, (Godot.Control)Instance.Duplicate());
  169. }
  170.  
  171. /// <summary>
  172. /// 类型: <see cref="Godot.Control"/>, 路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab1.TabRoot
  173. /// </summary>
  174. public class TabRoot : UiNode<MapEditorMapTilePanel, Godot.Control, TabRoot>
  175. {
  176. /// <summary>
  177. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Sprite2D"/>, 节点路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab1.TileSprite
  178. /// </summary>
  179. public TileSprite L_TileSprite
  180. {
  181. get
  182. {
  183. if (_L_TileSprite == null) _L_TileSprite = new TileSprite(UiPanel, Instance.GetNode<Godot.Sprite2D>("TileSprite"));
  184. return _L_TileSprite;
  185. }
  186. }
  187. private TileSprite _L_TileSprite;
  188.  
  189. /// <summary>
  190. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Control"/>, 节点路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab1.Brush
  191. /// </summary>
  192. public Brush L_Brush
  193. {
  194. get
  195. {
  196. if (_L_Brush == null) _L_Brush = new Brush(UiPanel, Instance.GetNode<Godot.Control>("Brush"));
  197. return _L_Brush;
  198. }
  199. }
  200. private Brush _L_Brush;
  201.  
  202. public TabRoot(MapEditorMapTilePanel uiPanel, Godot.Control node) : base(uiPanel, node) { }
  203. public override TabRoot Clone() => new (UiPanel, (Godot.Control)Instance.Duplicate());
  204. }
  205.  
  206. /// <summary>
  207. /// 类型: <see cref="Godot.ColorRect"/>, 路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab1.Grid
  208. /// </summary>
  209. public class Grid : UiNode<MapEditorMapTilePanel, Godot.ColorRect, Grid>
  210. {
  211. public Grid(MapEditorMapTilePanel uiPanel, Godot.ColorRect node) : base(uiPanel, node) { }
  212. public override Grid Clone() => new (UiPanel, (Godot.ColorRect)Instance.Duplicate());
  213. }
  214.  
  215. /// <summary>
  216. /// 类型: <see cref="Godot.TextureButton"/>, 路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab1.FocusBtn
  217. /// </summary>
  218. public class FocusBtn : UiNode<MapEditorMapTilePanel, Godot.TextureButton, FocusBtn>
  219. {
  220. public FocusBtn(MapEditorMapTilePanel uiPanel, Godot.TextureButton node) : base(uiPanel, node) { }
  221. public override FocusBtn Clone() => new (UiPanel, (Godot.TextureButton)Instance.Duplicate());
  222. }
  223.  
  224. /// <summary>
  225. /// 类型: <see cref="UI.MapEditorMapTile.FreeTileTab"/>, 路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab1
  226. /// </summary>
  227. public class Tab1 : UiNode<MapEditorMapTilePanel, UI.MapEditorMapTile.FreeTileTab, Tab1>
  228. {
  229. /// <summary>
  230. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Control"/>, 节点路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.TabRoot
  231. /// </summary>
  232. public TabRoot L_TabRoot
  233. {
  234. get
  235. {
  236. if (_L_TabRoot == null) _L_TabRoot = new TabRoot(UiPanel, Instance.GetNode<Godot.Control>("TabRoot"));
  237. return _L_TabRoot;
  238. }
  239. }
  240. private TabRoot _L_TabRoot;
  241.  
  242. /// <summary>
  243. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.ColorRect"/>, 节点路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Grid
  244. /// </summary>
  245. public Grid L_Grid
  246. {
  247. get
  248. {
  249. if (_L_Grid == null) _L_Grid = new Grid(UiPanel, Instance.GetNode<Godot.ColorRect>("Grid"));
  250. return _L_Grid;
  251. }
  252. }
  253. private Grid _L_Grid;
  254.  
  255. /// <summary>
  256. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.TextureButton"/>, 节点路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.FocusBtn
  257. /// </summary>
  258. public FocusBtn L_FocusBtn
  259. {
  260. get
  261. {
  262. if (_L_FocusBtn == null) _L_FocusBtn = new FocusBtn(UiPanel, Instance.GetNode<Godot.TextureButton>("FocusBtn"));
  263. return _L_FocusBtn;
  264. }
  265. }
  266. private FocusBtn _L_FocusBtn;
  267.  
  268. public Tab1(MapEditorMapTilePanel uiPanel, UI.MapEditorMapTile.FreeTileTab node) : base(uiPanel, node) { }
  269. public override Tab1 Clone() => new (UiPanel, (UI.MapEditorMapTile.FreeTileTab)Instance.Duplicate());
  270. }
  271.  
  272. /// <summary>
  273. /// 类型: <see cref="Godot.NinePatchRect"/>, 路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab2.ScrollContainer.TerrainItem.Select
  274. /// </summary>
  275. public class Select : UiNode<MapEditorMapTilePanel, Godot.NinePatchRect, Select>
  276. {
  277. public Select(MapEditorMapTilePanel uiPanel, Godot.NinePatchRect node) : base(uiPanel, node) { }
  278. public override Select Clone() => new (UiPanel, (Godot.NinePatchRect)Instance.Duplicate());
  279. }
  280.  
  281. /// <summary>
  282. /// 类型: <see cref="Godot.Label"/>, 路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab2.ScrollContainer.TerrainItem.TerrainName
  283. /// </summary>
  284. public class TerrainName : UiNode<MapEditorMapTilePanel, Godot.Label, TerrainName>
  285. {
  286. public TerrainName(MapEditorMapTilePanel uiPanel, Godot.Label node) : base(uiPanel, node) { }
  287. public override TerrainName Clone() => new (UiPanel, (Godot.Label)Instance.Duplicate());
  288. }
  289.  
  290. /// <summary>
  291. /// 类型: <see cref="Godot.TextureRect"/>, 路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab2.ScrollContainer.TerrainItem.ErrorIcon
  292. /// </summary>
  293. public class ErrorIcon : UiNode<MapEditorMapTilePanel, Godot.TextureRect, ErrorIcon>
  294. {
  295. public ErrorIcon(MapEditorMapTilePanel uiPanel, Godot.TextureRect node) : base(uiPanel, node) { }
  296. public override ErrorIcon Clone() => new (UiPanel, (Godot.TextureRect)Instance.Duplicate());
  297. }
  298.  
  299. /// <summary>
  300. /// 类型: <see cref="Godot.TextureRect"/>, 路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab2.ScrollContainer.TerrainItem.TerrainPreview
  301. /// </summary>
  302. public class TerrainPreview : UiNode<MapEditorMapTilePanel, Godot.TextureRect, TerrainPreview>
  303. {
  304. public TerrainPreview(MapEditorMapTilePanel uiPanel, Godot.TextureRect node) : base(uiPanel, node) { }
  305. public override TerrainPreview Clone() => new (UiPanel, (Godot.TextureRect)Instance.Duplicate());
  306. }
  307.  
  308. /// <summary>
  309. /// 类型: <see cref="Godot.Button"/>, 路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab2.ScrollContainer.TerrainItem
  310. /// </summary>
  311. public class TerrainItem : UiNode<MapEditorMapTilePanel, Godot.Button, TerrainItem>
  312. {
  313. /// <summary>
  314. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.NinePatchRect"/>, 节点路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab2.ScrollContainer.Select
  315. /// </summary>
  316. public Select L_Select
  317. {
  318. get
  319. {
  320. if (_L_Select == null) _L_Select = new Select(UiPanel, Instance.GetNode<Godot.NinePatchRect>("Select"));
  321. return _L_Select;
  322. }
  323. }
  324. private Select _L_Select;
  325.  
  326. /// <summary>
  327. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Label"/>, 节点路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab2.ScrollContainer.TerrainName
  328. /// </summary>
  329. public TerrainName L_TerrainName
  330. {
  331. get
  332. {
  333. if (_L_TerrainName == null) _L_TerrainName = new TerrainName(UiPanel, Instance.GetNode<Godot.Label>("TerrainName"));
  334. return _L_TerrainName;
  335. }
  336. }
  337. private TerrainName _L_TerrainName;
  338.  
  339. /// <summary>
  340. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.TextureRect"/>, 节点路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab2.ScrollContainer.ErrorIcon
  341. /// </summary>
  342. public ErrorIcon L_ErrorIcon
  343. {
  344. get
  345. {
  346. if (_L_ErrorIcon == null) _L_ErrorIcon = new ErrorIcon(UiPanel, Instance.GetNode<Godot.TextureRect>("ErrorIcon"));
  347. return _L_ErrorIcon;
  348. }
  349. }
  350. private ErrorIcon _L_ErrorIcon;
  351.  
  352. /// <summary>
  353. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.TextureRect"/>, 节点路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab2.ScrollContainer.TerrainPreview
  354. /// </summary>
  355. public TerrainPreview L_TerrainPreview
  356. {
  357. get
  358. {
  359. if (_L_TerrainPreview == null) _L_TerrainPreview = new TerrainPreview(UiPanel, Instance.GetNode<Godot.TextureRect>("TerrainPreview"));
  360. return _L_TerrainPreview;
  361. }
  362. }
  363. private TerrainPreview _L_TerrainPreview;
  364.  
  365. public TerrainItem(MapEditorMapTilePanel uiPanel, Godot.Button node) : base(uiPanel, node) { }
  366. public override TerrainItem Clone() => new (UiPanel, (Godot.Button)Instance.Duplicate());
  367. }
  368.  
  369. /// <summary>
  370. /// 类型: <see cref="Godot.ScrollContainer"/>, 路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab2.ScrollContainer
  371. /// </summary>
  372. public class ScrollContainer : UiNode<MapEditorMapTilePanel, Godot.ScrollContainer, ScrollContainer>
  373. {
  374. /// <summary>
  375. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Button"/>, 节点路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab2.TerrainItem
  376. /// </summary>
  377. public TerrainItem L_TerrainItem
  378. {
  379. get
  380. {
  381. if (_L_TerrainItem == null) _L_TerrainItem = new TerrainItem(UiPanel, Instance.GetNode<Godot.Button>("TerrainItem"));
  382. return _L_TerrainItem;
  383. }
  384. }
  385. private TerrainItem _L_TerrainItem;
  386.  
  387. public ScrollContainer(MapEditorMapTilePanel uiPanel, Godot.ScrollContainer node) : base(uiPanel, node) { }
  388. public override ScrollContainer Clone() => new (UiPanel, (Godot.ScrollContainer)Instance.Duplicate());
  389. }
  390.  
  391. /// <summary>
  392. /// 类型: <see cref="UI.MapEditorMapTile.TerrainTileTab"/>, 路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab2
  393. /// </summary>
  394. public class Tab2 : UiNode<MapEditorMapTilePanel, UI.MapEditorMapTile.TerrainTileTab, Tab2>
  395. {
  396. /// <summary>
  397. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.ScrollContainer"/>, 节点路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.ScrollContainer
  398. /// </summary>
  399. public ScrollContainer L_ScrollContainer
  400. {
  401. get
  402. {
  403. if (_L_ScrollContainer == null) _L_ScrollContainer = new ScrollContainer(UiPanel, Instance.GetNode<Godot.ScrollContainer>("ScrollContainer"));
  404. return _L_ScrollContainer;
  405. }
  406. }
  407. private ScrollContainer _L_ScrollContainer;
  408.  
  409. public Tab2(MapEditorMapTilePanel uiPanel, UI.MapEditorMapTile.TerrainTileTab node) : base(uiPanel, node) { }
  410. public override Tab2 Clone() => new (UiPanel, (UI.MapEditorMapTile.TerrainTileTab)Instance.Duplicate());
  411. }
  412.  
  413. /// <summary>
  414. /// 类型: <see cref="Godot.TextureRect"/>, 路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab3.ScrollContainer.CellButton.PreviewImage
  415. /// </summary>
  416. public class PreviewImage : UiNode<MapEditorMapTilePanel, Godot.TextureRect, PreviewImage>
  417. {
  418. public PreviewImage(MapEditorMapTilePanel uiPanel, Godot.TextureRect node) : base(uiPanel, node) { }
  419. public override PreviewImage Clone() => new (UiPanel, (Godot.TextureRect)Instance.Duplicate());
  420. }
  421.  
  422. /// <summary>
  423. /// 类型: <see cref="Godot.Label"/>, 路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab3.ScrollContainer.CellButton.CellName
  424. /// </summary>
  425. public class CellName : UiNode<MapEditorMapTilePanel, Godot.Label, CellName>
  426. {
  427. public CellName(MapEditorMapTilePanel uiPanel, Godot.Label node) : base(uiPanel, node) { }
  428. public override CellName Clone() => new (UiPanel, (Godot.Label)Instance.Duplicate());
  429. }
  430.  
  431. /// <summary>
  432. /// 类型: <see cref="Godot.NinePatchRect"/>, 路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab3.ScrollContainer.CellButton.SelectTexture
  433. /// </summary>
  434. public class SelectTexture : UiNode<MapEditorMapTilePanel, Godot.NinePatchRect, SelectTexture>
  435. {
  436. public SelectTexture(MapEditorMapTilePanel uiPanel, Godot.NinePatchRect node) : base(uiPanel, node) { }
  437. public override SelectTexture Clone() => new (UiPanel, (Godot.NinePatchRect)Instance.Duplicate());
  438. }
  439.  
  440. /// <summary>
  441. /// 类型: <see cref="Godot.Button"/>, 路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab3.ScrollContainer.CellButton
  442. /// </summary>
  443. public class CellButton : UiNode<MapEditorMapTilePanel, Godot.Button, CellButton>
  444. {
  445. /// <summary>
  446. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.TextureRect"/>, 节点路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab3.ScrollContainer.PreviewImage
  447. /// </summary>
  448. public PreviewImage L_PreviewImage
  449. {
  450. get
  451. {
  452. if (_L_PreviewImage == null) _L_PreviewImage = new PreviewImage(UiPanel, Instance.GetNode<Godot.TextureRect>("PreviewImage"));
  453. return _L_PreviewImage;
  454. }
  455. }
  456. private PreviewImage _L_PreviewImage;
  457.  
  458. /// <summary>
  459. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Label"/>, 节点路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab3.ScrollContainer.CellName
  460. /// </summary>
  461. public CellName L_CellName
  462. {
  463. get
  464. {
  465. if (_L_CellName == null) _L_CellName = new CellName(UiPanel, Instance.GetNode<Godot.Label>("CellName"));
  466. return _L_CellName;
  467. }
  468. }
  469. private CellName _L_CellName;
  470.  
  471. /// <summary>
  472. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.NinePatchRect"/>, 节点路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab3.ScrollContainer.SelectTexture
  473. /// </summary>
  474. public SelectTexture L_SelectTexture
  475. {
  476. get
  477. {
  478. if (_L_SelectTexture == null) _L_SelectTexture = new SelectTexture(UiPanel, Instance.GetNode<Godot.NinePatchRect>("SelectTexture"));
  479. return _L_SelectTexture;
  480. }
  481. }
  482. private SelectTexture _L_SelectTexture;
  483.  
  484. public CellButton(MapEditorMapTilePanel uiPanel, Godot.Button node) : base(uiPanel, node) { }
  485. public override CellButton Clone() => new (UiPanel, (Godot.Button)Instance.Duplicate());
  486. }
  487.  
  488. /// <summary>
  489. /// 类型: <see cref="Godot.ScrollContainer"/>, 路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab3.ScrollContainer
  490. /// </summary>
  491. public class ScrollContainer_1 : UiNode<MapEditorMapTilePanel, Godot.ScrollContainer, ScrollContainer_1>
  492. {
  493. /// <summary>
  494. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Button"/>, 节点路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab3.CellButton
  495. /// </summary>
  496. public CellButton L_CellButton
  497. {
  498. get
  499. {
  500. if (_L_CellButton == null) _L_CellButton = new CellButton(UiPanel, Instance.GetNode<Godot.Button>("CellButton"));
  501. return _L_CellButton;
  502. }
  503. }
  504. private CellButton _L_CellButton;
  505.  
  506. public ScrollContainer_1(MapEditorMapTilePanel uiPanel, Godot.ScrollContainer node) : base(uiPanel, node) { }
  507. public override ScrollContainer_1 Clone() => new (UiPanel, (Godot.ScrollContainer)Instance.Duplicate());
  508. }
  509.  
  510. /// <summary>
  511. /// 类型: <see cref="UI.MapEditorMapTile.CombinationTileTab"/>, 路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab3
  512. /// </summary>
  513. public class Tab3 : UiNode<MapEditorMapTilePanel, UI.MapEditorMapTile.CombinationTileTab, Tab3>
  514. {
  515. /// <summary>
  516. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.ScrollContainer"/>, 节点路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.ScrollContainer
  517. /// </summary>
  518. public ScrollContainer_1 L_ScrollContainer
  519. {
  520. get
  521. {
  522. if (_L_ScrollContainer == null) _L_ScrollContainer = new ScrollContainer_1(UiPanel, Instance.GetNode<Godot.ScrollContainer>("ScrollContainer"));
  523. return _L_ScrollContainer;
  524. }
  525. }
  526. private ScrollContainer_1 _L_ScrollContainer;
  527.  
  528. public Tab3(MapEditorMapTilePanel uiPanel, UI.MapEditorMapTile.CombinationTileTab node) : base(uiPanel, node) { }
  529. public override Tab3 Clone() => new (UiPanel, (UI.MapEditorMapTile.CombinationTileTab)Instance.Duplicate());
  530. }
  531.  
  532. /// <summary>
  533. /// 类型: <see cref="Godot.MarginContainer"/>, 路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer
  534. /// </summary>
  535. public class MarginContainer : UiNode<MapEditorMapTilePanel, Godot.MarginContainer, MarginContainer>
  536. {
  537. /// <summary>
  538. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="UI.MapEditorMapTile.FreeTileTab"/>, 节点路径: MapEditorMapTile.VBoxContainer.Panel.Tab1
  539. /// </summary>
  540. public Tab1 L_Tab1
  541. {
  542. get
  543. {
  544. if (_L_Tab1 == null) _L_Tab1 = new Tab1(UiPanel, Instance.GetNode<UI.MapEditorMapTile.FreeTileTab>("Tab1"));
  545. return _L_Tab1;
  546. }
  547. }
  548. private Tab1 _L_Tab1;
  549.  
  550. /// <summary>
  551. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="UI.MapEditorMapTile.TerrainTileTab"/>, 节点路径: MapEditorMapTile.VBoxContainer.Panel.Tab2
  552. /// </summary>
  553. public Tab2 L_Tab2
  554. {
  555. get
  556. {
  557. if (_L_Tab2 == null) _L_Tab2 = new Tab2(UiPanel, Instance.GetNode<UI.MapEditorMapTile.TerrainTileTab>("Tab2"));
  558. return _L_Tab2;
  559. }
  560. }
  561. private Tab2 _L_Tab2;
  562.  
  563. /// <summary>
  564. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="UI.MapEditorMapTile.CombinationTileTab"/>, 节点路径: MapEditorMapTile.VBoxContainer.Panel.Tab3
  565. /// </summary>
  566. public Tab3 L_Tab3
  567. {
  568. get
  569. {
  570. if (_L_Tab3 == null) _L_Tab3 = new Tab3(UiPanel, Instance.GetNode<UI.MapEditorMapTile.CombinationTileTab>("Tab3"));
  571. return _L_Tab3;
  572. }
  573. }
  574. private Tab3 _L_Tab3;
  575.  
  576. public MarginContainer(MapEditorMapTilePanel uiPanel, Godot.MarginContainer node) : base(uiPanel, node) { }
  577. public override MarginContainer Clone() => new (UiPanel, (Godot.MarginContainer)Instance.Duplicate());
  578. }
  579.  
  580. /// <summary>
  581. /// 类型: <see cref="Godot.Panel"/>, 路径: MapEditorMapTile.VBoxContainer.Panel
  582. /// </summary>
  583. public class Panel : UiNode<MapEditorMapTilePanel, Godot.Panel, Panel>
  584. {
  585. /// <summary>
  586. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.MarginContainer"/>, 节点路径: MapEditorMapTile.VBoxContainer.MarginContainer
  587. /// </summary>
  588. public MarginContainer L_MarginContainer
  589. {
  590. get
  591. {
  592. if (_L_MarginContainer == null) _L_MarginContainer = new MarginContainer(UiPanel, Instance.GetNode<Godot.MarginContainer>("MarginContainer"));
  593. return _L_MarginContainer;
  594. }
  595. }
  596. private MarginContainer _L_MarginContainer;
  597.  
  598. public Panel(MapEditorMapTilePanel uiPanel, Godot.Panel node) : base(uiPanel, node) { }
  599. public override Panel Clone() => new (UiPanel, (Godot.Panel)Instance.Duplicate());
  600. }
  601.  
  602. /// <summary>
  603. /// 类型: <see cref="Godot.VBoxContainer"/>, 路径: MapEditorMapTile.VBoxContainer
  604. /// </summary>
  605. public class VBoxContainer : UiNode<MapEditorMapTilePanel, Godot.VBoxContainer, VBoxContainer>
  606. {
  607. /// <summary>
  608. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.HBoxContainer"/>, 节点路径: MapEditorMapTile.HBoxContainer
  609. /// </summary>
  610. public HBoxContainer L_HBoxContainer
  611. {
  612. get
  613. {
  614. if (_L_HBoxContainer == null) _L_HBoxContainer = new HBoxContainer(UiPanel, Instance.GetNode<Godot.HBoxContainer>("HBoxContainer"));
  615. return _L_HBoxContainer;
  616. }
  617. }
  618. private HBoxContainer _L_HBoxContainer;
  619.  
  620. /// <summary>
  621. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.HBoxContainer"/>, 节点路径: MapEditorMapTile.HBoxContainer2
  622. /// </summary>
  623. public HBoxContainer2 L_HBoxContainer2
  624. {
  625. get
  626. {
  627. if (_L_HBoxContainer2 == null) _L_HBoxContainer2 = new HBoxContainer2(UiPanel, Instance.GetNode<Godot.HBoxContainer>("HBoxContainer2"));
  628. return _L_HBoxContainer2;
  629. }
  630. }
  631. private HBoxContainer2 _L_HBoxContainer2;
  632.  
  633. /// <summary>
  634. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Panel"/>, 节点路径: MapEditorMapTile.Panel
  635. /// </summary>
  636. public Panel L_Panel
  637. {
  638. get
  639. {
  640. if (_L_Panel == null) _L_Panel = new Panel(UiPanel, Instance.GetNode<Godot.Panel>("Panel"));
  641. return _L_Panel;
  642. }
  643. }
  644. private Panel _L_Panel;
  645.  
  646. public VBoxContainer(MapEditorMapTilePanel uiPanel, Godot.VBoxContainer node) : base(uiPanel, node) { }
  647. public override VBoxContainer Clone() => new (UiPanel, (Godot.VBoxContainer)Instance.Duplicate());
  648. }
  649.  
  650. /// <summary>
  651. /// 类型: <see cref="Godot.Label"/>, 路径: MapEditorMapTile.MaskBg.Label
  652. /// </summary>
  653. public class Label_2 : UiNode<MapEditorMapTilePanel, Godot.Label, Label_2>
  654. {
  655. public Label_2(MapEditorMapTilePanel uiPanel, Godot.Label node) : base(uiPanel, node) { }
  656. public override Label_2 Clone() => new (UiPanel, (Godot.Label)Instance.Duplicate());
  657. }
  658.  
  659. /// <summary>
  660. /// 类型: <see cref="Godot.ColorRect"/>, 路径: MapEditorMapTile.MaskBg
  661. /// </summary>
  662. public class MaskBg : UiNode<MapEditorMapTilePanel, Godot.ColorRect, MaskBg>
  663. {
  664. /// <summary>
  665. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Label"/>, 节点路径: MapEditorMapTile.Label
  666. /// </summary>
  667. public Label_2 L_Label
  668. {
  669. get
  670. {
  671. if (_L_Label == null) _L_Label = new Label_2(UiPanel, Instance.GetNode<Godot.Label>("Label"));
  672. return _L_Label;
  673. }
  674. }
  675. private Label_2 _L_Label;
  676.  
  677. public MaskBg(MapEditorMapTilePanel uiPanel, Godot.ColorRect node) : base(uiPanel, node) { }
  678. public override MaskBg Clone() => new (UiPanel, (Godot.ColorRect)Instance.Duplicate());
  679. }
  680.  
  681.  
  682. /// <summary>
  683. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.OptionButton"/>, 节点路径: MapEditorMapTile.VBoxContainer.HBoxContainer.SourceOption
  684. /// </summary>
  685. public SourceOption S_SourceOption => L_VBoxContainer.L_HBoxContainer.L_SourceOption;
  686.  
  687. /// <summary>
  688. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.HBoxContainer"/>, 节点路径: MapEditorMapTile.VBoxContainer.HBoxContainer
  689. /// </summary>
  690. public HBoxContainer S_HBoxContainer => L_VBoxContainer.L_HBoxContainer;
  691.  
  692. /// <summary>
  693. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.OptionButton"/>, 节点路径: MapEditorMapTile.VBoxContainer.HBoxContainer2.HandleOption
  694. /// </summary>
  695. public HandleOption S_HandleOption => L_VBoxContainer.L_HBoxContainer2.L_HandleOption;
  696.  
  697. /// <summary>
  698. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.HBoxContainer"/>, 节点路径: MapEditorMapTile.VBoxContainer.HBoxContainer2
  699. /// </summary>
  700. public HBoxContainer2 S_HBoxContainer2 => L_VBoxContainer.L_HBoxContainer2;
  701.  
  702. /// <summary>
  703. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.Sprite2D"/>, 节点路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab1.TabRoot.TileSprite
  704. /// </summary>
  705. public TileSprite S_TileSprite => L_VBoxContainer.L_Panel.L_MarginContainer.L_Tab1.L_TabRoot.L_TileSprite;
  706.  
  707. /// <summary>
  708. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.Control"/>, 节点路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab1.TabRoot.Brush
  709. /// </summary>
  710. public Brush S_Brush => L_VBoxContainer.L_Panel.L_MarginContainer.L_Tab1.L_TabRoot.L_Brush;
  711.  
  712. /// <summary>
  713. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.Control"/>, 节点路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab1.TabRoot
  714. /// </summary>
  715. public TabRoot S_TabRoot => L_VBoxContainer.L_Panel.L_MarginContainer.L_Tab1.L_TabRoot;
  716.  
  717. /// <summary>
  718. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.ColorRect"/>, 节点路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab1.Grid
  719. /// </summary>
  720. public Grid S_Grid => L_VBoxContainer.L_Panel.L_MarginContainer.L_Tab1.L_Grid;
  721.  
  722. /// <summary>
  723. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.TextureButton"/>, 节点路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab1.FocusBtn
  724. /// </summary>
  725. public FocusBtn S_FocusBtn => L_VBoxContainer.L_Panel.L_MarginContainer.L_Tab1.L_FocusBtn;
  726.  
  727. /// <summary>
  728. /// 场景中唯一名称的节点, 节点类型: <see cref="UI.MapEditorMapTile.FreeTileTab"/>, 节点路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab1
  729. /// </summary>
  730. public Tab1 S_Tab1 => L_VBoxContainer.L_Panel.L_MarginContainer.L_Tab1;
  731.  
  732. /// <summary>
  733. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.NinePatchRect"/>, 节点路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab2.ScrollContainer.TerrainItem.Select
  734. /// </summary>
  735. public Select S_Select => L_VBoxContainer.L_Panel.L_MarginContainer.L_Tab2.L_ScrollContainer.L_TerrainItem.L_Select;
  736.  
  737. /// <summary>
  738. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.Label"/>, 节点路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab2.ScrollContainer.TerrainItem.TerrainName
  739. /// </summary>
  740. public TerrainName S_TerrainName => L_VBoxContainer.L_Panel.L_MarginContainer.L_Tab2.L_ScrollContainer.L_TerrainItem.L_TerrainName;
  741.  
  742. /// <summary>
  743. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.TextureRect"/>, 节点路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab2.ScrollContainer.TerrainItem.ErrorIcon
  744. /// </summary>
  745. public ErrorIcon S_ErrorIcon => L_VBoxContainer.L_Panel.L_MarginContainer.L_Tab2.L_ScrollContainer.L_TerrainItem.L_ErrorIcon;
  746.  
  747. /// <summary>
  748. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.TextureRect"/>, 节点路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab2.ScrollContainer.TerrainItem.TerrainPreview
  749. /// </summary>
  750. public TerrainPreview S_TerrainPreview => L_VBoxContainer.L_Panel.L_MarginContainer.L_Tab2.L_ScrollContainer.L_TerrainItem.L_TerrainPreview;
  751.  
  752. /// <summary>
  753. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.Button"/>, 节点路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab2.ScrollContainer.TerrainItem
  754. /// </summary>
  755. public TerrainItem S_TerrainItem => L_VBoxContainer.L_Panel.L_MarginContainer.L_Tab2.L_ScrollContainer.L_TerrainItem;
  756.  
  757. /// <summary>
  758. /// 场景中唯一名称的节点, 节点类型: <see cref="UI.MapEditorMapTile.TerrainTileTab"/>, 节点路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab2
  759. /// </summary>
  760. public Tab2 S_Tab2 => L_VBoxContainer.L_Panel.L_MarginContainer.L_Tab2;
  761.  
  762. /// <summary>
  763. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.TextureRect"/>, 节点路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab3.ScrollContainer.CellButton.PreviewImage
  764. /// </summary>
  765. public PreviewImage S_PreviewImage => L_VBoxContainer.L_Panel.L_MarginContainer.L_Tab3.L_ScrollContainer.L_CellButton.L_PreviewImage;
  766.  
  767. /// <summary>
  768. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.Label"/>, 节点路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab3.ScrollContainer.CellButton.CellName
  769. /// </summary>
  770. public CellName S_CellName => L_VBoxContainer.L_Panel.L_MarginContainer.L_Tab3.L_ScrollContainer.L_CellButton.L_CellName;
  771.  
  772. /// <summary>
  773. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.NinePatchRect"/>, 节点路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab3.ScrollContainer.CellButton.SelectTexture
  774. /// </summary>
  775. public SelectTexture S_SelectTexture => L_VBoxContainer.L_Panel.L_MarginContainer.L_Tab3.L_ScrollContainer.L_CellButton.L_SelectTexture;
  776.  
  777. /// <summary>
  778. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.Button"/>, 节点路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab3.ScrollContainer.CellButton
  779. /// </summary>
  780. public CellButton S_CellButton => L_VBoxContainer.L_Panel.L_MarginContainer.L_Tab3.L_ScrollContainer.L_CellButton;
  781.  
  782. /// <summary>
  783. /// 场景中唯一名称的节点, 节点类型: <see cref="UI.MapEditorMapTile.CombinationTileTab"/>, 节点路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer.Tab3
  784. /// </summary>
  785. public Tab3 S_Tab3 => L_VBoxContainer.L_Panel.L_MarginContainer.L_Tab3;
  786.  
  787. /// <summary>
  788. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.MarginContainer"/>, 节点路径: MapEditorMapTile.VBoxContainer.Panel.MarginContainer
  789. /// </summary>
  790. public MarginContainer S_MarginContainer => L_VBoxContainer.L_Panel.L_MarginContainer;
  791.  
  792. /// <summary>
  793. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.Panel"/>, 节点路径: MapEditorMapTile.VBoxContainer.Panel
  794. /// </summary>
  795. public Panel S_Panel => L_VBoxContainer.L_Panel;
  796.  
  797. /// <summary>
  798. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.VBoxContainer"/>, 节点路径: MapEditorMapTile.VBoxContainer
  799. /// </summary>
  800. public VBoxContainer S_VBoxContainer => L_VBoxContainer;
  801.  
  802. /// <summary>
  803. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.ColorRect"/>, 节点路径: MapEditorMapTile.MaskBg
  804. /// </summary>
  805. public MaskBg S_MaskBg => L_MaskBg;
  806.  
  807. }