@tlua/gmod 1.0.5 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (272) hide show
  1. package/package.json +1 -1
  2. package/types/achievementicon.d.tlua +0 -1
  3. package/types/achievements.d.tlua +15 -16
  4. package/types/ai.d.tlua +5 -6
  5. package/types/ai_schedule.d.tlua +0 -1
  6. package/types/ai_task.d.tlua +0 -1
  7. package/types/angle.d.tlua +18 -19
  8. package/types/avatarimage.d.tlua +0 -1
  9. package/types/awesomium.d.tlua +0 -1
  10. package/types/baseclass.d.tlua +1 -3
  11. package/types/bf_read.d.tlua +10 -12
  12. package/types/bit.d.tlua +11 -12
  13. package/types/button.d.tlua +0 -1
  14. package/types/cam.d.tlua +16 -17
  15. package/types/ceffectdata.d.tlua +31 -33
  16. package/types/chat.d.tlua +5 -6
  17. package/types/checkbutton.d.tlua +0 -1
  18. package/types/cleanup.d.tlua +7 -8
  19. package/types/cluaemitter.d.tlua +11 -13
  20. package/types/clualocomotion.d.tlua +39 -41
  21. package/types/cluaparticle.d.tlua +43 -45
  22. package/types/cmovedata.d.tlua +46 -48
  23. package/types/cnavarea.d.tlua +76 -78
  24. package/types/cnavladder.d.tlua +21 -23
  25. package/types/cnewparticleeffect.d.tlua +25 -27
  26. package/types/color.d.tlua +28 -29
  27. package/types/concommand.d.tlua +4 -5
  28. package/types/constraint.d.tlua +28 -29
  29. package/types/construct.d.tlua +1 -2
  30. package/types/contentheader.d.tlua +1 -3
  31. package/types/contenticon.d.tlua +7 -9
  32. package/types/contentsidebar.d.tlua +2 -4
  33. package/types/contentsidebartoolbox.d.tlua +0 -1
  34. package/types/contextbase.d.tlua +2 -4
  35. package/types/controlpanel.d.tlua +11 -14
  36. package/types/controlpresets.d.tlua +11 -13
  37. package/types/convar.d.tlua +15 -17
  38. package/types/cookie.d.tlua +3 -4
  39. package/types/coroutine.d.tlua +7 -8
  40. package/types/crecipientfilter.d.tlua +15 -17
  41. package/types/csent.d.tlua +0 -1
  42. package/types/csoundpatch.d.tlua +13 -15
  43. package/types/ctakedamageinfo.d.tlua +32 -34
  44. package/types/ctrllistbox.d.tlua +0 -1
  45. package/types/ctrlnumpad.d.tlua +5 -7
  46. package/types/cusercmd.d.tlua +26 -28
  47. package/types/custom_entity_fields.d.tlua +0 -1
  48. package/types/cvars.d.tlua +6 -7
  49. package/types/dadjustablemodelpanel.d.tlua +5 -7
  50. package/types/dalphabar.d.tlua +1 -3
  51. package/types/dbinder.d.tlua +2 -4
  52. package/types/dbubblecontainer.d.tlua +0 -2
  53. package/types/dbutton.d.tlua +6 -8
  54. package/types/dcategoryheader.d.tlua +0 -1
  55. package/types/dcategorylist.d.tlua +0 -1
  56. package/types/dcheckbox.d.tlua +3 -5
  57. package/types/dcheckboxlabel.d.tlua +9 -10
  58. package/types/dcollapsiblecategory.d.tlua +21 -23
  59. package/types/dcolorbutton.d.tlua +5 -7
  60. package/types/dcolorcombo.d.tlua +3 -5
  61. package/types/dcolorcube.d.tlua +11 -13
  62. package/types/dcolormixer.d.tlua +25 -27
  63. package/types/dcolorpalette.d.tlua +21 -23
  64. package/types/dcolumnsheet.d.tlua +3 -5
  65. package/types/dcombobox.d.tlua +15 -17
  66. package/types/ddragbase.d.tlua +11 -13
  67. package/types/ddrawer.d.tlua +6 -8
  68. package/types/debug.d.tlua +16 -19
  69. package/types/debugoverlay.d.tlua +11 -12
  70. package/types/dentityproperties.d.tlua +3 -5
  71. package/types/derma.d.tlua +10 -11
  72. package/types/dexpandbutton.d.tlua +1 -3
  73. package/types/dfilebrowser.d.tlua +20 -21
  74. package/types/dform.d.tlua +16 -18
  75. package/types/dframe.d.tlua +24 -25
  76. package/types/dgrid.d.tlua +9 -11
  77. package/types/dhorizontaldivider.d.tlua +18 -20
  78. package/types/dhorizontalscroller.d.tlua +9 -11
  79. package/types/dhscrollbar.d.tlua +9 -11
  80. package/types/dhtml.d.tlua +6 -8
  81. package/types/dhtmlcontrols.d.tlua +5 -6
  82. package/types/diconbrowser.d.tlua +9 -11
  83. package/types/diconlayout.d.tlua +16 -18
  84. package/types/dimage.d.tlua +17 -20
  85. package/types/dimagebutton.d.tlua +9 -10
  86. package/types/dkillicon.d.tlua +0 -1
  87. package/types/dlabel.d.tlua +31 -33
  88. package/types/dlabeleditable.d.tlua +3 -5
  89. package/types/dlabelurl.d.tlua +8 -10
  90. package/types/dlistbox.d.tlua +6 -8
  91. package/types/dlistboxitem.d.tlua +2 -4
  92. package/types/dlistlayout.d.tlua +0 -1
  93. package/types/dlistview.d.tlua +32 -34
  94. package/types/dlistview_column.d.tlua +12 -14
  95. package/types/dlistview_columnplain.d.tlua +0 -1
  96. package/types/dlistview_draggerbar.d.tlua +0 -1
  97. package/types/dlistview_line.d.tlua +11 -13
  98. package/types/dlistviewheaderlabel.d.tlua +0 -1
  99. package/types/dlistviewlabel.d.tlua +0 -1
  100. package/types/dlistviewline.d.tlua +0 -1
  101. package/types/dmenu.d.tlua +23 -28
  102. package/types/dmenubar.d.tlua +2 -7
  103. package/types/dmenuoption.d.tlua +11 -13
  104. package/types/dmenuoptioncvar.d.tlua +4 -6
  105. package/types/dmodelpanel.d.tlua +20 -22
  106. package/types/dmodelselect.d.tlua +0 -2
  107. package/types/dmodelselectmulti.d.tlua +0 -2
  108. package/types/dnotify.d.tlua +8 -10
  109. package/types/dnumberscratch.d.tlua +24 -26
  110. package/types/dnumberwang.d.tlua +14 -16
  111. package/types/dnumpad.d.tlua +0 -1
  112. package/types/dnumslider.d.tlua +17 -18
  113. package/types/dpanel.d.tlua +12 -14
  114. package/types/dpanellist.d.tlua +11 -12
  115. package/types/dpaneloverlay.d.tlua +5 -7
  116. package/types/dpanelselect.d.tlua +0 -1
  117. package/types/dpanpanel.d.tlua +4 -6
  118. package/types/dprogress.d.tlua +1 -3
  119. package/types/dproperties.d.tlua +2 -4
  120. package/types/dproperty_boolean.d.tlua +0 -1
  121. package/types/dproperty_combo.d.tlua +1 -3
  122. package/types/dproperty_entity.d.tlua +0 -1
  123. package/types/dproperty_float.d.tlua +0 -1
  124. package/types/dproperty_generic.d.tlua +3 -5
  125. package/types/dproperty_int.d.tlua +0 -1
  126. package/types/dproperty_vectorcolor.d.tlua +0 -1
  127. package/types/dpropertysheet.d.tlua +15 -17
  128. package/types/dragndrop.d.tlua +10 -11
  129. package/types/draw.d.tlua +10 -12
  130. package/types/drgbpicker.d.tlua +2 -4
  131. package/types/drive.d.tlua +11 -13
  132. package/types/dscrollbargrip.d.tlua +0 -1
  133. package/types/dscrollpanel.d.tlua +10 -11
  134. package/types/dshape.d.tlua +5 -7
  135. package/types/dsizetocontents.d.tlua +3 -5
  136. package/types/dslider.d.tlua +26 -28
  137. package/types/dsprite.d.tlua +7 -9
  138. package/types/dtab.d.tlua +6 -8
  139. package/types/dtextentry.d.tlua +41 -43
  140. package/types/dtilelayout.d.tlua +19 -21
  141. package/types/dtooltip.d.tlua +4 -6
  142. package/types/dtree.d.tlua +14 -16
  143. package/types/dtree_node.d.tlua +66 -68
  144. package/types/dtree_node_button.d.tlua +0 -1
  145. package/types/duplicator.d.tlua +29 -31
  146. package/types/dverticaldivider.d.tlua +21 -23
  147. package/types/dvscrollbar.d.tlua +9 -11
  148. package/types/editablepanel.d.tlua +0 -1
  149. package/types/effect.d.tlua +2 -4
  150. package/types/effects.d.tlua +6 -7
  151. package/types/engine.d.tlua +21 -22
  152. package/types/entity.d.tlua +643 -674
  153. package/types/ents.d.tlua +19 -25
  154. package/types/enums.d.tlua +0 -1
  155. package/types/file.d.tlua +39 -40
  156. package/types/file_class.d.tlua +0 -1
  157. package/types/fingerposer.d.tlua +0 -1
  158. package/types/fingervar.d.tlua +0 -1
  159. package/types/frame.d.tlua +0 -1
  160. package/types/frame_blend.d.tlua +7 -8
  161. package/types/game.d.tlua +39 -40
  162. package/types/gameevent.d.tlua +0 -1
  163. package/types/gamemode.d.tlua +2 -4
  164. package/types/global.d.tlua +0 -18
  165. package/types/gm.d.tlua +266 -268
  166. package/types/gmod.d.tlua +0 -1
  167. package/types/gmsave.d.tlua +4 -5
  168. package/types/gui.d.tlua +21 -22
  169. package/types/gwen.d.tlua +3 -4
  170. package/types/halo.d.tlua +2 -3
  171. package/types/hammer.d.tlua +0 -1
  172. package/types/hook.d.tlua +4 -5
  173. package/types/html.d.tlua +0 -1
  174. package/types/http.d.tlua +1 -2
  175. package/types/iconeditor.d.tlua +9 -11
  176. package/types/igmodaudiochannel.d.tlua +40 -42
  177. package/types/imagecheckbox.d.tlua +2 -4
  178. package/types/imaterial.d.tlua +25 -27
  179. package/types/imesh.d.tlua +4 -6
  180. package/types/input.d.tlua +22 -25
  181. package/types/invalidateinternalentitycache.d.tlua +0 -1
  182. package/types/irestore.d.tlua +8 -10
  183. package/types/isave.d.tlua +8 -10
  184. package/types/itexture.d.tlua +9 -11
  185. package/types/ivideowriter.d.tlua +4 -6
  186. package/types/jit.d.tlua +16 -17
  187. package/types/killicon.d.tlua +7 -8
  188. package/types/label.d.tlua +0 -1
  189. package/types/language.d.tlua +1 -2
  190. package/types/list.d.tlua +8 -9
  191. package/types/makeballoon.d.tlua +0 -1
  192. package/types/markup.d.tlua +2 -3
  193. package/types/markupobject.d.tlua +4 -6
  194. package/types/material.d.tlua +0 -1
  195. package/types/math.d.tlua +83 -84
  196. package/types/matproxy.d.tlua +3 -4
  197. package/types/matselect.d.tlua +9 -11
  198. package/types/menu.d.tlua +0 -1
  199. package/types/menubar.d.tlua +2 -3
  200. package/types/mesh.d.tlua +19 -20
  201. package/types/modelimage.d.tlua +0 -1
  202. package/types/motionsensor.d.tlua +10 -11
  203. package/types/navmesh.d.tlua +26 -27
  204. package/types/net.d.tlua +51 -53
  205. package/types/nextbot.d.tlua +34 -37
  206. package/types/notification.d.tlua +2 -3
  207. package/types/npc.d.tlua +180 -182
  208. package/types/numpad.d.tlua +7 -8
  209. package/types/os.d.tlua +3 -5
  210. package/types/package.d.tlua +0 -1
  211. package/types/panel.d.tlua +329 -331
  212. package/types/panellist.d.tlua +0 -1
  213. package/types/pathfollower.d.tlua +30 -32
  214. package/types/permissions.d.tlua +6 -7
  215. package/types/physcollide.d.tlua +2 -4
  216. package/types/physenv.d.tlua +11 -12
  217. package/types/physobj.d.tlua +77 -79
  218. package/types/pixelvis_handle_t.d.tlua +0 -1
  219. package/types/player.d.tlua +288 -293
  220. package/types/player_manager.d.tlua +13 -14
  221. package/types/preseteditor.d.tlua +0 -1
  222. package/types/presets.d.tlua +6 -7
  223. package/types/projectedtexture.d.tlua +47 -49
  224. package/types/properties.d.tlua +5 -6
  225. package/types/propselect.d.tlua +3 -5
  226. package/types/radiobutton.d.tlua +0 -1
  227. package/types/render.d.tlua +142 -143
  228. package/types/resource.d.tlua +2 -3
  229. package/types/richtext.d.tlua +0 -1
  230. package/types/sandbox.d.tlua +52 -54
  231. package/types/saverestore.d.tlua +12 -13
  232. package/types/schedule.d.tlua +5 -7
  233. package/types/scripted_ents.d.tlua +9 -12
  234. package/types/search.d.tlua +1 -2
  235. package/types/serverlist.d.tlua +7 -8
  236. package/types/slidebar.d.tlua +0 -1
  237. package/types/slider.d.tlua +0 -1
  238. package/types/sound.d.tlua +10 -11
  239. package/types/spawnicon.d.tlua +6 -8
  240. package/types/spawnmenu.d.tlua +23 -25
  241. package/types/spawnmenucontentpanel.d.tlua +3 -5
  242. package/types/sql.d.tlua +9 -10
  243. package/types/stack.d.tlua +4 -6
  244. package/types/steamworks.d.tlua +18 -19
  245. package/types/string.d.tlua +46 -50
  246. package/types/structures.d.tlua +0 -7
  247. package/types/surface.d.tlua +34 -35
  248. package/types/surfaceinfo.d.tlua +4 -6
  249. package/types/system.d.tlua +10 -11
  250. package/types/table.d.tlua +45 -48
  251. package/types/task.d.tlua +8 -10
  252. package/types/team.d.tlua +19 -20
  253. package/types/textentry.d.tlua +0 -1
  254. package/types/tgaimage.d.tlua +0 -1
  255. package/types/timer.d.tlua +14 -15
  256. package/types/tool.d.tlua +42 -46
  257. package/types/ugcpublishwindow.d.tlua +7 -9
  258. package/types/umsg.d.tlua +12 -13
  259. package/types/undo.d.tlua +10 -11
  260. package/types/urllabel.d.tlua +0 -1
  261. package/types/usermessage.d.tlua +2 -3
  262. package/types/utf8.d.tlua +7 -8
  263. package/types/util.d.tlua +90 -95
  264. package/types/vector.d.tlua +36 -37
  265. package/types/vehicle.d.tlua +48 -51
  266. package/types/vgui.d.tlua +14 -19
  267. package/types/video.d.tlua +0 -1
  268. package/types/vmatrix.d.tlua +35 -36
  269. package/types/weapon.d.tlua +81 -84
  270. package/types/weapons.d.tlua +5 -7
  271. package/types/widgets.d.tlua +1 -2
  272. package/types/workshopfilebase.d.tlua +4 -6
@@ -17,12 +17,14 @@ interface DTree_Node extends DPanel {
17
17
  * @source https://wiki.facepunch.com/gmod/DTree_Node:AddFolder
18
18
  */
19
19
  AddFolder(self: DTree_Node, name: string, folder: string, path: string, showFiles?: boolean, wildcard?: string, bDontForceExpandable?: boolean): Panel;
20
+
20
21
  /**
21
22
  * Add a child node to the DTree_Node
22
23
  * @realm client and menu
23
24
  * @source https://wiki.facepunch.com/gmod/DTree_Node:AddNode
24
25
  */
25
26
  AddNode(self: DTree_Node, name: string, icon?: string): Panel;
27
+
26
28
  /**
27
29
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
28
30
  *
@@ -33,6 +35,7 @@ interface DTree_Node extends DPanel {
33
35
  * @source https://wiki.facepunch.com/gmod/DTree_Node:AddPanel
34
36
  */
35
37
  AddPanel(self: DTree_Node, pnl: Panel): void;
38
+
36
39
  /**
37
40
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
38
41
  *
@@ -43,6 +46,7 @@ interface DTree_Node extends DPanel {
43
46
  * @source https://wiki.facepunch.com/gmod/DTree_Node:AnimSlide
44
47
  */
45
48
  AnimSlide(self: DTree_Node, anim: table, delta: number, data: table): void;
49
+
46
50
  /**
47
51
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
48
52
  *
@@ -53,6 +57,7 @@ interface DTree_Node extends DPanel {
53
57
  * @source https://wiki.facepunch.com/gmod/DTree_Node:ChildExpanded
54
58
  */
55
59
  ChildExpanded(self: DTree_Node, expanded: boolean): void;
60
+
56
61
  /**
57
62
  * Cleans up the internal table of items (sub-nodes) of this node from invalid panels or sub-nodes that were moved from this node to another.
58
63
  *
@@ -62,12 +67,14 @@ interface DTree_Node extends DPanel {
62
67
  * @source https://wiki.facepunch.com/gmod/DTree_Node:CleanList
63
68
  */
64
69
  CleanList(self: DTree_Node): void;
70
+
65
71
  /**
66
72
  * Create and returns a copy of this node, including all the sub-nodes.
67
73
  * @realm client and menu
68
74
  * @source https://wiki.facepunch.com/gmod/DTree_Node:Copy
69
75
  */
70
76
  Copy(self: DTree_Node): Panel;
77
+
71
78
  /**
72
79
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
73
80
  *
@@ -80,6 +87,7 @@ interface DTree_Node extends DPanel {
80
87
  * @source https://wiki.facepunch.com/gmod/DTree_Node:CreateChildNodes
81
88
  */
82
89
  CreateChildNodes(self: DTree_Node): void;
90
+
83
91
  /**
84
92
  * Expands or collapses this node, as well as ALL child nodes of this node.
85
93
  *
@@ -89,6 +97,7 @@ interface DTree_Node extends DPanel {
89
97
  * @source https://wiki.facepunch.com/gmod/DTree_Node:ExpandRecurse
90
98
  */
91
99
  ExpandRecurse(self: DTree_Node, expand: boolean): void;
100
+
92
101
  /**
93
102
  * Collapses or expands all nodes from the topmost-level node to this one.
94
103
  *
@@ -98,6 +107,7 @@ interface DTree_Node extends DPanel {
98
107
  * @source https://wiki.facepunch.com/gmod/DTree_Node:ExpandTo
99
108
  */
100
109
  ExpandTo(self: DTree_Node, expand: boolean): void;
110
+
101
111
  /**
102
112
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
103
113
  *
@@ -108,6 +118,7 @@ interface DTree_Node extends DPanel {
108
118
  * @source https://wiki.facepunch.com/gmod/DTree_Node:FilePopulate
109
119
  */
110
120
  FilePopulate(self: DTree_Node, bAndChildren: boolean, bExpand: boolean): void;
121
+
111
122
  /**
112
123
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
113
124
  *
@@ -118,6 +129,7 @@ interface DTree_Node extends DPanel {
118
129
  * @source https://wiki.facepunch.com/gmod/DTree_Node:FilePopulateCallback
119
130
  */
120
131
  FilePopulateCallback(self: DTree_Node, files: table, folders: table, foldername: string, path: string, bAndChildren: boolean, wildcard: string): void;
132
+
121
133
  /**
122
134
  * Returns n-th child node.
123
135
  *
@@ -127,6 +139,7 @@ interface DTree_Node extends DPanel {
127
139
  * @source https://wiki.facepunch.com/gmod/DTree_Node:GetChildNode
128
140
  */
129
141
  GetChildNode(self: DTree_Node, num: number): Panel;
142
+
130
143
  /**
131
144
  * Returns the number of child nodes this node has. For use with [DTree_Node:GetChildNode](https://wiki.facepunch.com/gmod/DTree_Node:GetChildNode)
132
145
  *
@@ -134,6 +147,7 @@ interface DTree_Node extends DPanel {
134
147
  * @source https://wiki.facepunch.com/gmod/DTree_Node:GetChildNodeCount
135
148
  */
136
149
  GetChildNodeCount(self: DTree_Node): number;
150
+
137
151
  /**
138
152
  * Returns a table containing all child nodes of this node.
139
153
  *
@@ -141,6 +155,7 @@ interface DTree_Node extends DPanel {
141
155
  * @source https://wiki.facepunch.com/gmod/DTree_Node:GetChildNodes
142
156
  */
143
157
  GetChildNodes(self: DTree_Node): table;
158
+
144
159
  /**
145
160
  * Returns value set by [DTree_Node:SetDirty](https://wiki.facepunch.com/gmod/DTree_Node:SetDirty).
146
161
  *
@@ -148,12 +163,14 @@ interface DTree_Node extends DPanel {
148
163
  * @source https://wiki.facepunch.com/gmod/DTree_Node:GetDirty
149
164
  */
150
165
  GetDirty(self: DTree_Node): boolean;
166
+
151
167
  /**
152
168
  * Returns whether the double clock to collapse/expand functionality is enabled on this node.
153
169
  * @realm client and menu
154
170
  * @source https://wiki.facepunch.com/gmod/DTree_Node:GetDoubleClickToOpen
155
171
  */
156
172
  GetDoubleClickToOpen(self: DTree_Node): boolean;
173
+
157
174
  /**
158
175
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
159
176
  *
@@ -164,6 +181,7 @@ interface DTree_Node extends DPanel {
164
181
  * @source https://wiki.facepunch.com/gmod/DTree_Node:GetDraggableName
165
182
  */
166
183
  GetDraggableName(self: DTree_Node): string;
184
+
167
185
  /**
168
186
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
169
187
  *
@@ -174,24 +192,28 @@ interface DTree_Node extends DPanel {
174
192
  * @source https://wiki.facepunch.com/gmod/DTree_Node:GetDrawLines
175
193
  */
176
194
  GetDrawLines(self: DTree_Node): boolean;
195
+
177
196
  /**
178
197
  * Returns whether the node is expanded or not.
179
198
  * @realm client and menu
180
199
  * @source https://wiki.facepunch.com/gmod/DTree_Node:GetExpanded
181
200
  */
182
201
  GetExpanded(self: DTree_Node): boolean;
202
+
183
203
  /**
184
204
  * Returns the filepath of the file attached to this node.
185
205
  * @realm client and menu
186
206
  * @source https://wiki.facepunch.com/gmod/DTree_Node:GetFileName
187
207
  */
188
208
  GetFileName(self: DTree_Node): string;
209
+
189
210
  /**
190
211
  * Returns the folder path to search in, set by [DTree_Node:MakeFolder](https://wiki.facepunch.com/gmod/DTree_Node:MakeFolder).
191
212
  * @realm client and menu
192
213
  * @source https://wiki.facepunch.com/gmod/DTree_Node:GetFolder
193
214
  */
194
215
  GetFolder(self: DTree_Node): string;
216
+
195
217
  /**
196
218
  * Returns whether the expand/collapse button is shown on this node regardless of whether or not it has sub-nodes.
197
219
  *
@@ -201,18 +223,21 @@ interface DTree_Node extends DPanel {
201
223
  * @source https://wiki.facepunch.com/gmod/DTree_Node:GetForceShowExpander
202
224
  */
203
225
  GetForceShowExpander(self: DTree_Node): boolean;
226
+
204
227
  /**
205
228
  * Returns whether the expand button (little + button) should be shown or hidden.
206
229
  * @realm client and menu
207
230
  * @source https://wiki.facepunch.com/gmod/DTree_Node:GetHideExpander
208
231
  */
209
232
  GetHideExpander(self: DTree_Node): boolean;
233
+
210
234
  /**
211
235
  * Returns the image path to the icon of this node.
212
236
  * @realm client and menu
213
237
  * @source https://wiki.facepunch.com/gmod/DTree_Node:GetIcon
214
238
  */
215
239
  GetIcon(self: DTree_Node): string;
240
+
216
241
  /**
217
242
  * Returns the indentation level of the [DTree](https://wiki.facepunch.com/gmod/DTree) this node belongs to.
218
243
  *
@@ -222,12 +247,14 @@ interface DTree_Node extends DPanel {
222
247
  * @source https://wiki.facepunch.com/gmod/DTree_Node:GetIndentSize
223
248
  */
224
249
  GetIndentSize(self: DTree_Node): number;
250
+
225
251
  /**
226
252
  * Returns whether this node is the last child on this level or not.
227
253
  * @realm client and menu
228
254
  * @source https://wiki.facepunch.com/gmod/DTree_Node:GetLastChild
229
255
  */
230
256
  GetLastChild(self: DTree_Node): boolean;
257
+
231
258
  /**
232
259
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
233
260
  * Returns whether the node still needs a filesystem search for sub-nodes.
@@ -236,6 +263,7 @@ interface DTree_Node extends DPanel {
236
263
  * @deprecated Seems to be unused entirely.
237
264
  */
238
265
  GetNeedsChildSearch(self: DTree_Node): boolean;
266
+
239
267
  /**
240
268
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
241
269
  *
@@ -246,12 +274,14 @@ interface DTree_Node extends DPanel {
246
274
  * @source https://wiki.facepunch.com/gmod/DTree_Node:GetNeedsPopulating
247
275
  */
248
276
  GetNeedsPopulating(self: DTree_Node): boolean;
277
+
249
278
  /**
250
279
  * Returns the parent [DTree_Node](https://wiki.facepunch.com/gmod/DTree_Node). Note that [Panel:GetParent](https://wiki.facepunch.com/gmod/Panel:GetParent) will not be the same!
251
280
  * @realm client and menu
252
281
  * @source https://wiki.facepunch.com/gmod/DTree_Node:GetParentNode
253
282
  */
254
283
  GetParentNode(self: DTree_Node): Panel;
284
+
255
285
  /**
256
286
  * Returns the path ID ([File Search Paths](https://wiki.facepunch.com/gmod/File_Search_Paths)) used in populating the [DTree](https://wiki.facepunch.com/gmod/DTree) from the filesystem.
257
287
  *
@@ -261,6 +291,7 @@ interface DTree_Node extends DPanel {
261
291
  * @source https://wiki.facepunch.com/gmod/DTree_Node:GetPathID
262
292
  */
263
293
  GetPathID(self: DTree_Node): string;
294
+
264
295
  /**
265
296
  * Returns the root node, the [DTree](https://wiki.facepunch.com/gmod/DTree) this node is under.
266
297
  *
@@ -270,24 +301,28 @@ interface DTree_Node extends DPanel {
270
301
  * @source https://wiki.facepunch.com/gmod/DTree_Node:GetRoot
271
302
  */
272
303
  GetRoot(self: DTree_Node): Panel;
304
+
273
305
  /**
274
306
  * Returns whether or not nodes for files should/will be added when populating the node from filesystem.
275
307
  * @realm client and menu
276
308
  * @source https://wiki.facepunch.com/gmod/DTree_Node:GetShowFiles
277
309
  */
278
310
  GetShowFiles(self: DTree_Node): boolean;
311
+
279
312
  /**
280
313
  * Returns the wildcard set by [DTree_Node:MakeFolder](https://wiki.facepunch.com/gmod/DTree_Node:MakeFolder).
281
314
  * @realm client and menu
282
315
  * @source https://wiki.facepunch.com/gmod/DTree_Node:GetWildCard
283
316
  */
284
317
  GetWildCard(self: DTree_Node): string;
318
+
285
319
  /**
286
320
  * Inserts a sub-node into this node before or after the given node.
287
321
  * @realm client and menu
288
322
  * @source https://wiki.facepunch.com/gmod/DTree_Node:Insert
289
323
  */
290
324
  Insert(self: DTree_Node, node: Panel, nodeNextTo: Panel, before: boolean): void;
325
+
291
326
  /**
292
327
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
293
328
  *
@@ -299,6 +334,7 @@ interface DTree_Node extends DPanel {
299
334
  * @source https://wiki.facepunch.com/gmod/DTree_Node:InsertNode
300
335
  */
301
336
  InsertNode(self: DTree_Node, node: Panel): void;
337
+
302
338
  /**
303
339
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
304
340
  *
@@ -311,6 +347,7 @@ interface DTree_Node extends DPanel {
311
347
  * @source https://wiki.facepunch.com/gmod/DTree_Node:InstallDraggable
312
348
  */
313
349
  InstallDraggable(self: DTree_Node, node: Panel): void;
350
+
314
351
  /**
315
352
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
316
353
  *
@@ -321,6 +358,7 @@ interface DTree_Node extends DPanel {
321
358
  * @source https://wiki.facepunch.com/gmod/DTree_Node:InternalDoClick
322
359
  */
323
360
  InternalDoClick(self: DTree_Node): void;
361
+
324
362
  /**
325
363
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
326
364
  *
@@ -331,12 +369,14 @@ interface DTree_Node extends DPanel {
331
369
  * @source https://wiki.facepunch.com/gmod/DTree_Node:InternalDoRightClick
332
370
  */
333
371
  InternalDoRightClick(self: DTree_Node): void;
372
+
334
373
  /**
335
374
  * Returns true if [DTree_Node:GetRoot](https://wiki.facepunch.com/gmod/DTree_Node:GetRoot) is the same as [DTree_Node:GetParentNode](https://wiki.facepunch.com/gmod/DTree_Node:GetParentNode) of this node.
336
375
  * @realm client and menu
337
376
  * @source https://wiki.facepunch.com/gmod/DTree_Node:IsRootNode
338
377
  */
339
378
  IsRootNode(self: DTree_Node): boolean;
379
+
340
380
  /**
341
381
  * Removes given node as a sub-node of this node.
342
382
  *
@@ -346,6 +386,7 @@ interface DTree_Node extends DPanel {
346
386
  * @source https://wiki.facepunch.com/gmod/DTree_Node:LeaveTree
347
387
  */
348
388
  LeaveTree(self: DTree_Node, pnl: Panel): void;
389
+
349
390
  /**
350
391
  * Makes this node a folder in the filesystem. This will make it automatically populated.
351
392
  *
@@ -355,6 +396,7 @@ interface DTree_Node extends DPanel {
355
396
  * @source https://wiki.facepunch.com/gmod/DTree_Node:MakeFolder
356
397
  */
357
398
  MakeFolder(self: DTree_Node, folder: string, path: string, showFiles?: boolean, wildcard?: string, dontForceExpandable?: boolean): void;
399
+
358
400
  /**
359
401
  * Moves given panel to the top of the children of this node.
360
402
  *
@@ -364,12 +406,14 @@ interface DTree_Node extends DPanel {
364
406
  * @source https://wiki.facepunch.com/gmod/DTree_Node:MoveChildTo
365
407
  */
366
408
  MoveChildTo(self: DTree_Node, node: Panel): void;
409
+
367
410
  /**
368
411
  * Moves this node to the top of the level.
369
412
  * @realm client and menu
370
413
  * @source https://wiki.facepunch.com/gmod/DTree_Node:MoveToTop
371
414
  */
372
415
  MoveToTop(self: DTree_Node): void;
416
+
373
417
  /**
374
418
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
375
419
  *
@@ -380,6 +424,7 @@ interface DTree_Node extends DPanel {
380
424
  * @source https://wiki.facepunch.com/gmod/DTree_Node:PerformRootNodeLayout
381
425
  */
382
426
  PerformRootNodeLayout(self: DTree_Node): void;
427
+
383
428
  /**
384
429
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
385
430
  *
@@ -390,6 +435,7 @@ interface DTree_Node extends DPanel {
390
435
  * @source https://wiki.facepunch.com/gmod/DTree_Node:PopulateChildren
391
436
  */
392
437
  PopulateChildren(self: DTree_Node): void;
438
+
393
439
  /**
394
440
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
395
441
  *
@@ -400,6 +446,7 @@ interface DTree_Node extends DPanel {
400
446
  * @source https://wiki.facepunch.com/gmod/DTree_Node:PopulateChildrenAndSelf
401
447
  */
402
448
  PopulateChildrenAndSelf(self: DTree_Node, expand: boolean): void;
449
+
403
450
  /**
404
451
  * Appears to have no effect on the [DTree_Node](https://wiki.facepunch.com/gmod/DTree_Node).
405
452
  *
@@ -407,12 +454,14 @@ interface DTree_Node extends DPanel {
407
454
  * @source https://wiki.facepunch.com/gmod/DTree_Node:SetDirty
408
455
  */
409
456
  SetDirty(self: DTree_Node, dirty: boolean): void;
457
+
410
458
  /**
411
459
  * Sets whether double clicking the node should expand/collapse it or not.
412
460
  * @realm client and menu
413
461
  * @source https://wiki.facepunch.com/gmod/DTree_Node:SetDoubleClickToOpen
414
462
  */
415
463
  SetDoubleClickToOpen(self: DTree_Node, enable: boolean): void;
464
+
416
465
  /**
417
466
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
418
467
  *
@@ -423,6 +472,7 @@ interface DTree_Node extends DPanel {
423
472
  * @source https://wiki.facepunch.com/gmod/DTree_Node:SetDraggableName
424
473
  */
425
474
  SetDraggableName(self: DTree_Node, name: string): void;
475
+
426
476
  /**
427
477
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
428
478
  *
@@ -433,12 +483,14 @@ interface DTree_Node extends DPanel {
433
483
  * @source https://wiki.facepunch.com/gmod/DTree_Node:SetDrawLines
434
484
  */
435
485
  SetDrawLines(self: DTree_Node, draw: boolean): void;
486
+
436
487
  /**
437
488
  * Expands or collapses this node.
438
489
  * @realm client and menu
439
490
  * @source https://wiki.facepunch.com/gmod/DTree_Node:SetExpanded
440
491
  */
441
492
  SetExpanded(self: DTree_Node, expand: boolean, surpressAnimation?: boolean): void;
493
+
442
494
  /**
443
495
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
444
496
  *
@@ -449,6 +501,7 @@ interface DTree_Node extends DPanel {
449
501
  * @source https://wiki.facepunch.com/gmod/DTree_Node:SetFileName
450
502
  */
451
503
  SetFileName(self: DTree_Node, filename: string): void;
504
+
452
505
  /**
453
506
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
454
507
  *
@@ -461,12 +514,14 @@ interface DTree_Node extends DPanel {
461
514
  * @source https://wiki.facepunch.com/gmod/DTree_Node:SetFolder
462
515
  */
463
516
  SetFolder(self: DTree_Node, folder: string): void;
517
+
464
518
  /**
465
519
  * Sets whether or not the expand/collapse button (+/- button) should be shown on this node regardless of whether it has sub-elements or not.
466
520
  * @realm client and menu
467
521
  * @source https://wiki.facepunch.com/gmod/DTree_Node:SetForceShowExpander
468
522
  */
469
523
  SetForceShowExpander(self: DTree_Node, forceShow: boolean): void;
524
+
470
525
  /**
471
526
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
472
527
  *
@@ -477,12 +532,14 @@ interface DTree_Node extends DPanel {
477
532
  * @source https://wiki.facepunch.com/gmod/DTree_Node:SetHideExpander
478
533
  */
479
534
  SetHideExpander(self: DTree_Node, hide: boolean): void;
535
+
480
536
  /**
481
537
  * Sets the material for the icon of the [DTree_Node](https://wiki.facepunch.com/gmod/DTree_Node).
482
538
  * @realm client and menu
483
539
  * @source https://wiki.facepunch.com/gmod/DTree_Node:SetIcon
484
540
  */
485
541
  SetIcon(self: DTree_Node, path: string): void;
542
+
486
543
  /**
487
544
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
488
545
  *
@@ -493,6 +550,7 @@ interface DTree_Node extends DPanel {
493
550
  * @source https://wiki.facepunch.com/gmod/DTree_Node:SetLastChild
494
551
  */
495
552
  SetLastChild(self: DTree_Node, last: boolean): void;
553
+
496
554
  /**
497
555
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
498
556
  *
@@ -505,6 +563,7 @@ interface DTree_Node extends DPanel {
505
563
  * @deprecated Seems to be unused entirely.
506
564
  */
507
565
  SetNeedsChildSearch(self: DTree_Node, newState: boolean): void;
566
+
508
567
  /**
509
568
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
510
569
  *
@@ -515,6 +574,7 @@ interface DTree_Node extends DPanel {
515
574
  * @source https://wiki.facepunch.com/gmod/DTree_Node:SetNeedsPopulating
516
575
  */
517
576
  SetNeedsPopulating(self: DTree_Node, needs: boolean): void;
577
+
518
578
  /**
519
579
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
520
580
  *
@@ -527,6 +587,7 @@ interface DTree_Node extends DPanel {
527
587
  * @source https://wiki.facepunch.com/gmod/DTree_Node:SetParentNode
528
588
  */
529
589
  SetParentNode(self: DTree_Node, parent: Panel): void;
590
+
530
591
  /**
531
592
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
532
593
  *
@@ -539,6 +600,7 @@ interface DTree_Node extends DPanel {
539
600
  * @source https://wiki.facepunch.com/gmod/DTree_Node:SetPathID
540
601
  */
541
602
  SetPathID(self: DTree_Node, path: string): void;
603
+
542
604
  /**
543
605
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
544
606
  *
@@ -551,6 +613,7 @@ interface DTree_Node extends DPanel {
551
613
  * @source https://wiki.facepunch.com/gmod/DTree_Node:SetRoot
552
614
  */
553
615
  SetRoot(self: DTree_Node, root: Panel): void;
616
+
554
617
  /**
555
618
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
556
619
  *
@@ -561,6 +624,7 @@ interface DTree_Node extends DPanel {
561
624
  * @source https://wiki.facepunch.com/gmod/DTree_Node:SetShowFiles
562
625
  */
563
626
  SetShowFiles(self: DTree_Node, showFiles: boolean): void;
627
+
564
628
  /**
565
629
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
566
630
  *
@@ -573,6 +637,7 @@ interface DTree_Node extends DPanel {
573
637
  * @source https://wiki.facepunch.com/gmod/DTree_Node:SetWildCard
574
638
  */
575
639
  SetWildCard(self: DTree_Node, wildcard: string): void;
640
+
576
641
  /**
577
642
  * Currently does nothing, not implemented.
578
643
  *
@@ -580,6 +645,7 @@ interface DTree_Node extends DPanel {
580
645
  * @source https://wiki.facepunch.com/gmod/DTree_Node:SetupCopy
581
646
  */
582
647
  SetupCopy(self: DTree_Node): void;
648
+
583
649
  /**
584
650
  * Returns whether or not the [DTree](https://wiki.facepunch.com/gmod/DTree) this node is in has icons enabled.
585
651
  *
@@ -590,71 +656,3 @@ interface DTree_Node extends DPanel {
590
656
  */
591
657
  ShowIcons(self: DTree_Node): number;
592
658
  }
593
-
594
-
595
-
596
-
597
-
598
-
599
-
600
-
601
-
602
-
603
-
604
-
605
-
606
-
607
-
608
-
609
-
610
-
611
-
612
-
613
-
614
-
615
-
616
-
617
-
618
-
619
-
620
-
621
-
622
-
623
-
624
-
625
-
626
-
627
-
628
-
629
-
630
-
631
-
632
-
633
-
634
-
635
-
636
-
637
-
638
-
639
-
640
-
641
-
642
-
643
-
644
-
645
-
646
-
647
-
648
-
649
-
650
-
651
-
652
-
653
-
654
-
655
-
656
-
657
-
658
-
659
-
660
-
@@ -10,4 +10,3 @@
10
10
  * @source https://wiki.facepunch.com/gmod/DTree_Node_Button
11
11
  */
12
12
  interface DTree_Node_Button extends DButton {}
13
-