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