Newer
Older
DungeonShooting / DungeonShooting_Godot / src / game / ui / mapEditor / MapEditor.cs
  1. namespace UI.MapEditor;
  2.  
  3. /// <summary>
  4. /// Ui代码, 该类是根据ui场景自动生成的, 请不要手动编辑该类, 以免造成代码丢失
  5. /// </summary>
  6. public abstract partial class MapEditor : UiBase
  7. {
  8. /// <summary>
  9. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Panel"/>, 节点路径: MapEditor.Bg
  10. /// </summary>
  11. public Bg L_Bg
  12. {
  13. get
  14. {
  15. if (_L_Bg == null) _L_Bg = new Bg((MapEditorPanel)this, GetNode<Godot.Panel>("Bg"));
  16. return _L_Bg;
  17. }
  18. }
  19. private Bg _L_Bg;
  20.  
  21.  
  22. public MapEditor() : base(nameof(MapEditor))
  23. {
  24. }
  25.  
  26. public sealed override void OnInitNestedUi()
  27. {
  28. _ = L_Bg.L_VBoxContainer.L_HSplitContainer.L_Left.L_MarginContainer.L_MapView.L_SubViewport.L_TileMap;
  29.  
  30. var inst1 = L_Bg.L_VBoxContainer.L_HSplitContainer.L_Left.L_MarginContainer.L_MapView.L_SubViewport.L_CanvasLayer;
  31. RecordNestedUi(inst1.L_MapEditorTools.Instance, inst1, UiManager.RecordType.Open);
  32. inst1.L_MapEditorTools.Instance.OnCreateUi();
  33. inst1.L_MapEditorTools.Instance.OnInitNestedUi();
  34.  
  35. var inst2 = L_Bg.L_VBoxContainer.L_HSplitContainer.L_Right.L_MarginContainer.L_TabContainer.L_MapMark;
  36. RecordNestedUi(inst2.L_MapEditorMapMark.Instance, inst2, UiManager.RecordType.Open);
  37. inst2.L_MapEditorMapMark.Instance.OnCreateUi();
  38. inst2.L_MapEditorMapMark.Instance.OnInitNestedUi();
  39.  
  40. var inst3 = L_Bg.L_VBoxContainer.L_HSplitContainer.L_Right.L_MarginContainer.L_TabContainer.L_MapLayer;
  41. RecordNestedUi(inst3.L_MapEditorMapLayer.Instance, inst3, UiManager.RecordType.Open);
  42. inst3.L_MapEditorMapLayer.Instance.OnCreateUi();
  43. inst3.L_MapEditorMapLayer.Instance.OnInitNestedUi();
  44.  
  45. }
  46.  
  47. /// <summary>
  48. /// 类型: <see cref="Godot.Button"/>, 路径: MapEditor.Bg.VBoxContainer.Head.Back
  49. /// </summary>
  50. public class Back : UiNode<MapEditorPanel, Godot.Button, Back>
  51. {
  52. public Back(MapEditorPanel uiPanel, Godot.Button node) : base(uiPanel, node) { }
  53. public override Back Clone() => new (UiPanel, (Godot.Button)Instance.Duplicate());
  54. }
  55.  
  56. /// <summary>
  57. /// 类型: <see cref="Godot.Button"/>, 路径: MapEditor.Bg.VBoxContainer.Head.Save
  58. /// </summary>
  59. public class Save : UiNode<MapEditorPanel, Godot.Button, Save>
  60. {
  61. public Save(MapEditorPanel uiPanel, Godot.Button node) : base(uiPanel, node) { }
  62. public override Save Clone() => new (UiPanel, (Godot.Button)Instance.Duplicate());
  63. }
  64.  
  65. /// <summary>
  66. /// 类型: <see cref="Godot.Label"/>, 路径: MapEditor.Bg.VBoxContainer.Head.Title
  67. /// </summary>
  68. public class Title : UiNode<MapEditorPanel, Godot.Label, Title>
  69. {
  70. public Title(MapEditorPanel uiPanel, Godot.Label node) : base(uiPanel, node) { }
  71. public override Title Clone() => new (UiPanel, (Godot.Label)Instance.Duplicate());
  72. }
  73.  
  74. /// <summary>
  75. /// 类型: <see cref="Godot.Button"/>, 路径: MapEditor.Bg.VBoxContainer.Head.Play
  76. /// </summary>
  77. public class Play : UiNode<MapEditorPanel, Godot.Button, Play>
  78. {
  79. public Play(MapEditorPanel uiPanel, Godot.Button node) : base(uiPanel, node) { }
  80. public override Play Clone() => new (UiPanel, (Godot.Button)Instance.Duplicate());
  81. }
  82.  
  83. /// <summary>
  84. /// 类型: <see cref="Godot.Button"/>, 路径: MapEditor.Bg.VBoxContainer.Head.PlaySetting
  85. /// </summary>
  86. public class PlaySetting : UiNode<MapEditorPanel, Godot.Button, PlaySetting>
  87. {
  88. public PlaySetting(MapEditorPanel uiPanel, Godot.Button node) : base(uiPanel, node) { }
  89. public override PlaySetting Clone() => new (UiPanel, (Godot.Button)Instance.Duplicate());
  90. }
  91.  
  92. /// <summary>
  93. /// 类型: <see cref="Godot.Panel"/>, 路径: MapEditor.Bg.VBoxContainer.Head
  94. /// </summary>
  95. public class Head : UiNode<MapEditorPanel, Godot.Panel, Head>
  96. {
  97. /// <summary>
  98. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Button"/>, 节点路径: MapEditor.Bg.VBoxContainer.Back
  99. /// </summary>
  100. public Back L_Back
  101. {
  102. get
  103. {
  104. if (_L_Back == null) _L_Back = new Back(UiPanel, Instance.GetNode<Godot.Button>("Back"));
  105. return _L_Back;
  106. }
  107. }
  108. private Back _L_Back;
  109.  
  110. /// <summary>
  111. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Button"/>, 节点路径: MapEditor.Bg.VBoxContainer.Save
  112. /// </summary>
  113. public Save L_Save
  114. {
  115. get
  116. {
  117. if (_L_Save == null) _L_Save = new Save(UiPanel, Instance.GetNode<Godot.Button>("Save"));
  118. return _L_Save;
  119. }
  120. }
  121. private Save _L_Save;
  122.  
  123. /// <summary>
  124. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Label"/>, 节点路径: MapEditor.Bg.VBoxContainer.Title
  125. /// </summary>
  126. public Title L_Title
  127. {
  128. get
  129. {
  130. if (_L_Title == null) _L_Title = new Title(UiPanel, Instance.GetNode<Godot.Label>("Title"));
  131. return _L_Title;
  132. }
  133. }
  134. private Title _L_Title;
  135.  
  136. /// <summary>
  137. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Button"/>, 节点路径: MapEditor.Bg.VBoxContainer.Play
  138. /// </summary>
  139. public Play L_Play
  140. {
  141. get
  142. {
  143. if (_L_Play == null) _L_Play = new Play(UiPanel, Instance.GetNode<Godot.Button>("Play"));
  144. return _L_Play;
  145. }
  146. }
  147. private Play _L_Play;
  148.  
  149. /// <summary>
  150. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Button"/>, 节点路径: MapEditor.Bg.VBoxContainer.PlaySetting
  151. /// </summary>
  152. public PlaySetting L_PlaySetting
  153. {
  154. get
  155. {
  156. if (_L_PlaySetting == null) _L_PlaySetting = new PlaySetting(UiPanel, Instance.GetNode<Godot.Button>("PlaySetting"));
  157. return _L_PlaySetting;
  158. }
  159. }
  160. private PlaySetting _L_PlaySetting;
  161.  
  162. public Head(MapEditorPanel uiPanel, Godot.Panel node) : base(uiPanel, node) { }
  163. public override Head Clone() => new (UiPanel, (Godot.Panel)Instance.Duplicate());
  164. }
  165.  
  166. /// <summary>
  167. /// 类型: <see cref="Godot.AnimationPlayer"/>, 路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Left.MarginContainer.MapView.SubViewport.TileMap.ErrorCell.ErrorCellAnimationPlayer
  168. /// </summary>
  169. public class ErrorCellAnimationPlayer : UiNode<MapEditorPanel, Godot.AnimationPlayer, ErrorCellAnimationPlayer>
  170. {
  171. public ErrorCellAnimationPlayer(MapEditorPanel uiPanel, Godot.AnimationPlayer node) : base(uiPanel, node) { }
  172. public override ErrorCellAnimationPlayer Clone() => new (UiPanel, (Godot.AnimationPlayer)Instance.Duplicate());
  173. }
  174.  
  175. /// <summary>
  176. /// 类型: <see cref="Godot.Sprite2D"/>, 路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Left.MarginContainer.MapView.SubViewport.TileMap.ErrorCell
  177. /// </summary>
  178. public class ErrorCell : UiNode<MapEditorPanel, Godot.Sprite2D, ErrorCell>
  179. {
  180. /// <summary>
  181. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.AnimationPlayer"/>, 节点路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Left.MarginContainer.MapView.SubViewport.TileMap.ErrorCellAnimationPlayer
  182. /// </summary>
  183. public ErrorCellAnimationPlayer L_ErrorCellAnimationPlayer
  184. {
  185. get
  186. {
  187. if (_L_ErrorCellAnimationPlayer == null) _L_ErrorCellAnimationPlayer = new ErrorCellAnimationPlayer(UiPanel, Instance.GetNode<Godot.AnimationPlayer>("ErrorCellAnimationPlayer"));
  188. return _L_ErrorCellAnimationPlayer;
  189. }
  190. }
  191. private ErrorCellAnimationPlayer _L_ErrorCellAnimationPlayer;
  192.  
  193. public ErrorCell(MapEditorPanel uiPanel, Godot.Sprite2D node) : base(uiPanel, node) { }
  194. public override ErrorCell Clone() => new (UiPanel, (Godot.Sprite2D)Instance.Duplicate());
  195. }
  196.  
  197. /// <summary>
  198. /// 类型: <see cref="Godot.Node2D"/>, 路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Left.MarginContainer.MapView.SubViewport.TileMap.Brush
  199. /// </summary>
  200. public class Brush : UiNode<MapEditorPanel, Godot.Node2D, Brush>
  201. {
  202. public Brush(MapEditorPanel uiPanel, Godot.Node2D node) : base(uiPanel, node) { }
  203. public override Brush Clone() => new (UiPanel, (Godot.Node2D)Instance.Duplicate());
  204. }
  205.  
  206. /// <summary>
  207. /// 类型: <see cref="UI.MapEditor.EditorTileMap"/>, 路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Left.MarginContainer.MapView.SubViewport.TileMap
  208. /// </summary>
  209. public class TileMap : UiNode<MapEditorPanel, UI.MapEditor.EditorTileMap, TileMap>
  210. {
  211. /// <summary>
  212. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Sprite2D"/>, 节点路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Left.MarginContainer.MapView.SubViewport.ErrorCell
  213. /// </summary>
  214. public ErrorCell L_ErrorCell
  215. {
  216. get
  217. {
  218. if (_L_ErrorCell == null) _L_ErrorCell = new ErrorCell(UiPanel, Instance.GetNode<Godot.Sprite2D>("ErrorCell"));
  219. return _L_ErrorCell;
  220. }
  221. }
  222. private ErrorCell _L_ErrorCell;
  223.  
  224. /// <summary>
  225. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Node2D"/>, 节点路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Left.MarginContainer.MapView.SubViewport.Brush
  226. /// </summary>
  227. public Brush L_Brush
  228. {
  229. get
  230. {
  231. if (_L_Brush == null) _L_Brush = new Brush(UiPanel, Instance.GetNode<Godot.Node2D>("Brush"));
  232. return _L_Brush;
  233. }
  234. }
  235. private Brush _L_Brush;
  236.  
  237. public TileMap(MapEditorPanel uiPanel, UI.MapEditor.EditorTileMap node) : base(uiPanel, node) { }
  238. public override TileMap Clone() => new (UiPanel, (UI.MapEditor.EditorTileMap)Instance.Duplicate());
  239. }
  240.  
  241. /// <summary>
  242. /// 类型: <see cref="UI.MapEditorTools.MapEditorToolsPanel"/>, 路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Left.MarginContainer.MapView.SubViewport.CanvasLayer.MapEditorTools
  243. /// </summary>
  244. public class MapEditorTools : UiNode<MapEditorPanel, UI.MapEditorTools.MapEditorToolsPanel, MapEditorTools>
  245. {
  246. public MapEditorTools(MapEditorPanel uiPanel, UI.MapEditorTools.MapEditorToolsPanel node) : base(uiPanel, node) { }
  247. public override MapEditorTools Clone()
  248. {
  249. var uiNode = new MapEditorTools(UiPanel, (UI.MapEditorTools.MapEditorToolsPanel)Instance.Duplicate());
  250. UiPanel.RecordNestedUi(uiNode.Instance, this, UiManager.RecordType.Open);
  251. uiNode.Instance.OnCreateUi();
  252. uiNode.Instance.OnInitNestedUi();
  253. return uiNode;
  254. }
  255. }
  256.  
  257. /// <summary>
  258. /// 类型: <see cref="Godot.CanvasLayer"/>, 路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Left.MarginContainer.MapView.SubViewport.CanvasLayer
  259. /// </summary>
  260. public class CanvasLayer : UiNode<MapEditorPanel, Godot.CanvasLayer, CanvasLayer>
  261. {
  262. /// <summary>
  263. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="UI.MapEditorTools.MapEditorToolsPanel"/>, 节点路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Left.MarginContainer.MapView.SubViewport.MapEditorTools
  264. /// </summary>
  265. public MapEditorTools L_MapEditorTools
  266. {
  267. get
  268. {
  269. if (_L_MapEditorTools == null) _L_MapEditorTools = new MapEditorTools(UiPanel, Instance.GetNode<UI.MapEditorTools.MapEditorToolsPanel>("MapEditorTools"));
  270. return _L_MapEditorTools;
  271. }
  272. }
  273. private MapEditorTools _L_MapEditorTools;
  274.  
  275. public CanvasLayer(MapEditorPanel uiPanel, Godot.CanvasLayer node) : base(uiPanel, node) { }
  276. public override CanvasLayer Clone() => new (UiPanel, (Godot.CanvasLayer)Instance.Duplicate());
  277. }
  278.  
  279. /// <summary>
  280. /// 类型: <see cref="Godot.SubViewport"/>, 路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Left.MarginContainer.MapView.SubViewport
  281. /// </summary>
  282. public class SubViewport : UiNode<MapEditorPanel, Godot.SubViewport, SubViewport>
  283. {
  284. /// <summary>
  285. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="UI.MapEditor.EditorTileMap"/>, 节点路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Left.MarginContainer.MapView.TileMap
  286. /// </summary>
  287. public TileMap L_TileMap
  288. {
  289. get
  290. {
  291. if (_L_TileMap == null) _L_TileMap = new TileMap(UiPanel, Instance.GetNode<UI.MapEditor.EditorTileMap>("TileMap"));
  292. return _L_TileMap;
  293. }
  294. }
  295. private TileMap _L_TileMap;
  296.  
  297. /// <summary>
  298. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.CanvasLayer"/>, 节点路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Left.MarginContainer.MapView.CanvasLayer
  299. /// </summary>
  300. public CanvasLayer L_CanvasLayer
  301. {
  302. get
  303. {
  304. if (_L_CanvasLayer == null) _L_CanvasLayer = new CanvasLayer(UiPanel, Instance.GetNode<Godot.CanvasLayer>("CanvasLayer"));
  305. return _L_CanvasLayer;
  306. }
  307. }
  308. private CanvasLayer _L_CanvasLayer;
  309.  
  310. public SubViewport(MapEditorPanel uiPanel, Godot.SubViewport node) : base(uiPanel, node) { }
  311. public override SubViewport Clone() => new (UiPanel, (Godot.SubViewport)Instance.Duplicate());
  312. }
  313.  
  314. /// <summary>
  315. /// 类型: <see cref="Godot.SubViewportContainer"/>, 路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Left.MarginContainer.MapView
  316. /// </summary>
  317. public class MapView : UiNode<MapEditorPanel, Godot.SubViewportContainer, MapView>
  318. {
  319. /// <summary>
  320. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.SubViewport"/>, 节点路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Left.MarginContainer.SubViewport
  321. /// </summary>
  322. public SubViewport L_SubViewport
  323. {
  324. get
  325. {
  326. if (_L_SubViewport == null) _L_SubViewport = new SubViewport(UiPanel, Instance.GetNode<Godot.SubViewport>("SubViewport"));
  327. return _L_SubViewport;
  328. }
  329. }
  330. private SubViewport _L_SubViewport;
  331.  
  332. public MapView(MapEditorPanel uiPanel, Godot.SubViewportContainer node) : base(uiPanel, node) { }
  333. public override MapView Clone() => new (UiPanel, (Godot.SubViewportContainer)Instance.Duplicate());
  334. }
  335.  
  336. /// <summary>
  337. /// 类型: <see cref="Godot.TextureRect"/>, 路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Left.MarginContainer.MapView2
  338. /// </summary>
  339. public class MapView2 : UiNode<MapEditorPanel, Godot.TextureRect, MapView2>
  340. {
  341. public MapView2(MapEditorPanel uiPanel, Godot.TextureRect node) : base(uiPanel, node) { }
  342. public override MapView2 Clone() => new (UiPanel, (Godot.TextureRect)Instance.Duplicate());
  343. }
  344.  
  345. /// <summary>
  346. /// 类型: <see cref="Godot.MarginContainer"/>, 路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Left.MarginContainer
  347. /// </summary>
  348. public class MarginContainer : UiNode<MapEditorPanel, Godot.MarginContainer, MarginContainer>
  349. {
  350. /// <summary>
  351. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.SubViewportContainer"/>, 节点路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Left.MapView
  352. /// </summary>
  353. public MapView L_MapView
  354. {
  355. get
  356. {
  357. if (_L_MapView == null) _L_MapView = new MapView(UiPanel, Instance.GetNode<Godot.SubViewportContainer>("MapView"));
  358. return _L_MapView;
  359. }
  360. }
  361. private MapView _L_MapView;
  362.  
  363. /// <summary>
  364. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.TextureRect"/>, 节点路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Left.MapView2
  365. /// </summary>
  366. public MapView2 L_MapView2
  367. {
  368. get
  369. {
  370. if (_L_MapView2 == null) _L_MapView2 = new MapView2(UiPanel, Instance.GetNode<Godot.TextureRect>("MapView2"));
  371. return _L_MapView2;
  372. }
  373. }
  374. private MapView2 _L_MapView2;
  375.  
  376. public MarginContainer(MapEditorPanel uiPanel, Godot.MarginContainer node) : base(uiPanel, node) { }
  377. public override MarginContainer Clone() => new (UiPanel, (Godot.MarginContainer)Instance.Duplicate());
  378. }
  379.  
  380. /// <summary>
  381. /// 类型: <see cref="Godot.Panel"/>, 路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Left
  382. /// </summary>
  383. public class Left : UiNode<MapEditorPanel, Godot.Panel, Left>
  384. {
  385. /// <summary>
  386. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.MarginContainer"/>, 节点路径: MapEditor.Bg.VBoxContainer.HSplitContainer.MarginContainer
  387. /// </summary>
  388. public MarginContainer L_MarginContainer
  389. {
  390. get
  391. {
  392. if (_L_MarginContainer == null) _L_MarginContainer = new MarginContainer(UiPanel, Instance.GetNode<Godot.MarginContainer>("MarginContainer"));
  393. return _L_MarginContainer;
  394. }
  395. }
  396. private MarginContainer _L_MarginContainer;
  397.  
  398. public Left(MapEditorPanel uiPanel, Godot.Panel node) : base(uiPanel, node) { }
  399. public override Left Clone() => new (UiPanel, (Godot.Panel)Instance.Duplicate());
  400. }
  401.  
  402. /// <summary>
  403. /// 类型: <see cref="UI.MapEditorMapMark.MapEditorMapMarkPanel"/>, 路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Right.MarginContainer.TabContainer.MapMark.MapEditorMapMark
  404. /// </summary>
  405. public class MapEditorMapMark : UiNode<MapEditorPanel, UI.MapEditorMapMark.MapEditorMapMarkPanel, MapEditorMapMark>
  406. {
  407. public MapEditorMapMark(MapEditorPanel uiPanel, UI.MapEditorMapMark.MapEditorMapMarkPanel node) : base(uiPanel, node) { }
  408. public override MapEditorMapMark Clone()
  409. {
  410. var uiNode = new MapEditorMapMark(UiPanel, (UI.MapEditorMapMark.MapEditorMapMarkPanel)Instance.Duplicate());
  411. UiPanel.RecordNestedUi(uiNode.Instance, this, UiManager.RecordType.Open);
  412. uiNode.Instance.OnCreateUi();
  413. uiNode.Instance.OnInitNestedUi();
  414. return uiNode;
  415. }
  416. }
  417.  
  418. /// <summary>
  419. /// 类型: <see cref="Godot.MarginContainer"/>, 路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Right.MarginContainer.TabContainer.MapMark
  420. /// </summary>
  421. public class MapMark : UiNode<MapEditorPanel, Godot.MarginContainer, MapMark>
  422. {
  423. /// <summary>
  424. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="UI.MapEditorMapMark.MapEditorMapMarkPanel"/>, 节点路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Right.MarginContainer.TabContainer.MapEditorMapMark
  425. /// </summary>
  426. public MapEditorMapMark L_MapEditorMapMark
  427. {
  428. get
  429. {
  430. if (_L_MapEditorMapMark == null) _L_MapEditorMapMark = new MapEditorMapMark(UiPanel, Instance.GetNode<UI.MapEditorMapMark.MapEditorMapMarkPanel>("MapEditorMapMark"));
  431. return _L_MapEditorMapMark;
  432. }
  433. }
  434. private MapEditorMapMark _L_MapEditorMapMark;
  435.  
  436. public MapMark(MapEditorPanel uiPanel, Godot.MarginContainer node) : base(uiPanel, node) { }
  437. public override MapMark Clone() => new (UiPanel, (Godot.MarginContainer)Instance.Duplicate());
  438. }
  439.  
  440. /// <summary>
  441. /// 类型: <see cref="UI.MapEditorMapLayer.MapEditorMapLayerPanel"/>, 路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Right.MarginContainer.TabContainer.MapLayer.MapEditorMapLayer
  442. /// </summary>
  443. public class MapEditorMapLayer : UiNode<MapEditorPanel, UI.MapEditorMapLayer.MapEditorMapLayerPanel, MapEditorMapLayer>
  444. {
  445. public MapEditorMapLayer(MapEditorPanel uiPanel, UI.MapEditorMapLayer.MapEditorMapLayerPanel node) : base(uiPanel, node) { }
  446. public override MapEditorMapLayer Clone()
  447. {
  448. var uiNode = new MapEditorMapLayer(UiPanel, (UI.MapEditorMapLayer.MapEditorMapLayerPanel)Instance.Duplicate());
  449. UiPanel.RecordNestedUi(uiNode.Instance, this, UiManager.RecordType.Open);
  450. uiNode.Instance.OnCreateUi();
  451. uiNode.Instance.OnInitNestedUi();
  452. return uiNode;
  453. }
  454. }
  455.  
  456. /// <summary>
  457. /// 类型: <see cref="Godot.MarginContainer"/>, 路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Right.MarginContainer.TabContainer.MapLayer
  458. /// </summary>
  459. public class MapLayer : UiNode<MapEditorPanel, Godot.MarginContainer, MapLayer>
  460. {
  461. /// <summary>
  462. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="UI.MapEditorMapLayer.MapEditorMapLayerPanel"/>, 节点路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Right.MarginContainer.TabContainer.MapEditorMapLayer
  463. /// </summary>
  464. public MapEditorMapLayer L_MapEditorMapLayer
  465. {
  466. get
  467. {
  468. if (_L_MapEditorMapLayer == null) _L_MapEditorMapLayer = new MapEditorMapLayer(UiPanel, Instance.GetNode<UI.MapEditorMapLayer.MapEditorMapLayerPanel>("MapEditorMapLayer"));
  469. return _L_MapEditorMapLayer;
  470. }
  471. }
  472. private MapEditorMapLayer _L_MapEditorMapLayer;
  473.  
  474. public MapLayer(MapEditorPanel uiPanel, Godot.MarginContainer node) : base(uiPanel, node) { }
  475. public override MapLayer Clone() => new (UiPanel, (Godot.MarginContainer)Instance.Duplicate());
  476. }
  477.  
  478. /// <summary>
  479. /// 类型: <see cref="Godot.TabContainer"/>, 路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Right.MarginContainer.TabContainer
  480. /// </summary>
  481. public class TabContainer : UiNode<MapEditorPanel, Godot.TabContainer, TabContainer>
  482. {
  483. /// <summary>
  484. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.MarginContainer"/>, 节点路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Right.MarginContainer.MapMark
  485. /// </summary>
  486. public MapMark L_MapMark
  487. {
  488. get
  489. {
  490. if (_L_MapMark == null) _L_MapMark = new MapMark(UiPanel, Instance.GetNode<Godot.MarginContainer>("MapMark"));
  491. return _L_MapMark;
  492. }
  493. }
  494. private MapMark _L_MapMark;
  495.  
  496. /// <summary>
  497. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.MarginContainer"/>, 节点路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Right.MarginContainer.MapLayer
  498. /// </summary>
  499. public MapLayer L_MapLayer
  500. {
  501. get
  502. {
  503. if (_L_MapLayer == null) _L_MapLayer = new MapLayer(UiPanel, Instance.GetNode<Godot.MarginContainer>("MapLayer"));
  504. return _L_MapLayer;
  505. }
  506. }
  507. private MapLayer _L_MapLayer;
  508.  
  509. public TabContainer(MapEditorPanel uiPanel, Godot.TabContainer node) : base(uiPanel, node) { }
  510. public override TabContainer Clone() => new (UiPanel, (Godot.TabContainer)Instance.Duplicate());
  511. }
  512.  
  513. /// <summary>
  514. /// 类型: <see cref="Godot.MarginContainer"/>, 路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Right.MarginContainer
  515. /// </summary>
  516. public class MarginContainer_1 : UiNode<MapEditorPanel, Godot.MarginContainer, MarginContainer_1>
  517. {
  518. /// <summary>
  519. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.TabContainer"/>, 节点路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Right.TabContainer
  520. /// </summary>
  521. public TabContainer L_TabContainer
  522. {
  523. get
  524. {
  525. if (_L_TabContainer == null) _L_TabContainer = new TabContainer(UiPanel, Instance.GetNode<Godot.TabContainer>("TabContainer"));
  526. return _L_TabContainer;
  527. }
  528. }
  529. private TabContainer _L_TabContainer;
  530.  
  531. public MarginContainer_1(MapEditorPanel uiPanel, Godot.MarginContainer node) : base(uiPanel, node) { }
  532. public override MarginContainer_1 Clone() => new (UiPanel, (Godot.MarginContainer)Instance.Duplicate());
  533. }
  534.  
  535. /// <summary>
  536. /// 类型: <see cref="Godot.Panel"/>, 路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Right
  537. /// </summary>
  538. public class Right : UiNode<MapEditorPanel, Godot.Panel, Right>
  539. {
  540. /// <summary>
  541. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.MarginContainer"/>, 节点路径: MapEditor.Bg.VBoxContainer.HSplitContainer.MarginContainer
  542. /// </summary>
  543. public MarginContainer_1 L_MarginContainer
  544. {
  545. get
  546. {
  547. if (_L_MarginContainer == null) _L_MarginContainer = new MarginContainer_1(UiPanel, Instance.GetNode<Godot.MarginContainer>("MarginContainer"));
  548. return _L_MarginContainer;
  549. }
  550. }
  551. private MarginContainer_1 _L_MarginContainer;
  552.  
  553. public Right(MapEditorPanel uiPanel, Godot.Panel node) : base(uiPanel, node) { }
  554. public override Right Clone() => new (UiPanel, (Godot.Panel)Instance.Duplicate());
  555. }
  556.  
  557. /// <summary>
  558. /// 类型: <see cref="Godot.HSplitContainer"/>, 路径: MapEditor.Bg.VBoxContainer.HSplitContainer
  559. /// </summary>
  560. public class HSplitContainer : UiNode<MapEditorPanel, Godot.HSplitContainer, HSplitContainer>
  561. {
  562. /// <summary>
  563. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Panel"/>, 节点路径: MapEditor.Bg.VBoxContainer.Left
  564. /// </summary>
  565. public Left L_Left
  566. {
  567. get
  568. {
  569. if (_L_Left == null) _L_Left = new Left(UiPanel, Instance.GetNode<Godot.Panel>("Left"));
  570. return _L_Left;
  571. }
  572. }
  573. private Left _L_Left;
  574.  
  575. /// <summary>
  576. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Panel"/>, 节点路径: MapEditor.Bg.VBoxContainer.Right
  577. /// </summary>
  578. public Right L_Right
  579. {
  580. get
  581. {
  582. if (_L_Right == null) _L_Right = new Right(UiPanel, Instance.GetNode<Godot.Panel>("Right"));
  583. return _L_Right;
  584. }
  585. }
  586. private Right _L_Right;
  587.  
  588. public HSplitContainer(MapEditorPanel uiPanel, Godot.HSplitContainer node) : base(uiPanel, node) { }
  589. public override HSplitContainer Clone() => new (UiPanel, (Godot.HSplitContainer)Instance.Duplicate());
  590. }
  591.  
  592. /// <summary>
  593. /// 类型: <see cref="Godot.VBoxContainer"/>, 路径: MapEditor.Bg.VBoxContainer
  594. /// </summary>
  595. public class VBoxContainer : UiNode<MapEditorPanel, Godot.VBoxContainer, VBoxContainer>
  596. {
  597. /// <summary>
  598. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Panel"/>, 节点路径: MapEditor.Bg.Head
  599. /// </summary>
  600. public Head L_Head
  601. {
  602. get
  603. {
  604. if (_L_Head == null) _L_Head = new Head(UiPanel, Instance.GetNode<Godot.Panel>("Head"));
  605. return _L_Head;
  606. }
  607. }
  608. private Head _L_Head;
  609.  
  610. /// <summary>
  611. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.HSplitContainer"/>, 节点路径: MapEditor.Bg.HSplitContainer
  612. /// </summary>
  613. public HSplitContainer L_HSplitContainer
  614. {
  615. get
  616. {
  617. if (_L_HSplitContainer == null) _L_HSplitContainer = new HSplitContainer(UiPanel, Instance.GetNode<Godot.HSplitContainer>("HSplitContainer"));
  618. return _L_HSplitContainer;
  619. }
  620. }
  621. private HSplitContainer _L_HSplitContainer;
  622.  
  623. public VBoxContainer(MapEditorPanel uiPanel, Godot.VBoxContainer node) : base(uiPanel, node) { }
  624. public override VBoxContainer Clone() => new (UiPanel, (Godot.VBoxContainer)Instance.Duplicate());
  625. }
  626.  
  627. /// <summary>
  628. /// 类型: <see cref="Godot.Panel"/>, 路径: MapEditor.Bg
  629. /// </summary>
  630. public class Bg : UiNode<MapEditorPanel, Godot.Panel, Bg>
  631. {
  632. /// <summary>
  633. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.VBoxContainer"/>, 节点路径: MapEditor.VBoxContainer
  634. /// </summary>
  635. public VBoxContainer L_VBoxContainer
  636. {
  637. get
  638. {
  639. if (_L_VBoxContainer == null) _L_VBoxContainer = new VBoxContainer(UiPanel, Instance.GetNode<Godot.VBoxContainer>("VBoxContainer"));
  640. return _L_VBoxContainer;
  641. }
  642. }
  643. private VBoxContainer _L_VBoxContainer;
  644.  
  645. public Bg(MapEditorPanel uiPanel, Godot.Panel node) : base(uiPanel, node) { }
  646. public override Bg Clone() => new (UiPanel, (Godot.Panel)Instance.Duplicate());
  647. }
  648.  
  649.  
  650. /// <summary>
  651. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.Button"/>, 节点路径: MapEditor.Bg.VBoxContainer.Head.Back
  652. /// </summary>
  653. public Back S_Back => L_Bg.L_VBoxContainer.L_Head.L_Back;
  654.  
  655. /// <summary>
  656. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.Button"/>, 节点路径: MapEditor.Bg.VBoxContainer.Head.Save
  657. /// </summary>
  658. public Save S_Save => L_Bg.L_VBoxContainer.L_Head.L_Save;
  659.  
  660. /// <summary>
  661. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.Label"/>, 节点路径: MapEditor.Bg.VBoxContainer.Head.Title
  662. /// </summary>
  663. public Title S_Title => L_Bg.L_VBoxContainer.L_Head.L_Title;
  664.  
  665. /// <summary>
  666. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.Button"/>, 节点路径: MapEditor.Bg.VBoxContainer.Head.Play
  667. /// </summary>
  668. public Play S_Play => L_Bg.L_VBoxContainer.L_Head.L_Play;
  669.  
  670. /// <summary>
  671. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.Button"/>, 节点路径: MapEditor.Bg.VBoxContainer.Head.PlaySetting
  672. /// </summary>
  673. public PlaySetting S_PlaySetting => L_Bg.L_VBoxContainer.L_Head.L_PlaySetting;
  674.  
  675. /// <summary>
  676. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.Panel"/>, 节点路径: MapEditor.Bg.VBoxContainer.Head
  677. /// </summary>
  678. public Head S_Head => L_Bg.L_VBoxContainer.L_Head;
  679.  
  680. /// <summary>
  681. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.AnimationPlayer"/>, 节点路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Left.MarginContainer.MapView.SubViewport.TileMap.ErrorCell.ErrorCellAnimationPlayer
  682. /// </summary>
  683. public ErrorCellAnimationPlayer S_ErrorCellAnimationPlayer => L_Bg.L_VBoxContainer.L_HSplitContainer.L_Left.L_MarginContainer.L_MapView.L_SubViewport.L_TileMap.L_ErrorCell.L_ErrorCellAnimationPlayer;
  684.  
  685. /// <summary>
  686. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.Sprite2D"/>, 节点路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Left.MarginContainer.MapView.SubViewport.TileMap.ErrorCell
  687. /// </summary>
  688. public ErrorCell S_ErrorCell => L_Bg.L_VBoxContainer.L_HSplitContainer.L_Left.L_MarginContainer.L_MapView.L_SubViewport.L_TileMap.L_ErrorCell;
  689.  
  690. /// <summary>
  691. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.Node2D"/>, 节点路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Left.MarginContainer.MapView.SubViewport.TileMap.Brush
  692. /// </summary>
  693. public Brush S_Brush => L_Bg.L_VBoxContainer.L_HSplitContainer.L_Left.L_MarginContainer.L_MapView.L_SubViewport.L_TileMap.L_Brush;
  694.  
  695. /// <summary>
  696. /// 场景中唯一名称的节点, 节点类型: <see cref="UI.MapEditor.EditorTileMap"/>, 节点路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Left.MarginContainer.MapView.SubViewport.TileMap
  697. /// </summary>
  698. public TileMap S_TileMap => L_Bg.L_VBoxContainer.L_HSplitContainer.L_Left.L_MarginContainer.L_MapView.L_SubViewport.L_TileMap;
  699.  
  700. /// <summary>
  701. /// 场景中唯一名称的节点, 节点类型: <see cref="UI.MapEditorTools.MapEditorToolsPanel"/>, 节点路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Left.MarginContainer.MapView.SubViewport.CanvasLayer.MapEditorTools
  702. /// </summary>
  703. public MapEditorTools S_MapEditorTools => L_Bg.L_VBoxContainer.L_HSplitContainer.L_Left.L_MarginContainer.L_MapView.L_SubViewport.L_CanvasLayer.L_MapEditorTools;
  704.  
  705. /// <summary>
  706. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.CanvasLayer"/>, 节点路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Left.MarginContainer.MapView.SubViewport.CanvasLayer
  707. /// </summary>
  708. public CanvasLayer S_CanvasLayer => L_Bg.L_VBoxContainer.L_HSplitContainer.L_Left.L_MarginContainer.L_MapView.L_SubViewport.L_CanvasLayer;
  709.  
  710. /// <summary>
  711. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.SubViewport"/>, 节点路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Left.MarginContainer.MapView.SubViewport
  712. /// </summary>
  713. public SubViewport S_SubViewport => L_Bg.L_VBoxContainer.L_HSplitContainer.L_Left.L_MarginContainer.L_MapView.L_SubViewport;
  714.  
  715. /// <summary>
  716. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.SubViewportContainer"/>, 节点路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Left.MarginContainer.MapView
  717. /// </summary>
  718. public MapView S_MapView => L_Bg.L_VBoxContainer.L_HSplitContainer.L_Left.L_MarginContainer.L_MapView;
  719.  
  720. /// <summary>
  721. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.TextureRect"/>, 节点路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Left.MarginContainer.MapView2
  722. /// </summary>
  723. public MapView2 S_MapView2 => L_Bg.L_VBoxContainer.L_HSplitContainer.L_Left.L_MarginContainer.L_MapView2;
  724.  
  725. /// <summary>
  726. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.Panel"/>, 节点路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Left
  727. /// </summary>
  728. public Left S_Left => L_Bg.L_VBoxContainer.L_HSplitContainer.L_Left;
  729.  
  730. /// <summary>
  731. /// 场景中唯一名称的节点, 节点类型: <see cref="UI.MapEditorMapMark.MapEditorMapMarkPanel"/>, 节点路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Right.MarginContainer.TabContainer.MapMark.MapEditorMapMark
  732. /// </summary>
  733. public MapEditorMapMark S_MapEditorMapMark => L_Bg.L_VBoxContainer.L_HSplitContainer.L_Right.L_MarginContainer.L_TabContainer.L_MapMark.L_MapEditorMapMark;
  734.  
  735. /// <summary>
  736. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.MarginContainer"/>, 节点路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Right.MarginContainer.TabContainer.MapMark
  737. /// </summary>
  738. public MapMark S_MapMark => L_Bg.L_VBoxContainer.L_HSplitContainer.L_Right.L_MarginContainer.L_TabContainer.L_MapMark;
  739.  
  740. /// <summary>
  741. /// 场景中唯一名称的节点, 节点类型: <see cref="UI.MapEditorMapLayer.MapEditorMapLayerPanel"/>, 节点路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Right.MarginContainer.TabContainer.MapLayer.MapEditorMapLayer
  742. /// </summary>
  743. public MapEditorMapLayer S_MapEditorMapLayer => L_Bg.L_VBoxContainer.L_HSplitContainer.L_Right.L_MarginContainer.L_TabContainer.L_MapLayer.L_MapEditorMapLayer;
  744.  
  745. /// <summary>
  746. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.MarginContainer"/>, 节点路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Right.MarginContainer.TabContainer.MapLayer
  747. /// </summary>
  748. public MapLayer S_MapLayer => L_Bg.L_VBoxContainer.L_HSplitContainer.L_Right.L_MarginContainer.L_TabContainer.L_MapLayer;
  749.  
  750. /// <summary>
  751. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.TabContainer"/>, 节点路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Right.MarginContainer.TabContainer
  752. /// </summary>
  753. public TabContainer S_TabContainer => L_Bg.L_VBoxContainer.L_HSplitContainer.L_Right.L_MarginContainer.L_TabContainer;
  754.  
  755. /// <summary>
  756. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.Panel"/>, 节点路径: MapEditor.Bg.VBoxContainer.HSplitContainer.Right
  757. /// </summary>
  758. public Right S_Right => L_Bg.L_VBoxContainer.L_HSplitContainer.L_Right;
  759.  
  760. /// <summary>
  761. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.HSplitContainer"/>, 节点路径: MapEditor.Bg.VBoxContainer.HSplitContainer
  762. /// </summary>
  763. public HSplitContainer S_HSplitContainer => L_Bg.L_VBoxContainer.L_HSplitContainer;
  764.  
  765. /// <summary>
  766. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.VBoxContainer"/>, 节点路径: MapEditor.Bg.VBoxContainer
  767. /// </summary>
  768. public VBoxContainer S_VBoxContainer => L_Bg.L_VBoxContainer;
  769.  
  770. /// <summary>
  771. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.Panel"/>, 节点路径: MapEditor.Bg
  772. /// </summary>
  773. public Bg S_Bg => L_Bg;
  774.  
  775. }