Newer
Older
DungeonShooting / DungeonShooting_Godot / src / game / ui / roomMap / RoomMap.cs
  1. namespace UI.RoomMap;
  2.  
  3. /// <summary>
  4. /// Ui代码, 该类是根据ui场景自动生成的, 请不要手动编辑该类, 以免造成代码丢失
  5. /// </summary>
  6. public abstract partial class RoomMap : UiBase
  7. {
  8. /// <summary>
  9. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.ColorRect"/>, 节点路径: RoomMap.Bg
  10. /// </summary>
  11. public Bg L_Bg
  12. {
  13. get
  14. {
  15. if (_L_Bg == null) _L_Bg = new Bg((RoomMapPanel)this, GetNode<Godot.ColorRect>("Bg"));
  16. return _L_Bg;
  17. }
  18. }
  19. private Bg _L_Bg;
  20.  
  21. /// <summary>
  22. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.NinePatchRect"/>, 节点路径: RoomMap.MapBar
  23. /// </summary>
  24. public MapBar L_MapBar
  25. {
  26. get
  27. {
  28. if (_L_MapBar == null) _L_MapBar = new MapBar((RoomMapPanel)this, GetNode<Godot.NinePatchRect>("MapBar"));
  29. return _L_MapBar;
  30. }
  31. }
  32. private MapBar _L_MapBar;
  33.  
  34. /// <summary>
  35. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.NinePatchRect"/>, 节点路径: RoomMap.MagnifyMapBar
  36. /// </summary>
  37. public MagnifyMapBar L_MagnifyMapBar
  38. {
  39. get
  40. {
  41. if (_L_MagnifyMapBar == null) _L_MagnifyMapBar = new MagnifyMapBar((RoomMapPanel)this, GetNode<Godot.NinePatchRect>("MagnifyMapBar"));
  42. return _L_MagnifyMapBar;
  43. }
  44. }
  45. private MagnifyMapBar _L_MagnifyMapBar;
  46.  
  47.  
  48. public RoomMap() : base(nameof(RoomMap))
  49. {
  50. }
  51.  
  52. public sealed override void OnInitNestedUi()
  53. {
  54.  
  55. }
  56.  
  57. /// <summary>
  58. /// 类型: <see cref="Godot.ColorRect"/>, 路径: RoomMap.Bg
  59. /// </summary>
  60. public class Bg : UiNode<RoomMapPanel, Godot.ColorRect, Bg>
  61. {
  62. public Bg(RoomMapPanel uiPanel, Godot.ColorRect node) : base(uiPanel, node) { }
  63. public override Bg Clone() => new (UiPanel, (Godot.ColorRect)Instance.Duplicate());
  64. }
  65.  
  66. /// <summary>
  67. /// 类型: <see cref="Godot.Node2D"/>, 路径: RoomMap.MapBar.DrawContainer.Root
  68. /// </summary>
  69. public class Root : UiNode<RoomMapPanel, Godot.Node2D, Root>
  70. {
  71. public Root(RoomMapPanel uiPanel, Godot.Node2D node) : base(uiPanel, node) { }
  72. public override Root Clone() => new (UiPanel, (Godot.Node2D)Instance.Duplicate());
  73. }
  74.  
  75. /// <summary>
  76. /// 类型: <see cref="Godot.Sprite2D"/>, 路径: RoomMap.MapBar.DrawContainer.Mark
  77. /// </summary>
  78. public class Mark : UiNode<RoomMapPanel, Godot.Sprite2D, Mark>
  79. {
  80. public Mark(RoomMapPanel uiPanel, Godot.Sprite2D node) : base(uiPanel, node) { }
  81. public override Mark Clone() => new (UiPanel, (Godot.Sprite2D)Instance.Duplicate());
  82. }
  83.  
  84. /// <summary>
  85. /// 类型: <see cref="Godot.TextureRect"/>, 路径: RoomMap.MapBar.DrawContainer
  86. /// </summary>
  87. public class DrawContainer : UiNode<RoomMapPanel, Godot.TextureRect, DrawContainer>
  88. {
  89. /// <summary>
  90. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Node2D"/>, 节点路径: RoomMap.MapBar.Root
  91. /// </summary>
  92. public Root L_Root
  93. {
  94. get
  95. {
  96. if (_L_Root == null) _L_Root = new Root(UiPanel, Instance.GetNode<Godot.Node2D>("Root"));
  97. return _L_Root;
  98. }
  99. }
  100. private Root _L_Root;
  101.  
  102. /// <summary>
  103. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Sprite2D"/>, 节点路径: RoomMap.MapBar.Mark
  104. /// </summary>
  105. public Mark L_Mark
  106. {
  107. get
  108. {
  109. if (_L_Mark == null) _L_Mark = new Mark(UiPanel, Instance.GetNode<Godot.Sprite2D>("Mark"));
  110. return _L_Mark;
  111. }
  112. }
  113. private Mark _L_Mark;
  114.  
  115. public DrawContainer(RoomMapPanel uiPanel, Godot.TextureRect node) : base(uiPanel, node) { }
  116. public override DrawContainer Clone() => new (UiPanel, (Godot.TextureRect)Instance.Duplicate());
  117. }
  118.  
  119. /// <summary>
  120. /// 类型: <see cref="Godot.NinePatchRect"/>, 路径: RoomMap.MapBar
  121. /// </summary>
  122. public class MapBar : UiNode<RoomMapPanel, Godot.NinePatchRect, MapBar>
  123. {
  124. /// <summary>
  125. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.TextureRect"/>, 节点路径: RoomMap.DrawContainer
  126. /// </summary>
  127. public DrawContainer L_DrawContainer
  128. {
  129. get
  130. {
  131. if (_L_DrawContainer == null) _L_DrawContainer = new DrawContainer(UiPanel, Instance.GetNode<Godot.TextureRect>("DrawContainer"));
  132. return _L_DrawContainer;
  133. }
  134. }
  135. private DrawContainer _L_DrawContainer;
  136.  
  137. public MapBar(RoomMapPanel uiPanel, Godot.NinePatchRect node) : base(uiPanel, node) { }
  138. public override MapBar Clone() => new (UiPanel, (Godot.NinePatchRect)Instance.Duplicate());
  139. }
  140.  
  141. /// <summary>
  142. /// 类型: <see cref="Godot.NinePatchRect"/>, 路径: RoomMap.MagnifyMapBar
  143. /// </summary>
  144. public class MagnifyMapBar : UiNode<RoomMapPanel, Godot.NinePatchRect, MagnifyMapBar>
  145. {
  146. public MagnifyMapBar(RoomMapPanel uiPanel, Godot.NinePatchRect node) : base(uiPanel, node) { }
  147. public override MagnifyMapBar Clone() => new (UiPanel, (Godot.NinePatchRect)Instance.Duplicate());
  148. }
  149.  
  150.  
  151. /// <summary>
  152. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.ColorRect"/>, 节点路径: RoomMap.Bg
  153. /// </summary>
  154. public Bg S_Bg => L_Bg;
  155.  
  156. /// <summary>
  157. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.Node2D"/>, 节点路径: RoomMap.MapBar.DrawContainer.Root
  158. /// </summary>
  159. public Root S_Root => L_MapBar.L_DrawContainer.L_Root;
  160.  
  161. /// <summary>
  162. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.Sprite2D"/>, 节点路径: RoomMap.MapBar.DrawContainer.Mark
  163. /// </summary>
  164. public Mark S_Mark => L_MapBar.L_DrawContainer.L_Mark;
  165.  
  166. /// <summary>
  167. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.TextureRect"/>, 节点路径: RoomMap.MapBar.DrawContainer
  168. /// </summary>
  169. public DrawContainer S_DrawContainer => L_MapBar.L_DrawContainer;
  170.  
  171. /// <summary>
  172. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.NinePatchRect"/>, 节点路径: RoomMap.MapBar
  173. /// </summary>
  174. public MapBar S_MapBar => L_MapBar;
  175.  
  176. /// <summary>
  177. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.NinePatchRect"/>, 节点路径: RoomMap.MagnifyMapBar
  178. /// </summary>
  179. public MagnifyMapBar S_MagnifyMapBar => L_MagnifyMapBar;
  180.  
  181. }