@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
@@ -5,9 +5,7 @@
5
5
  * @realm client
6
6
  * @source https://wiki.facepunch.com/gmod/DModelPanel
7
7
  */
8
- interface DModelPanel extends DButton {}
9
-
10
- interface DModelPanel {
8
+ interface DModelPanel extends DButton {
11
9
  /**
12
10
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
13
11
  * Used by the DModelPanel's paint hook to draw the model and background.
@@ -15,108 +13,84 @@ interface DModelPanel {
15
13
  * @source https://wiki.facepunch.com/gmod/DModelPanel:DrawModel
16
14
  */
17
15
  DrawModel(self: DModelPanel): void;
18
- }
19
16
 
20
- interface DModelPanel {
21
17
  /**
22
18
  * Returns the ambient lighting used on the rendered entity.
23
19
  * @realm client
24
20
  * @source https://wiki.facepunch.com/gmod/DModelPanel:GetAmbientLight
25
21
  */
26
22
  GetAmbientLight(self: DModelPanel): Color;
27
- }
28
23
 
29
- interface DModelPanel {
30
24
  /**
31
25
  * Returns the animation speed of the panel entity, see [DModelPanel:SetAnimSpeed](https://wiki.facepunch.com/gmod/DModelPanel:SetAnimSpeed).
32
26
  * @realm client
33
27
  * @source https://wiki.facepunch.com/gmod/DModelPanel:GetAnimSpeed
34
28
  */
35
29
  GetAnimSpeed(self: DModelPanel): number;
36
- }
37
30
 
38
- interface DModelPanel {
39
31
  /**
40
32
  * Returns whether or not the panel entity should be animated when the default [DModelPanel:LayoutEntity](https://wiki.facepunch.com/gmod/DModelPanel:LayoutEntity) function is called.
41
33
  * @realm client
42
34
  * @source https://wiki.facepunch.com/gmod/DModelPanel:GetAnimated
43
35
  */
44
36
  GetAnimated(self: DModelPanel): boolean;
45
- }
46
37
 
47
- interface DModelPanel {
48
38
  /**
49
39
  * Returns the position of the model viewing camera.
50
40
  * @realm client
51
41
  * @source https://wiki.facepunch.com/gmod/DModelPanel:GetCamPos
52
42
  */
53
43
  GetCamPos(self: DModelPanel): Vector;
54
- }
55
44
 
56
- interface DModelPanel {
57
45
  /**
58
46
  * Returns the entity being rendered by the model panel.
59
47
  * @realm client
60
48
  * @source https://wiki.facepunch.com/gmod/DModelPanel:GetEntity
61
49
  */
62
50
  GetEntity(self: DModelPanel): CSEnt;
63
- }
64
51
 
65
- interface DModelPanel {
66
52
  /**
67
53
  * Returns the FOV (field of view) the camera is using.
68
54
  * @realm client
69
55
  * @source https://wiki.facepunch.com/gmod/DModelPanel:GetFOV
70
56
  */
71
57
  GetFOV(self: DModelPanel): number;
72
- }
73
58
 
74
- interface DModelPanel {
75
59
  /**
76
60
  * Returns the angles of the model viewing camera. Is **nil** until changed with [DModelPanel:SetLookAng](https://wiki.facepunch.com/gmod/DModelPanel:SetLookAng).
77
61
  * @realm client
78
62
  * @source https://wiki.facepunch.com/gmod/DModelPanel:GetLookAng
79
63
  */
80
64
  GetLookAng(self: DModelPanel): Angle;
81
- }
82
65
 
83
- interface DModelPanel {
84
66
  /**
85
67
  * Returns the position the viewing camera is pointing toward.
86
68
  * @realm client
87
69
  * @source https://wiki.facepunch.com/gmod/DModelPanel:GetLookAt
88
70
  */
89
71
  GetLookAt(self: DModelPanel): Vector;
90
- }
91
72
 
92
- interface DModelPanel {
93
73
  /**
94
74
  * Gets the model of the rendered entity.
95
75
  * @realm client
96
76
  * @source https://wiki.facepunch.com/gmod/DModelPanel:GetModel
97
77
  */
98
78
  GetModel(self: DModelPanel): string;
99
- }
100
79
 
101
- interface DModelPanel {
102
80
  /**
103
81
  * This function is used in [DModelPanel:LayoutEntity](https://wiki.facepunch.com/gmod/DModelPanel:LayoutEntity). It will progress the animation, set using [Entity:SetSequence](https://wiki.facepunch.com/gmod/Entity:SetSequence). By default, it is the walking animation.
104
82
  * @realm client
105
83
  * @source https://wiki.facepunch.com/gmod/DModelPanel:RunAnimation
106
84
  */
107
85
  RunAnimation(self: DModelPanel): void;
108
- }
109
86
 
110
- interface DModelPanel {
111
87
  /**
112
88
  * Sets the ambient lighting used on the rendered entity.
113
89
  * @realm client
114
90
  * @source https://wiki.facepunch.com/gmod/DModelPanel:SetAmbientLight
115
91
  */
116
92
  SetAmbientLight(self: DModelPanel, color: Color): void;
117
- }
118
93
 
119
- interface DModelPanel {
120
94
  /**
121
95
  * Sets the speed used by [DModelPanel:RunAnimation](https://wiki.facepunch.com/gmod/DModelPanel:RunAnimation) to advance frame on an entity sequence.
122
96
  *
@@ -127,36 +101,28 @@ interface DModelPanel {
127
101
  * @source https://wiki.facepunch.com/gmod/DModelPanel:SetAnimSpeed
128
102
  */
129
103
  SetAnimSpeed(self: DModelPanel, animSpeed: number): void;
130
- }
131
104
 
132
- interface DModelPanel {
133
105
  /**
134
106
  * Sets whether or not to animate the entity when the default [DModelPanel:LayoutEntity](https://wiki.facepunch.com/gmod/DModelPanel:LayoutEntity) is called.
135
107
  * @realm client
136
108
  * @source https://wiki.facepunch.com/gmod/DModelPanel:SetAnimated
137
109
  */
138
110
  SetAnimated(self: DModelPanel, animated: boolean): void;
139
- }
140
111
 
141
- interface DModelPanel {
142
112
  /**
143
113
  * Sets the position of the camera.
144
114
  * @realm client
145
115
  * @source https://wiki.facepunch.com/gmod/DModelPanel:SetCamPos
146
116
  */
147
117
  SetCamPos(self: DModelPanel, pos: Vector): void;
148
- }
149
118
 
150
- interface DModelPanel {
151
119
  /**
152
120
  * Sets the directional lighting used on the rendered entity.
153
121
  * @realm client
154
122
  * @source https://wiki.facepunch.com/gmod/DModelPanel:SetDirectionalLight
155
123
  */
156
124
  SetDirectionalLight(self: DModelPanel, direction: number, color: Color): void;
157
- }
158
125
 
159
- interface DModelPanel {
160
126
  /**
161
127
  * Sets the entity to be rendered by the model panel.
162
128
  *
@@ -167,36 +133,28 @@ interface DModelPanel {
167
133
  * @source https://wiki.facepunch.com/gmod/DModelPanel:SetEntity
168
134
  */
169
135
  SetEntity(self: DModelPanel, ent: Entity): void;
170
- }
171
136
 
172
- interface DModelPanel {
173
137
  /**
174
138
  * Sets the panel camera's FOV (field of view).
175
139
  * @realm client
176
140
  * @source https://wiki.facepunch.com/gmod/DModelPanel:SetFOV
177
141
  */
178
142
  SetFOV(self: DModelPanel, fov: number): void;
179
- }
180
143
 
181
- interface DModelPanel {
182
144
  /**
183
145
  * Sets the angles of the camera.
184
146
  * @realm client
185
147
  * @source https://wiki.facepunch.com/gmod/DModelPanel:SetLookAng
186
148
  */
187
149
  SetLookAng(self: DModelPanel, ang: Angle): void;
188
- }
189
150
 
190
- interface DModelPanel {
191
151
  /**
192
152
  * Makes the panel's camera face the given position. Basically sets the camera's angles ([DModelPanel:SetLookAng](https://wiki.facepunch.com/gmod/DModelPanel:SetLookAng)) after doing some math.
193
153
  * @realm client
194
154
  * @source https://wiki.facepunch.com/gmod/DModelPanel:SetLookAt
195
155
  */
196
156
  SetLookAt(self: DModelPanel, pos: Vector): void;
197
- }
198
157
 
199
- interface DModelPanel {
200
158
  /**
201
159
  * Runs a [Global.ClientsideScene](https://wiki.facepunch.com/gmod/Global.ClientsideScene) on the panel's entity.
202
160
  * @realm client
@@ -204,4 +162,3 @@ interface DModelPanel {
204
162
  */
205
163
  StartScene(self: DModelPanel, path: string): void;
206
164
  }
207
-
@@ -7,9 +7,7 @@
7
7
  * @source https://wiki.facepunch.com/gmod/DModelSelect
8
8
  * @deprecated This is derived from the deprecated DPanelList.
9
9
  */
10
- interface DModelSelect extends DPanelSelect {}
11
-
12
- interface DModelSelect {
10
+ interface DModelSelect extends DPanelSelect {
13
11
  /**
14
12
  * Called to set the list of models within the panel element.
15
13
  * @realm client
@@ -17,4 +15,3 @@ interface DModelSelect {
17
15
  */
18
16
  SetModelList(self: DModelSelect, models: table, convar: string, dontSort: boolean, dontCallListConVars: boolean): void;
19
17
  }
20
-
@@ -6,9 +6,7 @@
6
6
  * @realm client
7
7
  * @source https://wiki.facepunch.com/gmod/DModelSelectMulti
8
8
  */
9
- interface DModelSelectMulti extends DPropertySheet {}
10
-
11
- interface DModelSelectMulti {
9
+ interface DModelSelectMulti extends DPropertySheet {
12
10
  /**
13
11
  * Adds a new tab of models.
14
12
  * @realm client and menu
@@ -16,4 +14,3 @@ interface DModelSelectMulti {
16
14
  */
17
15
  AddModelList(self: DModelSelectMulti, name: string, models: table, convar: string, dontSort: boolean, dontCallListConVars: boolean): void;
18
16
  }
19
-
@@ -5,36 +5,28 @@
5
5
  * @realm client
6
6
  * @source https://wiki.facepunch.com/gmod/DNotify
7
7
  */
8
- interface DNotify extends Panel {}
9
-
10
- interface DNotify {
8
+ interface DNotify extends Panel {
11
9
  /**
12
10
  * Adds a panel to the notification
13
11
  * @realm client
14
12
  * @source https://wiki.facepunch.com/gmod/DNotify:AddItem
15
13
  */
16
14
  AddItem(self: DNotify, pnl: Panel, lifeLength?: number): void;
17
- }
18
15
 
19
- interface DNotify {
20
16
  /**
21
17
  * Returns the current alignment of this notification panel. Set by [DNotify:SetAlignment](https://wiki.facepunch.com/gmod/DNotify:SetAlignment).
22
18
  * @realm client
23
19
  * @source https://wiki.facepunch.com/gmod/DNotify:GetAlignment
24
20
  */
25
21
  GetAlignment(self: DNotify): number;
26
- }
27
22
 
28
- interface DNotify {
29
23
  /**
30
24
  * Returns all the items added with [DNotify:AddItem](https://wiki.facepunch.com/gmod/DNotify:AddItem).
31
25
  * @realm client
32
26
  * @source https://wiki.facepunch.com/gmod/DNotify:GetItems
33
27
  */
34
28
  GetItems(self: DNotify): table;
35
- }
36
29
 
37
- interface DNotify {
38
30
  /**
39
31
  * Returns the display time in seconds of the DNotify. This is set with
40
32
  * [DNotify:SetLife](https://wiki.facepunch.com/gmod/DNotify:SetLife).
@@ -43,45 +35,35 @@ interface DNotify {
43
35
  * @source https://wiki.facepunch.com/gmod/DNotify:GetLife
44
36
  */
45
37
  GetLife(self: DNotify): number;
46
- }
47
38
 
48
- interface DNotify {
49
39
  /**
50
40
  * Returns the spacing between items set by [DNotify:SetSpacing](https://wiki.facepunch.com/gmod/DNotify:SetSpacing).
51
41
  * @realm client
52
42
  * @source https://wiki.facepunch.com/gmod/DNotify:GetSpacing
53
43
  */
54
44
  GetSpacing(self: DNotify): number;
55
- }
56
45
 
57
- interface DNotify {
58
46
  /**
59
47
  * Sets the alignment of the child panels in the notification
60
48
  * @realm client
61
49
  * @source https://wiki.facepunch.com/gmod/DNotify:SetAlignment
62
50
  */
63
51
  SetAlignment(self: DNotify, alignment: number): void;
64
- }
65
52
 
66
- interface DNotify {
67
53
  /**
68
54
  * Sets the display time in seconds for the DNotify.
69
55
  * @realm client
70
56
  * @source https://wiki.facepunch.com/gmod/DNotify:SetLife
71
57
  */
72
58
  SetLife(self: DNotify, time: number): void;
73
- }
74
59
 
75
- interface DNotify {
76
60
  /**
77
61
  * Sets the spacing between child elements of the notification panel.
78
62
  * @realm client
79
63
  * @source https://wiki.facepunch.com/gmod/DNotify:SetSpacing
80
64
  */
81
65
  SetSpacing(self: DNotify, spacing: number): void;
82
- }
83
66
 
84
- interface DNotify {
85
67
  /**
86
68
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
87
69
  * Used internally to position and fade in/out its [DNotify:GetItems](https://wiki.facepunch.com/gmod/DNotify:GetItems).
@@ -90,4 +72,3 @@ interface DNotify {
90
72
  */
91
73
  Shuffle(self: DNotify): void;
92
74
  }
93
-
@@ -7,9 +7,7 @@
7
7
  * @realm client and menu
8
8
  * @source https://wiki.facepunch.com/gmod/DNumberScratch
9
9
  */
10
- interface DNumberScratch extends DImageButton {}
11
-
12
- interface DNumberScratch {
10
+ interface DNumberScratch extends DImageButton {
13
11
  /**
14
12
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
15
13
  *
@@ -20,9 +18,7 @@ interface DNumberScratch {
20
18
  * @source https://wiki.facepunch.com/gmod/DNumberScratch:DrawNotches
21
19
  */
22
20
  DrawNotches(self: DNumberScratch, level: number, x: number, y: number, w: number, h: number, range: number, value: number, min: number, max: number): void;
23
- }
24
21
 
25
- interface DNumberScratch {
26
22
  /**
27
23
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
28
24
  *
@@ -33,27 +29,21 @@ interface DNumberScratch {
33
29
  * @source https://wiki.facepunch.com/gmod/DNumberScratch:DrawScreen
34
30
  */
35
31
  DrawScreen(self: DNumberScratch, x: number, y: number, w: number, h: number): void;
36
- }
37
32
 
38
- interface DNumberScratch {
39
33
  /**
40
34
  * Returns whether this panel is active or not, i.e. if the player is currently changing its value.
41
35
  * @realm client and menu
42
36
  * @source https://wiki.facepunch.com/gmod/DNumberScratch:GetActive
43
37
  */
44
38
  GetActive(self: DNumberScratch): boolean;
45
- }
46
39
 
47
- interface DNumberScratch {
48
40
  /**
49
41
  * Returns the desired amount of numbers after the decimal point.
50
42
  * @realm client and menu
51
43
  * @source https://wiki.facepunch.com/gmod/DNumberScratch:GetDecimals
52
44
  */
53
45
  GetDecimals(self: DNumberScratch): number;
54
- }
55
46
 
56
- interface DNumberScratch {
57
47
  /**
58
48
  * Returns the real value of the [DNumberScratch](https://wiki.facepunch.com/gmod/DNumberScratch) as a number.
59
49
  *
@@ -63,9 +53,7 @@ interface DNumberScratch {
63
53
  * @source https://wiki.facepunch.com/gmod/DNumberScratch:GetFloatValue
64
54
  */
65
55
  GetFloatValue(self: DNumberScratch): number;
66
- }
67
56
 
68
- interface DNumberScratch {
69
57
  /**
70
58
  * Returns the value of the [DNumberScratch](https://wiki.facepunch.com/gmod/DNumberScratch) as a fraction, a value between 0 and 1 where 0 is the minimum and 1 is the maximum value of the [DNumberScratch](https://wiki.facepunch.com/gmod/DNumberScratch).
71
59
  *
@@ -78,45 +66,35 @@ interface DNumberScratch {
78
66
  * @source https://wiki.facepunch.com/gmod/DNumberScratch:GetFraction
79
67
  */
80
68
  GetFraction(self: DNumberScratch): number;
81
- }
82
69
 
83
- interface DNumberScratch {
84
70
  /**
85
71
  * Returns the maximum value that can be selected on the number scratch
86
72
  * @realm client and menu
87
73
  * @source https://wiki.facepunch.com/gmod/DNumberScratch:GetMax
88
74
  */
89
75
  GetMax(self: DNumberScratch): number;
90
- }
91
76
 
92
- interface DNumberScratch {
93
77
  /**
94
78
  * Returns the minimum value that can be selected on the number scratch
95
79
  * @realm client and menu
96
80
  * @source https://wiki.facepunch.com/gmod/DNumberScratch:GetMin
97
81
  */
98
82
  GetMin(self: DNumberScratch): number;
99
- }
100
83
 
101
- interface DNumberScratch {
102
84
  /**
103
85
  * Returns the range of the [DNumberScratch](https://wiki.facepunch.com/gmod/DNumberScratch). Basically max value - min value.
104
86
  * @realm client and menu
105
87
  * @source https://wiki.facepunch.com/gmod/DNumberScratch:GetRange
106
88
  */
107
89
  GetRange(self: DNumberScratch): number;
108
- }
109
90
 
110
- interface DNumberScratch {
111
91
  /**
112
92
  * Returns whether the scratch window should be visible or not.
113
93
  * @realm client and menu
114
94
  * @source https://wiki.facepunch.com/gmod/DNumberScratch:GetShouldDrawScreen
115
95
  */
116
96
  GetShouldDrawScreen(self: DNumberScratch): boolean;
117
- }
118
97
 
119
- interface DNumberScratch {
120
98
  /**
121
99
  * Returns the real value of the [DNumberScratch](https://wiki.facepunch.com/gmod/DNumberScratch) as a string.
122
100
  *
@@ -126,36 +104,28 @@ interface DNumberScratch {
126
104
  * @source https://wiki.facepunch.com/gmod/DNumberScratch:GetTextValue
127
105
  */
128
106
  GetTextValue(self: DNumberScratch): string;
129
- }
130
107
 
131
- interface DNumberScratch {
132
108
  /**
133
109
  * Returns the zoom level of the scratch window
134
110
  * @realm client and menu
135
111
  * @source https://wiki.facepunch.com/gmod/DNumberScratch:GetZoom
136
112
  */
137
113
  GetZoom(self: DNumberScratch): number;
138
- }
139
114
 
140
- interface DNumberScratch {
141
115
  /**
142
116
  * Returns the ideal zoom level for the panel based on the [DNumberScratch:GetRange](https://wiki.facepunch.com/gmod/DNumberScratch:GetRange).
143
117
  * @realm client and menu
144
118
  * @source https://wiki.facepunch.com/gmod/DNumberScratch:IdealZoom
145
119
  */
146
120
  IdealZoom(self: DNumberScratch): number;
147
- }
148
121
 
149
- interface DNumberScratch {
150
122
  /**
151
123
  * Returns whether the player is currently editing the value of the [DNumberScratch](https://wiki.facepunch.com/gmod/DNumberScratch).
152
124
  * @realm client and menu
153
125
  * @source https://wiki.facepunch.com/gmod/DNumberScratch:IsEditing
154
126
  */
155
127
  IsEditing(self: DNumberScratch): boolean;
156
- }
157
128
 
158
- interface DNumberScratch {
159
129
  /**
160
130
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
161
131
  *
@@ -166,9 +136,7 @@ interface DNumberScratch {
166
136
  * @source https://wiki.facepunch.com/gmod/DNumberScratch:LockCursor
167
137
  */
168
138
  LockCursor(self: DNumberScratch): void;
169
- }
170
139
 
171
- interface DNumberScratch {
172
140
  /**
173
141
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
174
142
  *
@@ -179,9 +147,7 @@ interface DNumberScratch {
179
147
  * @source https://wiki.facepunch.com/gmod/DNumberScratch:PaintScratchWindow
180
148
  */
181
149
  PaintScratchWindow(self: DNumberScratch): void;
182
- }
183
150
 
184
- interface DNumberScratch {
185
151
  /**
186
152
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
187
153
  *
@@ -194,18 +160,14 @@ interface DNumberScratch {
194
160
  * @source https://wiki.facepunch.com/gmod/DNumberScratch:SetActive
195
161
  */
196
162
  SetActive(self: DNumberScratch, active: boolean): void;
197
- }
198
163
 
199
- interface DNumberScratch {
200
164
  /**
201
165
  * Sets the desired amount of numbers after the decimal point.
202
166
  * @realm client and menu
203
167
  * @source https://wiki.facepunch.com/gmod/DNumberScratch:SetDecimals
204
168
  */
205
169
  SetDecimals(self: DNumberScratch, decimals: number): void;
206
- }
207
170
 
208
- interface DNumberScratch {
209
171
  /**
210
172
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
211
173
  *
@@ -218,36 +180,28 @@ interface DNumberScratch {
218
180
  * @source https://wiki.facepunch.com/gmod/DNumberScratch:SetFloatValue
219
181
  */
220
182
  SetFloatValue(self: DNumberScratch, val: number): void;
221
- }
222
183
 
223
- interface DNumberScratch {
224
184
  /**
225
185
  * Sets the value of the [DNumberScratch](https://wiki.facepunch.com/gmod/DNumberScratch) as a fraction, a value between 0 and 1 where 0 is the minimum and 1 is the maximum value of the [DNumberScratch](https://wiki.facepunch.com/gmod/DNumberScratch)
226
186
  * @realm client and menu
227
187
  * @source https://wiki.facepunch.com/gmod/DNumberScratch:SetFraction
228
188
  */
229
189
  SetFraction(self: DNumberScratch, frac: number): void;
230
- }
231
190
 
232
- interface DNumberScratch {
233
191
  /**
234
192
  * Sets the max value that can be selected on the number scratch
235
193
  * @realm client and menu
236
194
  * @source https://wiki.facepunch.com/gmod/DNumberScratch:SetMax
237
195
  */
238
196
  SetMax(self: DNumberScratch, max: number): void;
239
- }
240
197
 
241
- interface DNumberScratch {
242
198
  /**
243
199
  * Sets the minimum value that can be selected on the number scratch.
244
200
  * @realm client and menu
245
201
  * @source https://wiki.facepunch.com/gmod/DNumberScratch:SetMin
246
202
  */
247
203
  SetMin(self: DNumberScratch, min: number): void;
248
- }
249
204
 
250
- interface DNumberScratch {
251
205
  /**
252
206
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
253
207
  *
@@ -258,18 +212,14 @@ interface DNumberScratch {
258
212
  * @source https://wiki.facepunch.com/gmod/DNumberScratch:SetShouldDrawScreen
259
213
  */
260
214
  SetShouldDrawScreen(self: DNumberScratch, shouldDraw: boolean): void;
261
- }
262
215
 
263
- interface DNumberScratch {
264
216
  /**
265
217
  * Sets the zoom level of the scratch panel.
266
218
  * @realm client and menu
267
219
  * @source https://wiki.facepunch.com/gmod/DNumberScratch:SetZoom
268
220
  */
269
221
  SetZoom(self: DNumberScratch, zoom: number): void;
270
- }
271
222
 
272
- interface DNumberScratch {
273
223
  /**
274
224
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
275
225
  *
@@ -281,4 +231,3 @@ interface DNumberScratch {
281
231
  */
282
232
  UpdateConVar(self: DNumberScratch): void;
283
233
  }
284
-