@tlua/gmod 1.0.3 → 1.0.5

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