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