@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
@@ -6,8 +6,6 @@
6
6
  * This can only be accessed during [GM:SetupMove](https://wiki.facepunch.com/gmod/GM:SetupMove) , [GM:Move](https://wiki.facepunch.com/gmod/GM:Move) , [GM:PlayerTick](https://wiki.facepunch.com/gmod/GM:PlayerTick) and [GM:FinishMove](https://wiki.facepunch.com/gmod/GM:FinishMove).
7
7
  * @source https://wiki.facepunch.com/gmod/CMoveData
8
8
  */
9
- interface CMoveData {}
10
-
11
9
  interface CMoveData {
12
10
  /**
13
11
  * Adds keys to the move data, as if player pressed them.
@@ -15,72 +13,56 @@ interface CMoveData {
15
13
  * @source https://wiki.facepunch.com/gmod/CMoveData:AddKey
16
14
  */
17
15
  AddKey(self: CMoveData, keys: number): void;
18
- }
19
16
 
20
- interface CMoveData {
21
17
  /**
22
18
  * Gets the aim angle. Seems to be same as [CMoveData:GetAngles](https://wiki.facepunch.com/gmod/CMoveData:GetAngles).
23
19
  * @realm shared
24
20
  * @source https://wiki.facepunch.com/gmod/CMoveData:GetAbsMoveAngles
25
21
  */
26
22
  GetAbsMoveAngles(self: CMoveData): Angle;
27
- }
28
23
 
29
- interface CMoveData {
30
24
  /**
31
25
  * Gets the aim angle. On client is the same as [Entity:GetAngles](https://wiki.facepunch.com/gmod/Entity:GetAngles).
32
26
  * @realm shared
33
27
  * @source https://wiki.facepunch.com/gmod/CMoveData:GetAngles
34
28
  */
35
29
  GetAngles(self: CMoveData): Angle;
36
- }
37
30
 
38
- interface CMoveData {
39
31
  /**
40
32
  * Gets which buttons are down
41
33
  * @realm shared
42
34
  * @source https://wiki.facepunch.com/gmod/CMoveData:GetButtons
43
35
  */
44
36
  GetButtons(self: CMoveData): number;
45
- }
46
37
 
47
- interface CMoveData {
48
38
  /**
49
39
  * Returns the center of the player movement constraint. See [CMoveData:SetConstraintCenter](https://wiki.facepunch.com/gmod/CMoveData:SetConstraintCenter).
50
40
  * @realm shared
51
41
  * @source https://wiki.facepunch.com/gmod/CMoveData:GetConstraintCenter
52
42
  */
53
43
  GetConstraintCenter(self: CMoveData): Vector;
54
- }
55
44
 
56
- interface CMoveData {
57
45
  /**
58
46
  * Returns the radius that constrains the players movement. See [CMoveData:SetConstraintRadius](https://wiki.facepunch.com/gmod/CMoveData:SetConstraintRadius).
59
47
  * @realm shared
60
48
  * @source https://wiki.facepunch.com/gmod/CMoveData:GetConstraintRadius
61
49
  */
62
50
  GetConstraintRadius(self: CMoveData): number;
63
- }
64
51
 
65
- interface CMoveData {
66
52
  /**
67
53
  * Returns the player movement constraint speed scale. See [CMoveData:SetConstraintSpeedScale](https://wiki.facepunch.com/gmod/CMoveData:SetConstraintSpeedScale).
68
54
  * @realm shared
69
55
  * @source https://wiki.facepunch.com/gmod/CMoveData:GetConstraintSpeedScale
70
56
  */
71
57
  GetConstraintSpeedScale(self: CMoveData): number;
72
- }
73
58
 
74
- interface CMoveData {
75
59
  /**
76
60
  * Returns the width (distance from the edge of the radius, inward) where the actual movement constraint functions.
77
61
  * @realm shared
78
62
  * @source https://wiki.facepunch.com/gmod/CMoveData:GetConstraintWidth
79
63
  */
80
64
  GetConstraintWidth(self: CMoveData): number;
81
- }
82
65
 
83
- interface CMoveData {
84
66
  /**
85
67
  * Returns an internal player movement variable `m_outWishVel`.
86
68
  *
@@ -88,9 +70,7 @@ interface CMoveData {
88
70
  * @source https://wiki.facepunch.com/gmod/CMoveData:GetFinalIdealVelocity
89
71
  */
90
72
  GetFinalIdealVelocity(self: CMoveData): Vector;
91
- }
92
73
 
93
- interface CMoveData {
94
74
  /**
95
75
  * Returns an internal player movement variable `m_outJumpVel`.
96
76
  *
@@ -98,9 +78,7 @@ interface CMoveData {
98
78
  * @source https://wiki.facepunch.com/gmod/CMoveData:GetFinalJumpVelocity
99
79
  */
100
80
  GetFinalJumpVelocity(self: CMoveData): Vector;
101
- }
102
81
 
103
- interface CMoveData {
104
82
  /**
105
83
  * Returns an internal player movement variable `m_outStepHeight`.
106
84
  *
@@ -108,99 +86,77 @@ interface CMoveData {
108
86
  * @source https://wiki.facepunch.com/gmod/CMoveData:GetFinalStepHeight
109
87
  */
110
88
  GetFinalStepHeight(self: CMoveData): number;
111
- }
112
89
 
113
- interface CMoveData {
114
90
  /**
115
91
  * Returns the players forward speed.
116
92
  * @realm shared
117
93
  * @source https://wiki.facepunch.com/gmod/CMoveData:GetForwardSpeed
118
94
  */
119
95
  GetForwardSpeed(self: CMoveData): number;
120
- }
121
96
 
122
- interface CMoveData {
123
97
  /**
124
98
  * Gets the number passed to "impulse" console command
125
99
  * @realm shared
126
100
  * @source https://wiki.facepunch.com/gmod/CMoveData:GetImpulseCommand
127
101
  */
128
102
  GetImpulseCommand(self: CMoveData): number;
129
- }
130
103
 
131
- interface CMoveData {
132
104
  /**
133
105
  * Returns the maximum client speed of the player
134
106
  * @realm shared
135
107
  * @source https://wiki.facepunch.com/gmod/CMoveData:GetMaxClientSpeed
136
108
  */
137
109
  GetMaxClientSpeed(self: CMoveData): number;
138
- }
139
110
 
140
- interface CMoveData {
141
111
  /**
142
112
  * Returns the maximum speed of the player.
143
113
  * @realm shared
144
114
  * @source https://wiki.facepunch.com/gmod/CMoveData:GetMaxSpeed
145
115
  */
146
116
  GetMaxSpeed(self: CMoveData): number;
147
- }
148
117
 
149
- interface CMoveData {
150
118
  /**
151
119
  * Returns the angle the player is moving at. For more info, see [CMoveData:SetMoveAngles](https://wiki.facepunch.com/gmod/CMoveData:SetMoveAngles).
152
120
  * @realm shared
153
121
  * @source https://wiki.facepunch.com/gmod/CMoveData:GetMoveAngles
154
122
  */
155
123
  GetMoveAngles(self: CMoveData): Angle;
156
- }
157
124
 
158
- interface CMoveData {
159
125
  /**
160
126
  * Gets the aim angle. Only works clientside, server returns same as [CMoveData:GetAngles](https://wiki.facepunch.com/gmod/CMoveData:GetAngles).
161
127
  * @realm shared
162
128
  * @source https://wiki.facepunch.com/gmod/CMoveData:GetOldAngles
163
129
  */
164
130
  GetOldAngles(self: CMoveData): Angle;
165
- }
166
131
 
167
- interface CMoveData {
168
132
  /**
169
133
  * Get which buttons were down last frame
170
134
  * @realm shared
171
135
  * @source https://wiki.facepunch.com/gmod/CMoveData:GetOldButtons
172
136
  */
173
137
  GetOldButtons(self: CMoveData): number;
174
- }
175
138
 
176
- interface CMoveData {
177
139
  /**
178
140
  * Gets the player's position.
179
141
  * @realm shared
180
142
  * @source https://wiki.facepunch.com/gmod/CMoveData:GetOrigin
181
143
  */
182
144
  GetOrigin(self: CMoveData): Vector;
183
- }
184
145
 
185
- interface CMoveData {
186
146
  /**
187
147
  * Returns the strafe speed of the player.
188
148
  * @realm shared
189
149
  * @source https://wiki.facepunch.com/gmod/CMoveData:GetSideSpeed
190
150
  */
191
151
  GetSideSpeed(self: CMoveData): number;
192
- }
193
152
 
194
- interface CMoveData {
195
153
  /**
196
154
  * Returns the vertical speed of the player. ( Z axis of [CMoveData:GetVelocity](https://wiki.facepunch.com/gmod/CMoveData:GetVelocity) )
197
155
  * @realm shared
198
156
  * @source https://wiki.facepunch.com/gmod/CMoveData:GetUpSpeed
199
157
  */
200
158
  GetUpSpeed(self: CMoveData): number;
201
- }
202
159
 
203
- interface CMoveData {
204
160
  /**
205
161
  * Gets the players velocity.
206
162
  *
@@ -210,36 +166,28 @@ interface CMoveData {
210
166
  * @source https://wiki.facepunch.com/gmod/CMoveData:GetVelocity
211
167
  */
212
168
  GetVelocity(self: CMoveData): Vector;
213
- }
214
169
 
215
- interface CMoveData {
216
170
  /**
217
171
  * Returns whether the key is down or not
218
172
  * @realm shared
219
173
  * @source https://wiki.facepunch.com/gmod/CMoveData:KeyDown
220
174
  */
221
175
  KeyDown(self: CMoveData, key: number): boolean;
222
- }
223
176
 
224
- interface CMoveData {
225
177
  /**
226
178
  * Returns whether the key was pressed. If you want to check if the key is held down, try [CMoveData:KeyDown](https://wiki.facepunch.com/gmod/CMoveData:KeyDown)
227
179
  * @realm shared
228
180
  * @source https://wiki.facepunch.com/gmod/CMoveData:KeyPressed
229
181
  */
230
182
  KeyPressed(self: CMoveData, key: number): boolean;
231
- }
232
183
 
233
- interface CMoveData {
234
184
  /**
235
185
  * Returns whether the key was released
236
186
  * @realm shared
237
187
  * @source https://wiki.facepunch.com/gmod/CMoveData:KeyReleased
238
188
  */
239
189
  KeyReleased(self: CMoveData, key: number): boolean;
240
- }
241
190
 
242
- interface CMoveData {
243
191
  /**
244
192
  * Returns whether the key was down or not.
245
193
  *
@@ -252,18 +200,14 @@ interface CMoveData {
252
200
  * @source https://wiki.facepunch.com/gmod/CMoveData:KeyWasDown
253
201
  */
254
202
  KeyWasDown(self: CMoveData, key: number): boolean;
255
- }
256
203
 
257
- interface CMoveData {
258
204
  /**
259
205
  * Sets absolute move angles.( ? ) Doesn't seem to do anything.
260
206
  * @realm shared
261
207
  * @source https://wiki.facepunch.com/gmod/CMoveData:SetAbsMoveAngles
262
208
  */
263
209
  SetAbsMoveAngles(self: CMoveData, ang: Angle): void;
264
- }
265
210
 
266
- interface CMoveData {
267
211
  /**
268
212
  * Sets angles.
269
213
  *
@@ -273,27 +217,21 @@ interface CMoveData {
273
217
  * @source https://wiki.facepunch.com/gmod/CMoveData:SetAngles
274
218
  */
275
219
  SetAngles(self: CMoveData, ang: Angle): void;
276
- }
277
220
 
278
- interface CMoveData {
279
221
  /**
280
222
  * Sets the pressed buttons on the move data
281
223
  * @realm shared
282
224
  * @source https://wiki.facepunch.com/gmod/CMoveData:SetButtons
283
225
  */
284
226
  SetButtons(self: CMoveData, buttons: number): void;
285
- }
286
227
 
287
- interface CMoveData {
288
228
  /**
289
229
  * Sets the center of the player movement constraint. See [CMoveData:SetConstraintRadius](https://wiki.facepunch.com/gmod/CMoveData:SetConstraintRadius).
290
230
  * @realm shared
291
231
  * @source https://wiki.facepunch.com/gmod/CMoveData:SetConstraintCenter
292
232
  */
293
233
  SetConstraintCenter(self: CMoveData, pos: Vector): void;
294
- }
295
234
 
296
- interface CMoveData {
297
235
  /**
298
236
  * Sets the radius that constrains the players movement.
299
237
  *
@@ -306,27 +244,21 @@ interface CMoveData {
306
244
  * @source https://wiki.facepunch.com/gmod/CMoveData:SetConstraintRadius
307
245
  */
308
246
  SetConstraintRadius(self: CMoveData, radius: number): void;
309
- }
310
247
 
311
- interface CMoveData {
312
248
  /**
313
249
  * Sets the player movement constraint speed scale. This will be applied to the player within the [constraint radius](https://wiki.facepunch.com/gmod/CMoveData:SetConstraintRadius) when approaching its edge.
314
250
  * @realm shared
315
251
  * @source https://wiki.facepunch.com/gmod/CMoveData:SetConstraintSpeedScale
316
252
  */
317
253
  SetConstraintSpeedScale(self: CMoveData, arg0: number): void;
318
- }
319
254
 
320
- interface CMoveData {
321
255
  /**
322
256
  * Sets the width (distance from the edge of the [radius](https://wiki.facepunch.com/gmod/CMoveData:SetConstraintRadius), inward) where the actual movement constraint functions.
323
257
  * @realm shared
324
258
  * @source https://wiki.facepunch.com/gmod/CMoveData:SetConstraintWidth
325
259
  */
326
260
  SetConstraintWidth(self: CMoveData, arg0: number): void;
327
- }
328
261
 
329
- interface CMoveData {
330
262
  /**
331
263
  * Sets an internal player movement variable `m_outWishVel`.
332
264
  *
@@ -334,9 +266,7 @@ interface CMoveData {
334
266
  * @source https://wiki.facepunch.com/gmod/CMoveData:SetFinalIdealVelocity
335
267
  */
336
268
  SetFinalIdealVelocity(self: CMoveData, idealVel: Vector): void;
337
- }
338
269
 
339
- interface CMoveData {
340
270
  /**
341
271
  * Sets an internal player movement variable `m_outJumpVel`.
342
272
  *
@@ -344,9 +274,7 @@ interface CMoveData {
344
274
  * @source https://wiki.facepunch.com/gmod/CMoveData:SetFinalJumpVelocity
345
275
  */
346
276
  SetFinalJumpVelocity(self: CMoveData, jumpVel: Vector): void;
347
- }
348
277
 
349
- interface CMoveData {
350
278
  /**
351
279
  * Sets an internal player movement variable `m_outStepHeight`.
352
280
  *
@@ -354,27 +282,21 @@ interface CMoveData {
354
282
  * @source https://wiki.facepunch.com/gmod/CMoveData:SetFinalStepHeight
355
283
  */
356
284
  SetFinalStepHeight(self: CMoveData, stepHeight: number): void;
357
- }
358
285
 
359
- interface CMoveData {
360
286
  /**
361
287
  * Sets players forward speed.
362
288
  * @realm shared
363
289
  * @source https://wiki.facepunch.com/gmod/CMoveData:SetForwardSpeed
364
290
  */
365
291
  SetForwardSpeed(self: CMoveData, speed: number): void;
366
- }
367
292
 
368
- interface CMoveData {
369
293
  /**
370
294
  * Sets the impulse command. This isn't actually utilised in the engine anywhere.
371
295
  * @realm shared
372
296
  * @source https://wiki.facepunch.com/gmod/CMoveData:SetImpulseCommand
373
297
  */
374
298
  SetImpulseCommand(self: CMoveData, impulse: number): void;
375
- }
376
299
 
377
- interface CMoveData {
378
300
  /**
379
301
  * Sets the maximum player speed. Player won't be able to run or sprint faster then this value.
380
302
  *
@@ -393,9 +315,7 @@ interface CMoveData {
393
315
  * @source https://wiki.facepunch.com/gmod/CMoveData:SetMaxClientSpeed
394
316
  */
395
317
  SetMaxClientSpeed(self: CMoveData, maxSpeed: number): void;
396
- }
397
318
 
398
- interface CMoveData {
399
319
  /**
400
320
  * Sets the maximum speed of the player. This must match with [CMoveData:SetMaxClientSpeed](https://wiki.facepunch.com/gmod/CMoveData:SetMaxClientSpeed) both, on server and client.
401
321
  *
@@ -406,9 +326,7 @@ interface CMoveData {
406
326
  * @source https://wiki.facepunch.com/gmod/CMoveData:SetMaxSpeed
407
327
  */
408
328
  SetMaxSpeed(self: CMoveData, maxSpeed: number): void;
409
- }
410
329
 
411
- interface CMoveData {
412
330
  /**
413
331
  * Sets the serverside move angles, making the movement keys act as if player was facing that direction.
414
332
  *
@@ -418,54 +336,42 @@ interface CMoveData {
418
336
  * @source https://wiki.facepunch.com/gmod/CMoveData:SetMoveAngles
419
337
  */
420
338
  SetMoveAngles(self: CMoveData, dir: Angle): void;
421
- }
422
339
 
423
- interface CMoveData {
424
340
  /**
425
341
  * Sets old aim angles. ( ? ) Doesn't seem to be doing anything.
426
342
  * @realm shared
427
343
  * @source https://wiki.facepunch.com/gmod/CMoveData:SetOldAngles
428
344
  */
429
345
  SetOldAngles(self: CMoveData, aimAng: Angle): void;
430
- }
431
346
 
432
- interface CMoveData {
433
347
  /**
434
348
  * Sets the 'old' pressed buttons on the move data. These buttons are used to work out which buttons have been released, which have just been pressed and which are being held down.
435
349
  * @realm shared
436
350
  * @source https://wiki.facepunch.com/gmod/CMoveData:SetOldButtons
437
351
  */
438
352
  SetOldButtons(self: CMoveData, buttons: number): void;
439
- }
440
353
 
441
- interface CMoveData {
442
354
  /**
443
355
  * Sets the players position.
444
356
  * @realm shared
445
357
  * @source https://wiki.facepunch.com/gmod/CMoveData:SetOrigin
446
358
  */
447
359
  SetOrigin(self: CMoveData, pos: Vector): void;
448
- }
449
360
 
450
- interface CMoveData {
451
361
  /**
452
362
  * Sets players strafe speed.
453
363
  * @realm shared
454
364
  * @source https://wiki.facepunch.com/gmod/CMoveData:SetSideSpeed
455
365
  */
456
366
  SetSideSpeed(self: CMoveData, speed: number): void;
457
- }
458
367
 
459
- interface CMoveData {
460
368
  /**
461
369
  * Sets vertical speed of the player. ( Z axis of [CMoveData:SetVelocity](https://wiki.facepunch.com/gmod/CMoveData:SetVelocity) )
462
370
  * @realm shared
463
371
  * @source https://wiki.facepunch.com/gmod/CMoveData:SetUpSpeed
464
372
  */
465
373
  SetUpSpeed(self: CMoveData, speed: number): void;
466
- }
467
374
 
468
- interface CMoveData {
469
375
  /**
470
376
  * Sets the player's velocity
471
377
  * @realm shared
@@ -473,4 +379,3 @@ interface CMoveData {
473
379
  */
474
380
  SetVelocity(self: CMoveData, velocity: Vector): void;
475
381
  }
476
-