@tlua/gmod 1.0.3 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.tlua +1 -0
- 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 +8 -17
- package/types/hook_events.d.tlua +2412 -0
- 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
package/types/cnavladder.d.tlua
CHANGED
|
@@ -4,8 +4,6 @@
|
|
|
4
4
|
* An object that represents a ladder for Nextbots.
|
|
5
5
|
* @source https://wiki.facepunch.com/gmod/CNavLadder
|
|
6
6
|
*/
|
|
7
|
-
interface CNavLadder {}
|
|
8
|
-
|
|
9
7
|
interface CNavLadder {
|
|
10
8
|
/**
|
|
11
9
|
* Connects this ladder to a [CNavArea](https://wiki.facepunch.com/gmod/CNavArea) with a one way connection. ( From this ladder to the target area ).
|
|
@@ -16,189 +14,126 @@ interface CNavLadder {
|
|
|
16
14
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:ConnectTo
|
|
17
15
|
*/
|
|
18
16
|
ConnectTo(self: CNavLadder, area: CNavArea): void;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
interface CNavLadder {
|
|
22
17
|
/**
|
|
23
18
|
* Disconnects this ladder from given area in a single direction.
|
|
24
19
|
* @realm server
|
|
25
20
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:Disconnect
|
|
26
21
|
*/
|
|
27
22
|
Disconnect(self: CNavLadder, area: CNavArea): void;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
interface CNavLadder {
|
|
31
23
|
/**
|
|
32
24
|
* Returns the bottom most position of the ladder.
|
|
33
25
|
* @realm server
|
|
34
26
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:GetBottom
|
|
35
27
|
*/
|
|
36
28
|
GetBottom(self: CNavLadder): Vector;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
interface CNavLadder {
|
|
40
29
|
/**
|
|
41
30
|
* Returns the bottom area of the [CNavLadder](https://wiki.facepunch.com/gmod/CNavLadder).
|
|
42
31
|
* @realm server
|
|
43
32
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:GetBottomArea
|
|
44
33
|
*/
|
|
45
34
|
GetBottomArea(self: CNavLadder): CNavArea;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
interface CNavLadder {
|
|
49
35
|
/**
|
|
50
36
|
* Returns this [CNavLadder](https://wiki.facepunch.com/gmod/CNavLadder)s unique ID.
|
|
51
37
|
* @realm server
|
|
52
38
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:GetID
|
|
53
39
|
*/
|
|
54
40
|
GetID(self: CNavLadder): number;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
interface CNavLadder {
|
|
58
41
|
/**
|
|
59
42
|
* Returns the length of the ladder.
|
|
60
43
|
* @realm server
|
|
61
44
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:GetLength
|
|
62
45
|
*/
|
|
63
46
|
GetLength(self: CNavLadder): number;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
interface CNavLadder {
|
|
67
47
|
/**
|
|
68
48
|
* Returns the direction of this [CNavLadder](https://wiki.facepunch.com/gmod/CNavLadder). ( The direction in which players back will be facing if they are looking directly at the ladder )
|
|
69
49
|
* @realm server
|
|
70
50
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:GetNormal
|
|
71
51
|
*/
|
|
72
52
|
GetNormal(self: CNavLadder): Vector;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
interface CNavLadder {
|
|
76
53
|
/**
|
|
77
54
|
* Returns the world position based on given height relative to the ladder.
|
|
78
55
|
* @realm server
|
|
79
56
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:GetPosAtHeight
|
|
80
57
|
*/
|
|
81
58
|
GetPosAtHeight(self: CNavLadder, height: number): Vector;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
interface CNavLadder {
|
|
85
59
|
/**
|
|
86
60
|
* Returns the topmost position of the ladder.
|
|
87
61
|
* @realm server
|
|
88
62
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:GetTop
|
|
89
63
|
*/
|
|
90
64
|
GetTop(self: CNavLadder): Vector;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
interface CNavLadder {
|
|
94
65
|
/**
|
|
95
66
|
* Returns the top behind [CNavArea](https://wiki.facepunch.com/gmod/CNavArea) of the [CNavLadder](https://wiki.facepunch.com/gmod/CNavLadder).
|
|
96
67
|
* @realm server
|
|
97
68
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:GetTopBehindArea
|
|
98
69
|
*/
|
|
99
70
|
GetTopBehindArea(self: CNavLadder): CNavArea;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
interface CNavLadder {
|
|
103
71
|
/**
|
|
104
72
|
* Returns the top forward [CNavArea](https://wiki.facepunch.com/gmod/CNavArea) of the [CNavLadder](https://wiki.facepunch.com/gmod/CNavLadder).
|
|
105
73
|
* @realm server
|
|
106
74
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:GetTopForwardArea
|
|
107
75
|
*/
|
|
108
76
|
GetTopForwardArea(self: CNavLadder): CNavArea;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
interface CNavLadder {
|
|
112
77
|
/**
|
|
113
78
|
* Returns the top left [CNavArea](https://wiki.facepunch.com/gmod/CNavArea) of the [CNavLadder](https://wiki.facepunch.com/gmod/CNavLadder).
|
|
114
79
|
* @realm server
|
|
115
80
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:GetTopLeftArea
|
|
116
81
|
*/
|
|
117
82
|
GetTopLeftArea(self: CNavLadder): CNavArea;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
interface CNavLadder {
|
|
121
83
|
/**
|
|
122
84
|
* Returns the top right [CNavArea](https://wiki.facepunch.com/gmod/CNavArea) of the [CNavLadder](https://wiki.facepunch.com/gmod/CNavLadder).
|
|
123
85
|
* @realm server
|
|
124
86
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:GetTopRightArea
|
|
125
87
|
*/
|
|
126
88
|
GetTopRightArea(self: CNavLadder): CNavArea;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
interface CNavLadder {
|
|
130
89
|
/**
|
|
131
90
|
* Returns the width of the ladder in Hammer Units.
|
|
132
91
|
* @realm server
|
|
133
92
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:GetWidth
|
|
134
93
|
*/
|
|
135
94
|
GetWidth(self: CNavLadder): number;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
interface CNavLadder {
|
|
139
95
|
/**
|
|
140
96
|
* Returns whether this [CNavLadder](https://wiki.facepunch.com/gmod/CNavLadder) has an outgoing ( one or two way ) connection **to** given [CNavArea](https://wiki.facepunch.com/gmod/CNavArea) in given direction.
|
|
141
97
|
* @realm server
|
|
142
98
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:IsConnectedAtSide
|
|
143
99
|
*/
|
|
144
100
|
IsConnectedAtSide(self: CNavLadder, navArea: CNavArea, navDirType: number): boolean;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
interface CNavLadder {
|
|
148
101
|
/**
|
|
149
102
|
* Returns whether this [CNavLadder](https://wiki.facepunch.com/gmod/CNavLadder) is valid or not.
|
|
150
103
|
* @realm server
|
|
151
104
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:IsValid
|
|
152
105
|
*/
|
|
153
106
|
IsValid(self: CNavLadder): boolean;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
interface CNavLadder {
|
|
157
107
|
/**
|
|
158
108
|
* Removes the given nav ladder.
|
|
159
109
|
* @realm server
|
|
160
110
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:Remove
|
|
161
111
|
*/
|
|
162
112
|
Remove(self: CNavLadder): void;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
interface CNavLadder {
|
|
166
113
|
/**
|
|
167
114
|
* Sets the bottom area of the [CNavLadder](https://wiki.facepunch.com/gmod/CNavLadder).
|
|
168
115
|
* @realm server
|
|
169
116
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:SetBottomArea
|
|
170
117
|
*/
|
|
171
118
|
SetBottomArea(self: CNavLadder, area: CNavArea): void;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
interface CNavLadder {
|
|
175
119
|
/**
|
|
176
120
|
* Sets the top behind area of the [CNavLadder](https://wiki.facepunch.com/gmod/CNavLadder).
|
|
177
121
|
* @realm server
|
|
178
122
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:SetTopBehindArea
|
|
179
123
|
*/
|
|
180
124
|
SetTopBehindArea(self: CNavLadder, area: CNavArea): void;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
interface CNavLadder {
|
|
184
125
|
/**
|
|
185
126
|
* Sets the top forward area of the [CNavLadder](https://wiki.facepunch.com/gmod/CNavLadder).
|
|
186
127
|
* @realm server
|
|
187
128
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:SetTopForwardArea
|
|
188
129
|
*/
|
|
189
130
|
SetTopForwardArea(self: CNavLadder, area: CNavArea): void;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
interface CNavLadder {
|
|
193
131
|
/**
|
|
194
132
|
* Sets the top left area of the [CNavLadder](https://wiki.facepunch.com/gmod/CNavLadder).
|
|
195
133
|
* @realm server
|
|
196
134
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:SetTopLeftArea
|
|
197
135
|
*/
|
|
198
136
|
SetTopLeftArea(self: CNavLadder, area: CNavArea): void;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
interface CNavLadder {
|
|
202
137
|
/**
|
|
203
138
|
* Sets the top right area of the [CNavLadder](https://wiki.facepunch.com/gmod/CNavLadder).
|
|
204
139
|
* @realm server
|
|
@@ -207,3 +142,25 @@ interface CNavLadder {
|
|
|
207
142
|
SetTopRightArea(self: CNavLadder, area: CNavArea): void;
|
|
208
143
|
}
|
|
209
144
|
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
|
|
@@ -4,8 +4,6 @@
|
|
|
4
4
|
* This object represents a .pcf ( Orange Box ) particle system. Created by [Entity:CreateParticleEffect](https://wiki.facepunch.com/gmod/Entity:CreateParticleEffect) and [Global.CreateParticleSystem](https://wiki.facepunch.com/gmod/Global.CreateParticleSystem).
|
|
5
5
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect
|
|
6
6
|
*/
|
|
7
|
-
interface CNewParticleEffect {}
|
|
8
|
-
|
|
9
7
|
interface CNewParticleEffect {
|
|
10
8
|
/**
|
|
11
9
|
* Adds a control point to the particle system.
|
|
@@ -17,89 +15,59 @@ interface CNewParticleEffect {
|
|
|
17
15
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:AddControlPoint
|
|
18
16
|
*/
|
|
19
17
|
AddControlPoint(self: CNewParticleEffect, cpID: number, ent: Entity, partAttachment: number, entAttachment?: string, offset?: Vector): void;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
interface CNewParticleEffect {
|
|
23
18
|
/**
|
|
24
19
|
* @realm client
|
|
25
20
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:GetAutoUpdateBBox
|
|
26
21
|
*/
|
|
27
22
|
GetAutoUpdateBBox(self: CNewParticleEffect): boolean;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
interface CNewParticleEffect {
|
|
31
23
|
/**
|
|
32
24
|
* Returns the name of the particle effect this system is set to emit.
|
|
33
25
|
* @realm client
|
|
34
26
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:GetEffectName
|
|
35
27
|
*/
|
|
36
28
|
GetEffectName(self: CNewParticleEffect): string;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
interface CNewParticleEffect {
|
|
40
29
|
/**
|
|
41
30
|
* Returns the highest control point number for given particle system.
|
|
42
31
|
* @realm client
|
|
43
32
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:GetHighestControlPoint
|
|
44
33
|
*/
|
|
45
34
|
GetHighestControlPoint(self: CNewParticleEffect): boolean;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
interface CNewParticleEffect {
|
|
49
35
|
/**
|
|
50
36
|
* Returns the owner of the particle system, the entity the particle system is attached to.
|
|
51
37
|
* @realm client
|
|
52
38
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:GetOwner
|
|
53
39
|
*/
|
|
54
40
|
GetOwner(self: CNewParticleEffect): Entity;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
interface CNewParticleEffect {
|
|
58
41
|
/**
|
|
59
42
|
* Returns the bounding box of the particle effect, including all the particles it emitted.
|
|
60
43
|
* @realm client
|
|
61
44
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:GetRenderBounds
|
|
62
45
|
*/
|
|
63
46
|
GetRenderBounds(self: CNewParticleEffect): (Vector, Vector);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
interface CNewParticleEffect {
|
|
67
47
|
/**
|
|
68
48
|
* Returns whether the particle system simulation was paused by [CNewParticleEffect:SetShouldSimulate](https://wiki.facepunch.com/gmod/CNewParticleEffect:SetShouldSimulate).
|
|
69
49
|
* @realm client
|
|
70
50
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:GetShouldSimulate
|
|
71
51
|
*/
|
|
72
52
|
GetShouldSimulate(self: CNewParticleEffect): boolean;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
interface CNewParticleEffect {
|
|
76
53
|
/**
|
|
77
54
|
* Returns whether the particle system has finished emitting particles or not.
|
|
78
55
|
* @realm client
|
|
79
56
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:IsFinished
|
|
80
57
|
*/
|
|
81
58
|
IsFinished(self: CNewParticleEffect): boolean;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
interface CNewParticleEffect {
|
|
85
59
|
/**
|
|
86
60
|
* Returns whether the particle system is valid or not.
|
|
87
61
|
* @realm client
|
|
88
62
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:IsValid
|
|
89
63
|
*/
|
|
90
64
|
IsValid(self: CNewParticleEffect): boolean;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
interface CNewParticleEffect {
|
|
94
65
|
/**
|
|
95
66
|
* Returns whether the particle system is intended to be used on a view model?
|
|
96
67
|
* @realm client
|
|
97
68
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:IsViewModelEffect
|
|
98
69
|
*/
|
|
99
70
|
IsViewModelEffect(self: CNewParticleEffect): boolean;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
interface CNewParticleEffect {
|
|
103
71
|
/**
|
|
104
72
|
* Forces the particle system to render using current rendering context.
|
|
105
73
|
*
|
|
@@ -111,90 +79,60 @@ interface CNewParticleEffect {
|
|
|
111
79
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:Render
|
|
112
80
|
*/
|
|
113
81
|
Render(self: CNewParticleEffect): void;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
interface CNewParticleEffect {
|
|
117
82
|
/**
|
|
118
83
|
* Forces the particle system to restart emitting particles.
|
|
119
84
|
* @realm client
|
|
120
85
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:Restart
|
|
121
86
|
*/
|
|
122
87
|
Restart(self: CNewParticleEffect): void;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
interface CNewParticleEffect {
|
|
126
88
|
/**
|
|
127
89
|
* Sets a value for given control point.
|
|
128
90
|
* @realm client
|
|
129
91
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:SetControlPoint
|
|
130
92
|
*/
|
|
131
93
|
SetControlPoint(self: CNewParticleEffect, cpID: number, value: Vector): void;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
interface CNewParticleEffect {
|
|
135
94
|
/**
|
|
136
95
|
* Sets an entity to given control point for particle to use.
|
|
137
96
|
* @realm client
|
|
138
97
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:SetControlPointEntity
|
|
139
98
|
*/
|
|
140
99
|
SetControlPointEntity(self: CNewParticleEffect, cpID: number, parent: Entity): void;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
interface CNewParticleEffect {
|
|
144
100
|
/**
|
|
145
101
|
* Sets the forward direction for given control point.
|
|
146
102
|
* @realm client
|
|
147
103
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:SetControlPointForwardVector
|
|
148
104
|
*/
|
|
149
105
|
SetControlPointForwardVector(self: CNewParticleEffect, cpID: number, forward: Vector): void;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
interface CNewParticleEffect {
|
|
153
106
|
/**
|
|
154
107
|
* Sets the orientation for given control point.
|
|
155
108
|
* @realm client
|
|
156
109
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:SetControlPointOrientation
|
|
157
110
|
*/
|
|
158
111
|
SetControlPointOrientation(self: CNewParticleEffect, cpID: number, forward: Vector, right: Vector, up: Vector): void;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
interface CNewParticleEffect {
|
|
162
112
|
/**
|
|
163
113
|
* Essentially makes child control point follow the parent control point.
|
|
164
114
|
* @realm client
|
|
165
115
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:SetControlPointParent
|
|
166
116
|
*/
|
|
167
117
|
SetControlPointParent(self: CNewParticleEffect, childID: number, parentID: number): void;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
interface CNewParticleEffect {
|
|
171
118
|
/**
|
|
172
119
|
* Sets the right direction for given control point.
|
|
173
120
|
* @realm client
|
|
174
121
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:SetControlPointRightVector
|
|
175
122
|
*/
|
|
176
123
|
SetControlPointRightVector(self: CNewParticleEffect, cpID: number, right: Vector): void;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
interface CNewParticleEffect {
|
|
180
124
|
/**
|
|
181
125
|
* Sets the upward direction for given control point.
|
|
182
126
|
* @realm client
|
|
183
127
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:SetControlPointUpVector
|
|
184
128
|
*/
|
|
185
129
|
SetControlPointUpVector(self: CNewParticleEffect, cpID: number, upward: Vector): void;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
interface CNewParticleEffect {
|
|
189
130
|
/**
|
|
190
131
|
* Set whether this particle effect is a view model effect or not. This will have an effect on attachment positioning and other things.
|
|
191
132
|
* @realm client
|
|
192
133
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:SetIsViewModelEffect
|
|
193
134
|
*/
|
|
194
135
|
SetIsViewModelEffect(self: CNewParticleEffect, isViewModel: boolean): void;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
interface CNewParticleEffect {
|
|
198
136
|
/**
|
|
199
137
|
* Forces the particle system to stop automatically rendering.
|
|
200
138
|
*
|
|
@@ -204,45 +142,30 @@ interface CNewParticleEffect {
|
|
|
204
142
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:SetShouldDraw
|
|
205
143
|
*/
|
|
206
144
|
SetShouldDraw(self: CNewParticleEffect, should: boolean): void;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
interface CNewParticleEffect {
|
|
210
145
|
/**
|
|
211
146
|
* Sets whether the particle system should continue simulation or not. If simulation is paused, all currently active particles will be frozen in place.
|
|
212
147
|
* @realm client
|
|
213
148
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:SetShouldSimulate
|
|
214
149
|
*/
|
|
215
150
|
SetShouldSimulate(self: CNewParticleEffect, simulate: boolean): void;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
interface CNewParticleEffect {
|
|
219
151
|
/**
|
|
220
152
|
* Sets the sort origin for given particle system. This is used as a helper to determine which particles are in front of which.
|
|
221
153
|
* @realm client
|
|
222
154
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:SetSortOrigin
|
|
223
155
|
*/
|
|
224
156
|
SetSortOrigin(self: CNewParticleEffect, origin: Vector): void;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
interface CNewParticleEffect {
|
|
228
157
|
/**
|
|
229
158
|
* Starts the particle emission.
|
|
230
159
|
* @realm client
|
|
231
160
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:StartEmission
|
|
232
161
|
*/
|
|
233
162
|
StartEmission(self: CNewParticleEffect, infiniteOnly?: boolean): void;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
interface CNewParticleEffect {
|
|
237
163
|
/**
|
|
238
164
|
* Stops the particle emission.
|
|
239
165
|
* @realm client
|
|
240
166
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:StopEmission
|
|
241
167
|
*/
|
|
242
168
|
StopEmission(self: CNewParticleEffect, infiniteOnly?: boolean, removeAllParticles?: boolean, wakeOnStop?: boolean): void;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
interface CNewParticleEffect {
|
|
246
169
|
/**
|
|
247
170
|
* Stops particle emission and destroys all particles instantly. Also detaches the particle effect from the entity it was attached to.
|
|
248
171
|
*
|
|
@@ -257,3 +180,29 @@ interface CNewParticleEffect {
|
|
|
257
180
|
StopEmissionAndDestroyImmediately(self: CNewParticleEffect): void;
|
|
258
181
|
}
|
|
259
182
|
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|