@tlua/gmod 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types/achievements.d.tlua +15 -45
- package/types/ai.d.tlua +5 -15
- package/types/angle.d.tlua +18 -54
- package/types/baseclass.d.tlua +2 -4
- package/types/bf_read.d.tlua +11 -32
- package/types/bit.d.tlua +11 -33
- package/types/cam.d.tlua +16 -48
- package/types/ceffectdata.d.tlua +32 -95
- package/types/chat.d.tlua +5 -15
- package/types/cleanup.d.tlua +7 -21
- package/types/cluaemitter.d.tlua +12 -35
- package/types/clualocomotion.d.tlua +40 -119
- package/types/cluaparticle.d.tlua +44 -131
- package/types/cmovedata.d.tlua +47 -140
- package/types/cnavarea.d.tlua +77 -230
- package/types/cnavladder.d.tlua +22 -65
- package/types/cnewparticleeffect.d.tlua +26 -77
- package/types/color.d.tlua +28 -84
- package/types/concommand.d.tlua +4 -12
- package/types/constraint.d.tlua +28 -84
- package/types/construct.d.tlua +1 -3
- package/types/contentheader.d.tlua +3 -6
- package/types/contenticon.d.tlua +9 -24
- package/types/contentsidebar.d.tlua +4 -9
- package/types/contextbase.d.tlua +4 -9
- package/types/controlpanel.d.tlua +18 -40
- package/types/controlpresets.d.tlua +13 -36
- package/types/convar.d.tlua +16 -47
- package/types/cookie.d.tlua +3 -9
- package/types/coroutine.d.tlua +7 -21
- package/types/crecipientfilter.d.tlua +16 -47
- package/types/csoundpatch.d.tlua +14 -41
- package/types/ctakedamageinfo.d.tlua +33 -98
- package/types/ctrlnumpad.d.tlua +6 -17
- package/types/cusercmd.d.tlua +27 -80
- package/types/cvars.d.tlua +6 -18
- package/types/dadjustablemodelpanel.d.tlua +7 -18
- package/types/dalphabar.d.tlua +3 -6
- package/types/dbinder.d.tlua +4 -9
- package/types/dbubblecontainer.d.tlua +2 -3
- package/types/dbutton.d.tlua +8 -21
- package/types/dcheckbox.d.tlua +5 -12
- package/types/dcheckboxlabel.d.tlua +9 -27
- package/types/dcollapsiblecategory.d.tlua +23 -66
- package/types/dcolorbutton.d.tlua +7 -18
- package/types/dcolorcombo.d.tlua +5 -12
- package/types/dcolorcube.d.tlua +13 -36
- package/types/dcolormixer.d.tlua +27 -78
- package/types/dcolorpalette.d.tlua +23 -66
- package/types/dcolumnsheet.d.tlua +5 -12
- package/types/dcombobox.d.tlua +17 -48
- package/types/ddragbase.d.tlua +13 -36
- package/types/ddrawer.d.tlua +8 -21
- package/types/debug.d.tlua +44 -76
- package/types/debugoverlay.d.tlua +11 -33
- package/types/dentityproperties.d.tlua +5 -12
- package/types/derma.d.tlua +10 -30
- package/types/dexpandbutton.d.tlua +3 -6
- package/types/dfilebrowser.d.tlua +20 -60
- package/types/dform.d.tlua +18 -51
- package/types/dframe.d.tlua +24 -72
- package/types/dgrid.d.tlua +11 -30
- package/types/dhorizontaldivider.d.tlua +20 -57
- package/types/dhorizontalscroller.d.tlua +11 -30
- package/types/dhscrollbar.d.tlua +11 -30
- package/types/dhtml.d.tlua +8 -21
- package/types/dhtmlcontrols.d.tlua +5 -15
- package/types/diconbrowser.d.tlua +11 -30
- package/types/diconlayout.d.tlua +18 -51
- package/types/dimage.d.tlua +20 -55
- package/types/dimagebutton.d.tlua +9 -27
- package/types/dlabel.d.tlua +33 -96
- package/types/dlabeleditable.d.tlua +5 -12
- package/types/dlabelurl.d.tlua +10 -27
- package/types/dlistbox.d.tlua +8 -21
- package/types/dlistboxitem.d.tlua +4 -9
- package/types/dlistview.d.tlua +34 -99
- package/types/dlistview_column.d.tlua +14 -39
- package/types/dlistview_line.d.tlua +13 -36
- package/types/dmenu.d.tlua +28 -75
- package/types/dmenubar.d.tlua +6 -11
- package/types/dmenuoption.d.tlua +13 -36
- package/types/dmenuoptioncvar.d.tlua +6 -15
- package/types/dmodelpanel.d.tlua +22 -63
- package/types/dmodelselect.d.tlua +2 -3
- package/types/dmodelselectmulti.d.tlua +2 -3
- package/types/dnotify.d.tlua +10 -27
- package/types/dnumberscratch.d.tlua +26 -75
- package/types/dnumberwang.d.tlua +16 -45
- package/types/dnumslider.d.tlua +17 -51
- package/types/dpanel.d.tlua +14 -39
- package/types/dpanellist.d.tlua +11 -33
- package/types/dpaneloverlay.d.tlua +7 -18
- package/types/dpanpanel.d.tlua +6 -15
- package/types/dprogress.d.tlua +3 -6
- package/types/dproperties.d.tlua +4 -9
- package/types/dproperty_combo.d.tlua +3 -6
- package/types/dproperty_generic.d.tlua +5 -12
- package/types/dpropertysheet.d.tlua +26 -56
- package/types/dragndrop.d.tlua +10 -30
- package/types/draw.d.tlua +11 -31
- package/types/drgbpicker.d.tlua +4 -9
- package/types/drive.d.tlua +18 -41
- package/types/dscrollpanel.d.tlua +10 -30
- package/types/dshape.d.tlua +7 -18
- package/types/dsizetocontents.d.tlua +5 -12
- package/types/dslider.d.tlua +28 -81
- package/types/dsprite.d.tlua +9 -24
- package/types/dtab.d.tlua +8 -21
- package/types/dtextentry.d.tlua +43 -126
- package/types/dtilelayout.d.tlua +21 -60
- package/types/dtooltip.d.tlua +6 -15
- package/types/dtree.d.tlua +16 -45
- package/types/dtree_node.d.tlua +68 -201
- package/types/duplicator.d.tlua +30 -88
- package/types/dverticaldivider.d.tlua +23 -66
- package/types/dvscrollbar.d.tlua +11 -30
- package/types/effect.d.tlua +4 -9
- package/types/effects.d.tlua +6 -18
- package/types/engine.d.tlua +21 -63
- package/types/entity.d.tlua +676 -1962
- package/types/ents.d.tlua +23 -61
- package/types/file.d.tlua +39 -117
- package/types/frame_blend.d.tlua +7 -21
- package/types/game.d.tlua +39 -117
- package/types/gameevent.d.tlua +4 -8
- package/types/gamemode.d.tlua +3 -7
- package/types/gm.d.tlua +267 -800
- package/types/gmsave.d.tlua +4 -12
- package/types/gui.d.tlua +21 -63
- package/types/gwen.d.tlua +3 -9
- package/types/halo.d.tlua +2 -6
- package/types/hook.d.tlua +4 -12
- package/types/http.d.tlua +1 -3
- package/types/iconeditor.d.tlua +11 -30
- package/types/igmodaudiochannel.d.tlua +41 -122
- package/types/imagecheckbox.d.tlua +4 -9
- package/types/imaterial.d.tlua +26 -77
- package/types/imesh.d.tlua +5 -14
- package/types/input.d.tlua +24 -68
- package/types/irestore.d.tlua +9 -26
- package/types/isave.d.tlua +9 -26
- package/types/itexture.d.tlua +10 -29
- package/types/ivideowriter.d.tlua +5 -14
- package/types/jit.d.tlua +21 -53
- package/types/killicon.d.tlua +7 -21
- package/types/language.d.tlua +1 -3
- package/types/list.d.tlua +8 -24
- package/types/markup.d.tlua +2 -6
- package/types/markupobject.d.tlua +5 -14
- package/types/math.d.tlua +277 -447
- package/types/matproxy.d.tlua +3 -9
- package/types/matselect.d.tlua +11 -30
- package/types/menubar.d.tlua +2 -6
- package/types/mesh.d.tlua +19 -57
- package/types/motionsensor.d.tlua +10 -30
- package/types/navmesh.d.tlua +26 -78
- package/types/net.d.tlua +52 -154
- package/types/nextbot.d.tlua +46 -116
- package/types/notification.d.tlua +2 -6
- package/types/npc.d.tlua +182 -543
- package/types/numpad.d.tlua +7 -21
- package/types/os.d.tlua +4 -10
- package/types/panel.d.tlua +333 -991
- package/types/pathfollower.d.tlua +31 -92
- package/types/permissions.d.tlua +6 -18
- package/types/physcollide.d.tlua +3 -8
- package/types/physenv.d.tlua +11 -33
- package/types/physobj.d.tlua +78 -233
- package/types/player.d.tlua +302 -880
- package/types/player_manager.d.tlua +13 -39
- package/types/presets.d.tlua +6 -18
- package/types/projectedtexture.d.tlua +48 -143
- package/types/properties.d.tlua +5 -15
- package/types/propselect.d.tlua +5 -12
- package/types/render.d.tlua +142 -426
- package/types/resource.d.tlua +2 -6
- package/types/sandbox.d.tlua +54 -159
- package/types/saverestore.d.tlua +12 -36
- package/types/schedule.d.tlua +6 -17
- package/types/scripted_ents.d.tlua +11 -29
- package/types/search.d.tlua +1 -3
- package/types/serverlist.d.tlua +7 -21
- package/types/sound.d.tlua +10 -30
- package/types/spawnicon.d.tlua +8 -21
- package/types/spawnmenu.d.tlua +24 -70
- package/types/spawnmenucontentpanel.d.tlua +5 -12
- package/types/sql.d.tlua +9 -27
- package/types/stack.d.tlua +5 -14
- package/types/steamworks.d.tlua +18 -54
- package/types/string.d.tlua +49 -141
- package/types/surface.d.tlua +34 -102
- package/types/surfaceinfo.d.tlua +5 -14
- package/types/system.d.tlua +10 -30
- package/types/table.d.tlua +47 -137
- package/types/task.d.tlua +9 -26
- package/types/team.d.tlua +19 -57
- package/types/timer.d.tlua +14 -42
- package/types/tool.d.tlua +46 -131
- package/types/ugcpublishwindow.d.tlua +9 -24
- package/types/umsg.d.tlua +12 -36
- package/types/undo.d.tlua +10 -30
- package/types/usermessage.d.tlua +2 -6
- package/types/utf8.d.tlua +7 -21
- package/types/util.d.tlua +94 -274
- package/types/vector.d.tlua +36 -108
- package/types/vehicle.d.tlua +52 -149
- package/types/vgui.d.tlua +18 -46
- package/types/vmatrix.d.tlua +35 -105
- package/types/weapon.d.tlua +85 -248
- package/types/weapons.d.tlua +6 -16
- package/types/widgets.d.tlua +1 -3
- package/types/workshopfilebase.d.tlua +5 -14
|
@@ -4,8 +4,6 @@
|
|
|
4
4
|
* List of all possible functions available for Lua particles. This is the object returned by the [CLuaEmitter:Add](https://wiki.facepunch.com/gmod/CLuaEmitter:Add) function.
|
|
5
5
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle
|
|
6
6
|
*/
|
|
7
|
-
interface CLuaParticle {}
|
|
8
|
-
|
|
9
7
|
interface CLuaParticle {
|
|
10
8
|
/**
|
|
11
9
|
* Returns the air resistance of the particle.
|
|
@@ -13,90 +11,60 @@ interface CLuaParticle {
|
|
|
13
11
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:GetAirResistance
|
|
14
12
|
*/
|
|
15
13
|
GetAirResistance(self: CLuaParticle): number;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
interface CLuaParticle {
|
|
19
14
|
/**
|
|
20
15
|
* Returns the angular velocity of the particle
|
|
21
16
|
* @realm client
|
|
22
17
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:GetAngleVelocity
|
|
23
18
|
*/
|
|
24
19
|
GetAngleVelocity(self: CLuaParticle): Angle;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
interface CLuaParticle {
|
|
28
20
|
/**
|
|
29
21
|
* Returns the current orientation of the particle.
|
|
30
22
|
* @realm client
|
|
31
23
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:GetAngles
|
|
32
24
|
*/
|
|
33
25
|
GetAngles(self: CLuaParticle): Angle;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
interface CLuaParticle {
|
|
37
26
|
/**
|
|
38
27
|
* Returns the 'bounciness' of the particle.
|
|
39
28
|
* @realm client
|
|
40
29
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:GetBounce
|
|
41
30
|
*/
|
|
42
31
|
GetBounce(self: CLuaParticle): number;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
interface CLuaParticle {
|
|
46
32
|
/**
|
|
47
33
|
* Returns the color of the particle.
|
|
48
34
|
* @realm client
|
|
49
35
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:GetColor
|
|
50
36
|
*/
|
|
51
37
|
GetColor(self: CLuaParticle): (number, number, number);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
interface CLuaParticle {
|
|
55
38
|
/**
|
|
56
39
|
* Returns the amount of time in seconds after which the particle will be destroyed.
|
|
57
40
|
* @realm client
|
|
58
41
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:GetDieTime
|
|
59
42
|
*/
|
|
60
43
|
GetDieTime(self: CLuaParticle): number;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
interface CLuaParticle {
|
|
64
44
|
/**
|
|
65
45
|
* Returns the alpha value that the particle will reach on its death.
|
|
66
46
|
* @realm client
|
|
67
47
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:GetEndAlpha
|
|
68
48
|
*/
|
|
69
49
|
GetEndAlpha(self: CLuaParticle): number;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
interface CLuaParticle {
|
|
73
50
|
/**
|
|
74
51
|
* Returns the length that the particle will reach on its death.
|
|
75
52
|
* @realm client
|
|
76
53
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:GetEndLength
|
|
77
54
|
*/
|
|
78
55
|
GetEndLength(self: CLuaParticle): number;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
interface CLuaParticle {
|
|
82
56
|
/**
|
|
83
57
|
* Returns the size that the particle will reach on its death.
|
|
84
58
|
* @realm client
|
|
85
59
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:GetEndSize
|
|
86
60
|
*/
|
|
87
61
|
GetEndSize(self: CLuaParticle): number;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
interface CLuaParticle {
|
|
91
62
|
/**
|
|
92
63
|
* Returns the gravity of the particle.
|
|
93
64
|
* @realm client
|
|
94
65
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:GetGravity
|
|
95
66
|
*/
|
|
96
67
|
GetGravity(self: CLuaParticle): Vector;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
interface CLuaParticle {
|
|
100
68
|
/**
|
|
101
69
|
* Returns the 'life time' of the particle, how long the particle existed since its creation.
|
|
102
70
|
*
|
|
@@ -114,189 +82,126 @@ interface CLuaParticle {
|
|
|
114
82
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:GetLifeTime
|
|
115
83
|
*/
|
|
116
84
|
GetLifeTime(self: CLuaParticle): number;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
interface CLuaParticle {
|
|
120
85
|
/**
|
|
121
86
|
* Returns the current material of the particle.
|
|
122
87
|
* @realm client
|
|
123
88
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:GetMaterial
|
|
124
89
|
*/
|
|
125
90
|
GetMaterial(self: CLuaParticle): IMaterial;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
interface CLuaParticle {
|
|
129
91
|
/**
|
|
130
92
|
* Returns the absolute position of the particle.
|
|
131
93
|
* @realm client
|
|
132
94
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:GetPos
|
|
133
95
|
*/
|
|
134
96
|
GetPos(self: CLuaParticle): Vector;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
interface CLuaParticle {
|
|
138
97
|
/**
|
|
139
98
|
* Returns the current rotation of the particle in radians, this should only be used for 2D particles.
|
|
140
99
|
* @realm client
|
|
141
100
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:GetRoll
|
|
142
101
|
*/
|
|
143
102
|
GetRoll(self: CLuaParticle): number;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
interface CLuaParticle {
|
|
147
103
|
/**
|
|
148
104
|
* Returns the current rotation speed of the particle in radians, this should only be used for 2D particles.
|
|
149
105
|
* @realm client
|
|
150
106
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:GetRollDelta
|
|
151
107
|
*/
|
|
152
108
|
GetRollDelta(self: CLuaParticle): number;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
interface CLuaParticle {
|
|
156
109
|
/**
|
|
157
110
|
* Returns the alpha value which the particle has when it's created.
|
|
158
111
|
* @realm client
|
|
159
112
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:GetStartAlpha
|
|
160
113
|
*/
|
|
161
114
|
GetStartAlpha(self: CLuaParticle): number;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
interface CLuaParticle {
|
|
165
115
|
/**
|
|
166
116
|
* Returns the length which the particle has when it's created.
|
|
167
117
|
* @realm client
|
|
168
118
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:GetStartLength
|
|
169
119
|
*/
|
|
170
120
|
GetStartLength(self: CLuaParticle): number;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
interface CLuaParticle {
|
|
174
121
|
/**
|
|
175
122
|
* Returns the size which the particle has when it's created.
|
|
176
123
|
* @realm client
|
|
177
124
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:GetStartSize
|
|
178
125
|
*/
|
|
179
126
|
GetStartSize(self: CLuaParticle): number;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
interface CLuaParticle {
|
|
183
127
|
/**
|
|
184
128
|
* Returns the current velocity of the particle.
|
|
185
129
|
* @realm client
|
|
186
130
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:GetVelocity
|
|
187
131
|
*/
|
|
188
132
|
GetVelocity(self: CLuaParticle): Vector;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
interface CLuaParticle {
|
|
192
133
|
/**
|
|
193
134
|
* Sets the air resistance of the the particle.
|
|
194
135
|
* @realm client
|
|
195
136
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetAirResistance
|
|
196
137
|
*/
|
|
197
138
|
SetAirResistance(self: CLuaParticle, airResistance: number): void;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
interface CLuaParticle {
|
|
201
139
|
/**
|
|
202
140
|
* Sets the angular velocity of the the particle.
|
|
203
141
|
* @realm client
|
|
204
142
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetAngleVelocity
|
|
205
143
|
*/
|
|
206
144
|
SetAngleVelocity(self: CLuaParticle, angVel: Angle): void;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
interface CLuaParticle {
|
|
210
145
|
/**
|
|
211
146
|
* Sets the angles of the particle.
|
|
212
147
|
* @realm client
|
|
213
148
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetAngles
|
|
214
149
|
*/
|
|
215
150
|
SetAngles(self: CLuaParticle, ang: Angle): void;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
interface CLuaParticle {
|
|
219
151
|
/**
|
|
220
152
|
* Sets the 'bounciness' of the the particle.
|
|
221
153
|
* @realm client
|
|
222
154
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetBounce
|
|
223
155
|
*/
|
|
224
156
|
SetBounce(self: CLuaParticle, bounce: number): void;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
interface CLuaParticle {
|
|
228
157
|
/**
|
|
229
158
|
* Sets the whether the particle should collide with the world or not.
|
|
230
159
|
* @realm client
|
|
231
160
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetCollide
|
|
232
161
|
*/
|
|
233
162
|
SetCollide(self: CLuaParticle, shouldCollide: boolean): void;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
interface CLuaParticle {
|
|
237
163
|
/**
|
|
238
164
|
* Sets the function that gets called whenever the particle collides with the world.
|
|
239
165
|
* @realm client
|
|
240
166
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetCollideCallback
|
|
241
167
|
*/
|
|
242
168
|
SetCollideCallback(self: CLuaParticle, collideFunc: (particle: CLuaParticle, hitPos: Vector, hitNormal: Vector) => void): void;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
interface CLuaParticle {
|
|
246
169
|
/**
|
|
247
170
|
* Sets the color of the particle.
|
|
248
171
|
* @realm client
|
|
249
172
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetColor
|
|
250
173
|
*/
|
|
251
174
|
SetColor(self: CLuaParticle, r: number, g: number, b: number): void;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
interface CLuaParticle {
|
|
255
175
|
/**
|
|
256
176
|
* Sets the time where the particle will be removed.
|
|
257
177
|
* @realm client
|
|
258
178
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetDieTime
|
|
259
179
|
*/
|
|
260
180
|
SetDieTime(self: CLuaParticle, dieTime: number): void;
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
interface CLuaParticle {
|
|
264
181
|
/**
|
|
265
182
|
* Sets the alpha value of the particle that it will reach when it dies.
|
|
266
183
|
* @realm client
|
|
267
184
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetEndAlpha
|
|
268
185
|
*/
|
|
269
186
|
SetEndAlpha(self: CLuaParticle, endAlpha: number): void;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
interface CLuaParticle {
|
|
273
187
|
/**
|
|
274
188
|
* Sets the length of the particle that it will reach when it dies.
|
|
275
189
|
* @realm client
|
|
276
190
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetEndLength
|
|
277
191
|
*/
|
|
278
192
|
SetEndLength(self: CLuaParticle, endLength: number): void;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
interface CLuaParticle {
|
|
282
193
|
/**
|
|
283
194
|
* Sets the size of the particle that it will reach when it dies.
|
|
284
195
|
* @realm client
|
|
285
196
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetEndSize
|
|
286
197
|
*/
|
|
287
198
|
SetEndSize(self: CLuaParticle, endSize: number): void;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
interface CLuaParticle {
|
|
291
199
|
/**
|
|
292
200
|
* Sets the directional gravity aka. acceleration of the particle.
|
|
293
201
|
* @realm client
|
|
294
202
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetGravity
|
|
295
203
|
*/
|
|
296
204
|
SetGravity(self: CLuaParticle, gravity: Vector): void;
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
interface CLuaParticle {
|
|
300
205
|
/**
|
|
301
206
|
* Sets the 'life time' of the particle, how long the particle existed since its creation.
|
|
302
207
|
*
|
|
@@ -312,108 +217,72 @@ interface CLuaParticle {
|
|
|
312
217
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetLifeTime
|
|
313
218
|
*/
|
|
314
219
|
SetLifeTime(self: CLuaParticle, lifeTime: number): void;
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
interface CLuaParticle {
|
|
318
220
|
/**
|
|
319
221
|
* Sets whether the particle should be affected by lighting.
|
|
320
222
|
* @realm client
|
|
321
223
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetLighting
|
|
322
224
|
*/
|
|
323
225
|
SetLighting(self: CLuaParticle, useLighting: boolean): void;
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
interface CLuaParticle {
|
|
327
226
|
/**
|
|
328
227
|
* Sets the material of the particle.
|
|
329
228
|
* @realm client
|
|
330
229
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetMaterial
|
|
331
230
|
*/
|
|
332
231
|
SetMaterial(self: CLuaParticle, mat: IMaterial): void;
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
interface CLuaParticle {
|
|
336
232
|
/**
|
|
337
233
|
* Sets when the particles think function should be called next, this uses the synchronized server time returned by [Global.CurTime](https://wiki.facepunch.com/gmod/Global.CurTime).
|
|
338
234
|
* @realm client
|
|
339
235
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetNextThink
|
|
340
236
|
*/
|
|
341
237
|
SetNextThink(self: CLuaParticle, nextThink: number): void;
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
interface CLuaParticle {
|
|
345
238
|
/**
|
|
346
239
|
* Sets the absolute position of the particle.
|
|
347
240
|
* @realm client
|
|
348
241
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetPos
|
|
349
242
|
*/
|
|
350
243
|
SetPos(self: CLuaParticle, pos: Vector): void;
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
interface CLuaParticle {
|
|
354
244
|
/**
|
|
355
245
|
* Sets the roll of the particle in radians. This should only be used for 2D particles.
|
|
356
246
|
* @realm client
|
|
357
247
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetRoll
|
|
358
248
|
*/
|
|
359
249
|
SetRoll(self: CLuaParticle, roll: number): void;
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
interface CLuaParticle {
|
|
363
250
|
/**
|
|
364
251
|
* Sets the rotation speed of the particle in radians. This should only be used for 2D particles.
|
|
365
252
|
* @realm client
|
|
366
253
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetRollDelta
|
|
367
254
|
*/
|
|
368
255
|
SetRollDelta(self: CLuaParticle, rollDelta: number): void;
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
interface CLuaParticle {
|
|
372
256
|
/**
|
|
373
257
|
* Sets the initial alpha value of the particle.
|
|
374
258
|
* @realm client
|
|
375
259
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetStartAlpha
|
|
376
260
|
*/
|
|
377
261
|
SetStartAlpha(self: CLuaParticle, startAlpha: number): void;
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
interface CLuaParticle {
|
|
381
262
|
/**
|
|
382
263
|
* Sets the initial length value of the particle.
|
|
383
264
|
* @realm client
|
|
384
265
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetStartLength
|
|
385
266
|
*/
|
|
386
267
|
SetStartLength(self: CLuaParticle, startLength: number): void;
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
interface CLuaParticle {
|
|
390
268
|
/**
|
|
391
269
|
* Sets the initial size value of the particle.
|
|
392
270
|
* @realm client
|
|
393
271
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetStartSize
|
|
394
272
|
*/
|
|
395
273
|
SetStartSize(self: CLuaParticle, startSize: number): void;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
interface CLuaParticle {
|
|
399
274
|
/**
|
|
400
275
|
* Sets the think function of the particle.
|
|
401
276
|
* @realm client
|
|
402
277
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetThinkFunction
|
|
403
278
|
*/
|
|
404
279
|
SetThinkFunction(self: CLuaParticle, thinkFunc: (particle: CLuaParticle) => void): void;
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
interface CLuaParticle {
|
|
408
280
|
/**
|
|
409
281
|
* Sets the velocity of the particle.
|
|
410
282
|
* @realm client
|
|
411
283
|
* @source https://wiki.facepunch.com/gmod/CLuaParticle:SetVelocity
|
|
412
284
|
*/
|
|
413
285
|
SetVelocity(self: CLuaParticle, vel: Vector): void;
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
interface CLuaParticle {
|
|
417
286
|
/**
|
|
418
287
|
* Automatically scales the length of the particle based on the particle speed, multiplied with [CLuaParticle:SetStartLength](https://wiki.facepunch.com/gmod/CLuaParticle:SetStartLength) and [CLuaParticle:SetEndLength](https://wiki.facepunch.com/gmod/CLuaParticle:SetEndLength). Width remains the same as [CLuaParticle:SetStartSize](https://wiki.facepunch.com/gmod/CLuaParticle:SetStartSize) and [CLuaParticle:SetEndSize](https://wiki.facepunch.com/gmod/CLuaParticle:SetEndSize).
|
|
419
288
|
*
|
|
@@ -424,3 +293,47 @@ interface CLuaParticle {
|
|
|
424
293
|
SetVelocityScale(self: CLuaParticle, doScale?: boolean): void;
|
|
425
294
|
}
|
|
426
295
|
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
|