@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.
- package/package.json +1 -1
- package/types/achievementicon.d.tlua +0 -1
- package/types/achievements.d.tlua +0 -31
- package/types/ai.d.tlua +0 -11
- package/types/ai_schedule.d.tlua +0 -1
- package/types/ai_task.d.tlua +0 -1
- package/types/angle.d.tlua +0 -37
- package/types/avatarimage.d.tlua +0 -1
- package/types/awesomium.d.tlua +0 -1
- package/types/baseclass.d.tlua +0 -4
- package/types/bf_read.d.tlua +0 -23
- package/types/bit.d.tlua +0 -23
- package/types/button.d.tlua +0 -1
- package/types/cam.d.tlua +0 -33
- package/types/ceffectdata.d.tlua +0 -65
- package/types/chat.d.tlua +0 -11
- package/types/checkbutton.d.tlua +0 -1
- package/types/cleanup.d.tlua +0 -15
- package/types/cluaemitter.d.tlua +0 -25
- package/types/clualocomotion.d.tlua +0 -81
- package/types/cluaparticle.d.tlua +0 -89
- package/types/cmovedata.d.tlua +0 -95
- package/types/cnavarea.d.tlua +0 -155
- package/types/cnavladder.d.tlua +0 -45
- package/types/cnewparticleeffect.d.tlua +0 -53
- package/types/color.d.tlua +0 -57
- package/types/concommand.d.tlua +0 -9
- package/types/constraint.d.tlua +0 -57
- package/types/construct.d.tlua +0 -3
- package/types/contentheader.d.tlua +1 -6
- package/types/contenticon.d.tlua +1 -18
- package/types/contentsidebar.d.tlua +1 -8
- package/types/contentsidebartoolbox.d.tlua +0 -1
- package/types/contextbase.d.tlua +1 -8
- package/types/controlpanel.d.tlua +6 -31
- package/types/controlpresets.d.tlua +1 -26
- package/types/convar.d.tlua +0 -33
- package/types/cookie.d.tlua +0 -7
- package/types/coroutine.d.tlua +0 -15
- package/types/crecipientfilter.d.tlua +0 -33
- package/types/csent.d.tlua +0 -1
- package/types/csoundpatch.d.tlua +0 -29
- package/types/ctakedamageinfo.d.tlua +0 -67
- package/types/ctrllistbox.d.tlua +0 -1
- package/types/ctrlnumpad.d.tlua +0 -13
- package/types/cusercmd.d.tlua +0 -55
- package/types/custom_entity_fields.d.tlua +0 -1
- package/types/cvars.d.tlua +0 -13
- package/types/dadjustablemodelpanel.d.tlua +1 -14
- package/types/dalphabar.d.tlua +1 -6
- package/types/dbinder.d.tlua +1 -8
- package/types/dbubblecontainer.d.tlua +1 -4
- package/types/dbutton.d.tlua +1 -16
- package/types/dcategoryheader.d.tlua +0 -1
- package/types/dcategorylist.d.tlua +0 -1
- package/types/dcheckbox.d.tlua +1 -10
- package/types/dcheckboxlabel.d.tlua +0 -19
- package/types/dcollapsiblecategory.d.tlua +1 -46
- package/types/dcolorbutton.d.tlua +1 -14
- package/types/dcolorcombo.d.tlua +1 -10
- package/types/dcolorcube.d.tlua +1 -26
- package/types/dcolormixer.d.tlua +1 -54
- package/types/dcolorpalette.d.tlua +1 -46
- package/types/dcolumnsheet.d.tlua +1 -10
- package/types/dcombobox.d.tlua +1 -34
- package/types/ddragbase.d.tlua +1 -26
- package/types/ddrawer.d.tlua +1 -16
- package/types/debug.d.tlua +25 -60
- package/types/debugoverlay.d.tlua +0 -23
- package/types/dentityproperties.d.tlua +1 -10
- package/types/derma.d.tlua +0 -21
- package/types/dexpandbutton.d.tlua +1 -6
- package/types/dfilebrowser.d.tlua +0 -41
- package/types/dform.d.tlua +1 -36
- package/types/dframe.d.tlua +0 -49
- package/types/dgrid.d.tlua +1 -22
- package/types/dhorizontaldivider.d.tlua +1 -40
- package/types/dhorizontalscroller.d.tlua +1 -22
- package/types/dhscrollbar.d.tlua +1 -22
- package/types/dhtml.d.tlua +1 -16
- package/types/dhtmlcontrols.d.tlua +0 -11
- package/types/diconbrowser.d.tlua +1 -22
- package/types/diconlayout.d.tlua +1 -36
- package/types/dimage.d.tlua +1 -39
- package/types/dimagebutton.d.tlua +0 -19
- package/types/dkillicon.d.tlua +0 -1
- package/types/dlabel.d.tlua +1 -66
- package/types/dlabeleditable.d.tlua +1 -10
- package/types/dlabelurl.d.tlua +1 -20
- package/types/dlistbox.d.tlua +1 -16
- package/types/dlistboxitem.d.tlua +1 -8
- package/types/dlistlayout.d.tlua +0 -1
- package/types/dlistview.d.tlua +1 -68
- package/types/dlistview_column.d.tlua +1 -28
- package/types/dlistview_columnplain.d.tlua +0 -1
- package/types/dlistview_draggerbar.d.tlua +0 -1
- package/types/dlistview_line.d.tlua +1 -26
- package/types/dlistviewheaderlabel.d.tlua +0 -1
- package/types/dlistviewlabel.d.tlua +0 -1
- package/types/dlistviewline.d.tlua +0 -1
- package/types/dmenu.d.tlua +1 -53
- package/types/dmenubar.d.tlua +1 -11
- package/types/dmenuoption.d.tlua +1 -26
- package/types/dmenuoptioncvar.d.tlua +1 -12
- package/types/dmodelpanel.d.tlua +1 -44
- package/types/dmodelselect.d.tlua +1 -4
- package/types/dmodelselectmulti.d.tlua +1 -4
- package/types/dnotify.d.tlua +1 -20
- package/types/dnumberscratch.d.tlua +1 -52
- package/types/dnumberwang.d.tlua +1 -32
- package/types/dnumpad.d.tlua +0 -1
- package/types/dnumslider.d.tlua +0 -35
- package/types/dpanel.d.tlua +1 -28
- package/types/dpanellist.d.tlua +0 -23
- package/types/dpaneloverlay.d.tlua +1 -14
- package/types/dpanelselect.d.tlua +0 -1
- package/types/dpanpanel.d.tlua +1 -12
- package/types/dprogress.d.tlua +1 -6
- package/types/dproperties.d.tlua +1 -8
- package/types/dproperty_boolean.d.tlua +0 -1
- package/types/dproperty_combo.d.tlua +1 -6
- package/types/dproperty_entity.d.tlua +0 -1
- package/types/dproperty_float.d.tlua +0 -1
- package/types/dproperty_generic.d.tlua +1 -10
- package/types/dproperty_int.d.tlua +0 -1
- package/types/dproperty_vectorcolor.d.tlua +0 -1
- package/types/dpropertysheet.d.tlua +9 -41
- package/types/dragndrop.d.tlua +0 -21
- package/types/draw.d.tlua +0 -22
- package/types/drgbpicker.d.tlua +1 -8
- package/types/drive.d.tlua +6 -31
- package/types/dscrollbargrip.d.tlua +0 -1
- package/types/dscrollpanel.d.tlua +0 -21
- package/types/dshape.d.tlua +1 -14
- package/types/dsizetocontents.d.tlua +1 -10
- package/types/dslider.d.tlua +1 -56
- package/types/dsprite.d.tlua +1 -18
- package/types/dtab.d.tlua +1 -16
- package/types/dtextentry.d.tlua +1 -86
- package/types/dtilelayout.d.tlua +1 -42
- package/types/dtooltip.d.tlua +1 -12
- package/types/dtree.d.tlua +1 -32
- package/types/dtree_node.d.tlua +1 -136
- package/types/dtree_node_button.d.tlua +0 -1
- package/types/duplicator.d.tlua +0 -60
- package/types/dverticaldivider.d.tlua +1 -46
- package/types/dvscrollbar.d.tlua +1 -22
- package/types/editablepanel.d.tlua +0 -1
- package/types/effect.d.tlua +1 -8
- package/types/effects.d.tlua +0 -13
- package/types/engine.d.tlua +0 -43
- package/types/entity.d.tlua +2 -1319
- package/types/ents.d.tlua +0 -44
- package/types/enums.d.tlua +0 -1
- package/types/file.d.tlua +0 -79
- package/types/file_class.d.tlua +0 -1
- package/types/fingerposer.d.tlua +0 -1
- package/types/fingervar.d.tlua +0 -1
- package/types/frame.d.tlua +0 -1
- package/types/frame_blend.d.tlua +0 -15
- package/types/game.d.tlua +0 -79
- package/types/gameevent.d.tlua +4 -9
- package/types/gamemode.d.tlua +0 -6
- package/types/global.d.tlua +0 -18
- package/types/gm.d.tlua +0 -535
- package/types/gmod.d.tlua +0 -1
- package/types/gmsave.d.tlua +0 -9
- package/types/gui.d.tlua +0 -43
- package/types/gwen.d.tlua +0 -7
- package/types/halo.d.tlua +0 -5
- package/types/hammer.d.tlua +0 -1
- package/types/hook.d.tlua +0 -9
- package/types/html.d.tlua +0 -1
- package/types/http.d.tlua +0 -3
- package/types/iconeditor.d.tlua +1 -22
- package/types/igmodaudiochannel.d.tlua +0 -83
- package/types/imagecheckbox.d.tlua +1 -8
- package/types/imaterial.d.tlua +0 -53
- package/types/imesh.d.tlua +0 -11
- package/types/input.d.tlua +0 -47
- package/types/invalidateinternalentitycache.d.tlua +0 -1
- package/types/irestore.d.tlua +0 -19
- package/types/isave.d.tlua +0 -19
- package/types/itexture.d.tlua +0 -21
- package/types/ivideowriter.d.tlua +0 -11
- package/types/jit.d.tlua +9 -42
- package/types/killicon.d.tlua +0 -15
- package/types/label.d.tlua +0 -1
- package/types/language.d.tlua +0 -3
- package/types/list.d.tlua +0 -17
- package/types/makeballoon.d.tlua +0 -1
- package/types/markup.d.tlua +0 -5
- package/types/markupobject.d.tlua +0 -11
- package/types/material.d.tlua +0 -1
- package/types/math.d.tlua +200 -371
- package/types/matproxy.d.tlua +0 -7
- package/types/matselect.d.tlua +1 -22
- package/types/menu.d.tlua +0 -1
- package/types/menubar.d.tlua +0 -5
- package/types/mesh.d.tlua +0 -39
- package/types/modelimage.d.tlua +0 -1
- package/types/motionsensor.d.tlua +0 -21
- package/types/navmesh.d.tlua +0 -53
- package/types/net.d.tlua +0 -104
- package/types/nextbot.d.tlua +10 -83
- package/types/notification.d.tlua +0 -5
- package/types/npc.d.tlua +1 -364
- package/types/numpad.d.tlua +0 -15
- package/types/os.d.tlua +0 -8
- package/types/package.d.tlua +0 -1
- package/types/panel.d.tlua +2 -662
- package/types/panellist.d.tlua +0 -1
- package/types/pathfollower.d.tlua +0 -63
- package/types/permissions.d.tlua +0 -13
- package/types/physcollide.d.tlua +0 -7
- package/types/physenv.d.tlua +0 -23
- package/types/physobj.d.tlua +0 -157
- package/types/pixelvis_handle_t.d.tlua +0 -1
- package/types/player.d.tlua +11 -594
- package/types/player_manager.d.tlua +0 -27
- package/types/preseteditor.d.tlua +0 -1
- package/types/presets.d.tlua +0 -13
- package/types/projectedtexture.d.tlua +0 -97
- package/types/properties.d.tlua +0 -11
- package/types/propselect.d.tlua +1 -10
- package/types/radiobutton.d.tlua +0 -1
- package/types/render.d.tlua +0 -285
- package/types/resource.d.tlua +0 -5
- package/types/richtext.d.tlua +0 -1
- package/types/sandbox.d.tlua +1 -108
- package/types/saverestore.d.tlua +0 -25
- package/types/schedule.d.tlua +0 -13
- package/types/scripted_ents.d.tlua +0 -21
- package/types/search.d.tlua +0 -3
- package/types/serverlist.d.tlua +0 -15
- package/types/slidebar.d.tlua +0 -1
- package/types/slider.d.tlua +0 -1
- package/types/sound.d.tlua +0 -21
- package/types/spawnicon.d.tlua +1 -16
- package/types/spawnmenu.d.tlua +0 -48
- package/types/spawnmenucontentpanel.d.tlua +1 -10
- package/types/sql.d.tlua +0 -19
- package/types/stack.d.tlua +0 -11
- package/types/steamworks.d.tlua +0 -37
- package/types/string.d.tlua +0 -96
- package/types/structures.d.tlua +0 -7
- package/types/surface.d.tlua +0 -69
- package/types/surfaceinfo.d.tlua +0 -11
- package/types/system.d.tlua +0 -21
- package/types/table.d.tlua +0 -93
- package/types/task.d.tlua +0 -19
- package/types/team.d.tlua +0 -39
- package/types/textentry.d.tlua +0 -1
- package/types/tgaimage.d.tlua +0 -1
- package/types/timer.d.tlua +0 -29
- package/types/tool.d.tlua +1 -90
- package/types/ugcpublishwindow.d.tlua +1 -18
- package/types/umsg.d.tlua +0 -25
- package/types/undo.d.tlua +0 -21
- package/types/urllabel.d.tlua +0 -1
- package/types/usermessage.d.tlua +0 -5
- package/types/utf8.d.tlua +0 -15
- package/types/util.d.tlua +0 -185
- package/types/vector.d.tlua +0 -73
- package/types/vehicle.d.tlua +2 -102
- package/types/vgui.d.tlua +0 -33
- package/types/video.d.tlua +0 -1
- package/types/vmatrix.d.tlua +0 -71
- package/types/weapon.d.tlua +2 -168
- package/types/weapons.d.tlua +0 -12
- package/types/widgets.d.tlua +0 -3
- package/types/workshopfilebase.d.tlua +0 -11
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,147 @@ interface CNavLadder {
|
|
|
16
14
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:ConnectTo
|
|
17
15
|
*/
|
|
18
16
|
ConnectTo(self: CNavLadder, area: CNavArea): void;
|
|
19
|
-
}
|
|
20
17
|
|
|
21
|
-
interface CNavLadder {
|
|
22
18
|
/**
|
|
23
19
|
* Disconnects this ladder from given area in a single direction.
|
|
24
20
|
* @realm server
|
|
25
21
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:Disconnect
|
|
26
22
|
*/
|
|
27
23
|
Disconnect(self: CNavLadder, area: CNavArea): void;
|
|
28
|
-
}
|
|
29
24
|
|
|
30
|
-
interface CNavLadder {
|
|
31
25
|
/**
|
|
32
26
|
* Returns the bottom most position of the ladder.
|
|
33
27
|
* @realm server
|
|
34
28
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:GetBottom
|
|
35
29
|
*/
|
|
36
30
|
GetBottom(self: CNavLadder): Vector;
|
|
37
|
-
}
|
|
38
31
|
|
|
39
|
-
interface CNavLadder {
|
|
40
32
|
/**
|
|
41
33
|
* Returns the bottom area of the [CNavLadder](https://wiki.facepunch.com/gmod/CNavLadder).
|
|
42
34
|
* @realm server
|
|
43
35
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:GetBottomArea
|
|
44
36
|
*/
|
|
45
37
|
GetBottomArea(self: CNavLadder): CNavArea;
|
|
46
|
-
}
|
|
47
38
|
|
|
48
|
-
interface CNavLadder {
|
|
49
39
|
/**
|
|
50
40
|
* Returns this [CNavLadder](https://wiki.facepunch.com/gmod/CNavLadder)s unique ID.
|
|
51
41
|
* @realm server
|
|
52
42
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:GetID
|
|
53
43
|
*/
|
|
54
44
|
GetID(self: CNavLadder): number;
|
|
55
|
-
}
|
|
56
45
|
|
|
57
|
-
interface CNavLadder {
|
|
58
46
|
/**
|
|
59
47
|
* Returns the length of the ladder.
|
|
60
48
|
* @realm server
|
|
61
49
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:GetLength
|
|
62
50
|
*/
|
|
63
51
|
GetLength(self: CNavLadder): number;
|
|
64
|
-
}
|
|
65
52
|
|
|
66
|
-
interface CNavLadder {
|
|
67
53
|
/**
|
|
68
54
|
* 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
55
|
* @realm server
|
|
70
56
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:GetNormal
|
|
71
57
|
*/
|
|
72
58
|
GetNormal(self: CNavLadder): Vector;
|
|
73
|
-
}
|
|
74
59
|
|
|
75
|
-
interface CNavLadder {
|
|
76
60
|
/**
|
|
77
61
|
* Returns the world position based on given height relative to the ladder.
|
|
78
62
|
* @realm server
|
|
79
63
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:GetPosAtHeight
|
|
80
64
|
*/
|
|
81
65
|
GetPosAtHeight(self: CNavLadder, height: number): Vector;
|
|
82
|
-
}
|
|
83
66
|
|
|
84
|
-
interface CNavLadder {
|
|
85
67
|
/**
|
|
86
68
|
* Returns the topmost position of the ladder.
|
|
87
69
|
* @realm server
|
|
88
70
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:GetTop
|
|
89
71
|
*/
|
|
90
72
|
GetTop(self: CNavLadder): Vector;
|
|
91
|
-
}
|
|
92
73
|
|
|
93
|
-
interface CNavLadder {
|
|
94
74
|
/**
|
|
95
75
|
* Returns the top behind [CNavArea](https://wiki.facepunch.com/gmod/CNavArea) of the [CNavLadder](https://wiki.facepunch.com/gmod/CNavLadder).
|
|
96
76
|
* @realm server
|
|
97
77
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:GetTopBehindArea
|
|
98
78
|
*/
|
|
99
79
|
GetTopBehindArea(self: CNavLadder): CNavArea;
|
|
100
|
-
}
|
|
101
80
|
|
|
102
|
-
interface CNavLadder {
|
|
103
81
|
/**
|
|
104
82
|
* Returns the top forward [CNavArea](https://wiki.facepunch.com/gmod/CNavArea) of the [CNavLadder](https://wiki.facepunch.com/gmod/CNavLadder).
|
|
105
83
|
* @realm server
|
|
106
84
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:GetTopForwardArea
|
|
107
85
|
*/
|
|
108
86
|
GetTopForwardArea(self: CNavLadder): CNavArea;
|
|
109
|
-
}
|
|
110
87
|
|
|
111
|
-
interface CNavLadder {
|
|
112
88
|
/**
|
|
113
89
|
* Returns the top left [CNavArea](https://wiki.facepunch.com/gmod/CNavArea) of the [CNavLadder](https://wiki.facepunch.com/gmod/CNavLadder).
|
|
114
90
|
* @realm server
|
|
115
91
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:GetTopLeftArea
|
|
116
92
|
*/
|
|
117
93
|
GetTopLeftArea(self: CNavLadder): CNavArea;
|
|
118
|
-
}
|
|
119
94
|
|
|
120
|
-
interface CNavLadder {
|
|
121
95
|
/**
|
|
122
96
|
* Returns the top right [CNavArea](https://wiki.facepunch.com/gmod/CNavArea) of the [CNavLadder](https://wiki.facepunch.com/gmod/CNavLadder).
|
|
123
97
|
* @realm server
|
|
124
98
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:GetTopRightArea
|
|
125
99
|
*/
|
|
126
100
|
GetTopRightArea(self: CNavLadder): CNavArea;
|
|
127
|
-
}
|
|
128
101
|
|
|
129
|
-
interface CNavLadder {
|
|
130
102
|
/**
|
|
131
103
|
* Returns the width of the ladder in Hammer Units.
|
|
132
104
|
* @realm server
|
|
133
105
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:GetWidth
|
|
134
106
|
*/
|
|
135
107
|
GetWidth(self: CNavLadder): number;
|
|
136
|
-
}
|
|
137
108
|
|
|
138
|
-
interface CNavLadder {
|
|
139
109
|
/**
|
|
140
110
|
* 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
111
|
* @realm server
|
|
142
112
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:IsConnectedAtSide
|
|
143
113
|
*/
|
|
144
114
|
IsConnectedAtSide(self: CNavLadder, navArea: CNavArea, navDirType: number): boolean;
|
|
145
|
-
}
|
|
146
115
|
|
|
147
|
-
interface CNavLadder {
|
|
148
116
|
/**
|
|
149
117
|
* Returns whether this [CNavLadder](https://wiki.facepunch.com/gmod/CNavLadder) is valid or not.
|
|
150
118
|
* @realm server
|
|
151
119
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:IsValid
|
|
152
120
|
*/
|
|
153
121
|
IsValid(self: CNavLadder): boolean;
|
|
154
|
-
}
|
|
155
122
|
|
|
156
|
-
interface CNavLadder {
|
|
157
123
|
/**
|
|
158
124
|
* Removes the given nav ladder.
|
|
159
125
|
* @realm server
|
|
160
126
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:Remove
|
|
161
127
|
*/
|
|
162
128
|
Remove(self: CNavLadder): void;
|
|
163
|
-
}
|
|
164
129
|
|
|
165
|
-
interface CNavLadder {
|
|
166
130
|
/**
|
|
167
131
|
* Sets the bottom area of the [CNavLadder](https://wiki.facepunch.com/gmod/CNavLadder).
|
|
168
132
|
* @realm server
|
|
169
133
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:SetBottomArea
|
|
170
134
|
*/
|
|
171
135
|
SetBottomArea(self: CNavLadder, area: CNavArea): void;
|
|
172
|
-
}
|
|
173
136
|
|
|
174
|
-
interface CNavLadder {
|
|
175
137
|
/**
|
|
176
138
|
* Sets the top behind area of the [CNavLadder](https://wiki.facepunch.com/gmod/CNavLadder).
|
|
177
139
|
* @realm server
|
|
178
140
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:SetTopBehindArea
|
|
179
141
|
*/
|
|
180
142
|
SetTopBehindArea(self: CNavLadder, area: CNavArea): void;
|
|
181
|
-
}
|
|
182
143
|
|
|
183
|
-
interface CNavLadder {
|
|
184
144
|
/**
|
|
185
145
|
* Sets the top forward area of the [CNavLadder](https://wiki.facepunch.com/gmod/CNavLadder).
|
|
186
146
|
* @realm server
|
|
187
147
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:SetTopForwardArea
|
|
188
148
|
*/
|
|
189
149
|
SetTopForwardArea(self: CNavLadder, area: CNavArea): void;
|
|
190
|
-
}
|
|
191
150
|
|
|
192
|
-
interface CNavLadder {
|
|
193
151
|
/**
|
|
194
152
|
* Sets the top left area of the [CNavLadder](https://wiki.facepunch.com/gmod/CNavLadder).
|
|
195
153
|
* @realm server
|
|
196
154
|
* @source https://wiki.facepunch.com/gmod/CNavLadder:SetTopLeftArea
|
|
197
155
|
*/
|
|
198
156
|
SetTopLeftArea(self: CNavLadder, area: CNavArea): void;
|
|
199
|
-
}
|
|
200
157
|
|
|
201
|
-
interface CNavLadder {
|
|
202
158
|
/**
|
|
203
159
|
* Sets the top right area of the [CNavLadder](https://wiki.facepunch.com/gmod/CNavLadder).
|
|
204
160
|
* @realm server
|
|
@@ -206,4 +162,3 @@ interface CNavLadder {
|
|
|
206
162
|
*/
|
|
207
163
|
SetTopRightArea(self: CNavLadder, area: CNavArea): void;
|
|
208
164
|
}
|
|
209
|
-
|
|
@@ -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,69 @@ 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
18
|
|
|
22
|
-
interface CNewParticleEffect {
|
|
23
19
|
/**
|
|
24
20
|
* @realm client
|
|
25
21
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:GetAutoUpdateBBox
|
|
26
22
|
*/
|
|
27
23
|
GetAutoUpdateBBox(self: CNewParticleEffect): boolean;
|
|
28
|
-
}
|
|
29
24
|
|
|
30
|
-
interface CNewParticleEffect {
|
|
31
25
|
/**
|
|
32
26
|
* Returns the name of the particle effect this system is set to emit.
|
|
33
27
|
* @realm client
|
|
34
28
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:GetEffectName
|
|
35
29
|
*/
|
|
36
30
|
GetEffectName(self: CNewParticleEffect): string;
|
|
37
|
-
}
|
|
38
31
|
|
|
39
|
-
interface CNewParticleEffect {
|
|
40
32
|
/**
|
|
41
33
|
* Returns the highest control point number for given particle system.
|
|
42
34
|
* @realm client
|
|
43
35
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:GetHighestControlPoint
|
|
44
36
|
*/
|
|
45
37
|
GetHighestControlPoint(self: CNewParticleEffect): boolean;
|
|
46
|
-
}
|
|
47
38
|
|
|
48
|
-
interface CNewParticleEffect {
|
|
49
39
|
/**
|
|
50
40
|
* Returns the owner of the particle system, the entity the particle system is attached to.
|
|
51
41
|
* @realm client
|
|
52
42
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:GetOwner
|
|
53
43
|
*/
|
|
54
44
|
GetOwner(self: CNewParticleEffect): Entity;
|
|
55
|
-
}
|
|
56
45
|
|
|
57
|
-
interface CNewParticleEffect {
|
|
58
46
|
/**
|
|
59
47
|
* Returns the bounding box of the particle effect, including all the particles it emitted.
|
|
60
48
|
* @realm client
|
|
61
49
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:GetRenderBounds
|
|
62
50
|
*/
|
|
63
51
|
GetRenderBounds(self: CNewParticleEffect): (Vector, Vector);
|
|
64
|
-
}
|
|
65
52
|
|
|
66
|
-
interface CNewParticleEffect {
|
|
67
53
|
/**
|
|
68
54
|
* Returns whether the particle system simulation was paused by [CNewParticleEffect:SetShouldSimulate](https://wiki.facepunch.com/gmod/CNewParticleEffect:SetShouldSimulate).
|
|
69
55
|
* @realm client
|
|
70
56
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:GetShouldSimulate
|
|
71
57
|
*/
|
|
72
58
|
GetShouldSimulate(self: CNewParticleEffect): boolean;
|
|
73
|
-
}
|
|
74
59
|
|
|
75
|
-
interface CNewParticleEffect {
|
|
76
60
|
/**
|
|
77
61
|
* Returns whether the particle system has finished emitting particles or not.
|
|
78
62
|
* @realm client
|
|
79
63
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:IsFinished
|
|
80
64
|
*/
|
|
81
65
|
IsFinished(self: CNewParticleEffect): boolean;
|
|
82
|
-
}
|
|
83
66
|
|
|
84
|
-
interface CNewParticleEffect {
|
|
85
67
|
/**
|
|
86
68
|
* Returns whether the particle system is valid or not.
|
|
87
69
|
* @realm client
|
|
88
70
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:IsValid
|
|
89
71
|
*/
|
|
90
72
|
IsValid(self: CNewParticleEffect): boolean;
|
|
91
|
-
}
|
|
92
73
|
|
|
93
|
-
interface CNewParticleEffect {
|
|
94
74
|
/**
|
|
95
75
|
* Returns whether the particle system is intended to be used on a view model?
|
|
96
76
|
* @realm client
|
|
97
77
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:IsViewModelEffect
|
|
98
78
|
*/
|
|
99
79
|
IsViewModelEffect(self: CNewParticleEffect): boolean;
|
|
100
|
-
}
|
|
101
80
|
|
|
102
|
-
interface CNewParticleEffect {
|
|
103
81
|
/**
|
|
104
82
|
* Forces the particle system to render using current rendering context.
|
|
105
83
|
*
|
|
@@ -111,90 +89,70 @@ interface CNewParticleEffect {
|
|
|
111
89
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:Render
|
|
112
90
|
*/
|
|
113
91
|
Render(self: CNewParticleEffect): void;
|
|
114
|
-
}
|
|
115
92
|
|
|
116
|
-
interface CNewParticleEffect {
|
|
117
93
|
/**
|
|
118
94
|
* Forces the particle system to restart emitting particles.
|
|
119
95
|
* @realm client
|
|
120
96
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:Restart
|
|
121
97
|
*/
|
|
122
98
|
Restart(self: CNewParticleEffect): void;
|
|
123
|
-
}
|
|
124
99
|
|
|
125
|
-
interface CNewParticleEffect {
|
|
126
100
|
/**
|
|
127
101
|
* Sets a value for given control point.
|
|
128
102
|
* @realm client
|
|
129
103
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:SetControlPoint
|
|
130
104
|
*/
|
|
131
105
|
SetControlPoint(self: CNewParticleEffect, cpID: number, value: Vector): void;
|
|
132
|
-
}
|
|
133
106
|
|
|
134
|
-
interface CNewParticleEffect {
|
|
135
107
|
/**
|
|
136
108
|
* Sets an entity to given control point for particle to use.
|
|
137
109
|
* @realm client
|
|
138
110
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:SetControlPointEntity
|
|
139
111
|
*/
|
|
140
112
|
SetControlPointEntity(self: CNewParticleEffect, cpID: number, parent: Entity): void;
|
|
141
|
-
}
|
|
142
113
|
|
|
143
|
-
interface CNewParticleEffect {
|
|
144
114
|
/**
|
|
145
115
|
* Sets the forward direction for given control point.
|
|
146
116
|
* @realm client
|
|
147
117
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:SetControlPointForwardVector
|
|
148
118
|
*/
|
|
149
119
|
SetControlPointForwardVector(self: CNewParticleEffect, cpID: number, forward: Vector): void;
|
|
150
|
-
}
|
|
151
120
|
|
|
152
|
-
interface CNewParticleEffect {
|
|
153
121
|
/**
|
|
154
122
|
* Sets the orientation for given control point.
|
|
155
123
|
* @realm client
|
|
156
124
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:SetControlPointOrientation
|
|
157
125
|
*/
|
|
158
126
|
SetControlPointOrientation(self: CNewParticleEffect, cpID: number, forward: Vector, right: Vector, up: Vector): void;
|
|
159
|
-
}
|
|
160
127
|
|
|
161
|
-
interface CNewParticleEffect {
|
|
162
128
|
/**
|
|
163
129
|
* Essentially makes child control point follow the parent control point.
|
|
164
130
|
* @realm client
|
|
165
131
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:SetControlPointParent
|
|
166
132
|
*/
|
|
167
133
|
SetControlPointParent(self: CNewParticleEffect, childID: number, parentID: number): void;
|
|
168
|
-
}
|
|
169
134
|
|
|
170
|
-
interface CNewParticleEffect {
|
|
171
135
|
/**
|
|
172
136
|
* Sets the right direction for given control point.
|
|
173
137
|
* @realm client
|
|
174
138
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:SetControlPointRightVector
|
|
175
139
|
*/
|
|
176
140
|
SetControlPointRightVector(self: CNewParticleEffect, cpID: number, right: Vector): void;
|
|
177
|
-
}
|
|
178
141
|
|
|
179
|
-
interface CNewParticleEffect {
|
|
180
142
|
/**
|
|
181
143
|
* Sets the upward direction for given control point.
|
|
182
144
|
* @realm client
|
|
183
145
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:SetControlPointUpVector
|
|
184
146
|
*/
|
|
185
147
|
SetControlPointUpVector(self: CNewParticleEffect, cpID: number, upward: Vector): void;
|
|
186
|
-
}
|
|
187
148
|
|
|
188
|
-
interface CNewParticleEffect {
|
|
189
149
|
/**
|
|
190
150
|
* Set whether this particle effect is a view model effect or not. This will have an effect on attachment positioning and other things.
|
|
191
151
|
* @realm client
|
|
192
152
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:SetIsViewModelEffect
|
|
193
153
|
*/
|
|
194
154
|
SetIsViewModelEffect(self: CNewParticleEffect, isViewModel: boolean): void;
|
|
195
|
-
}
|
|
196
155
|
|
|
197
|
-
interface CNewParticleEffect {
|
|
198
156
|
/**
|
|
199
157
|
* Forces the particle system to stop automatically rendering.
|
|
200
158
|
*
|
|
@@ -204,45 +162,35 @@ interface CNewParticleEffect {
|
|
|
204
162
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:SetShouldDraw
|
|
205
163
|
*/
|
|
206
164
|
SetShouldDraw(self: CNewParticleEffect, should: boolean): void;
|
|
207
|
-
}
|
|
208
165
|
|
|
209
|
-
interface CNewParticleEffect {
|
|
210
166
|
/**
|
|
211
167
|
* Sets whether the particle system should continue simulation or not. If simulation is paused, all currently active particles will be frozen in place.
|
|
212
168
|
* @realm client
|
|
213
169
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:SetShouldSimulate
|
|
214
170
|
*/
|
|
215
171
|
SetShouldSimulate(self: CNewParticleEffect, simulate: boolean): void;
|
|
216
|
-
}
|
|
217
172
|
|
|
218
|
-
interface CNewParticleEffect {
|
|
219
173
|
/**
|
|
220
174
|
* Sets the sort origin for given particle system. This is used as a helper to determine which particles are in front of which.
|
|
221
175
|
* @realm client
|
|
222
176
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:SetSortOrigin
|
|
223
177
|
*/
|
|
224
178
|
SetSortOrigin(self: CNewParticleEffect, origin: Vector): void;
|
|
225
|
-
}
|
|
226
179
|
|
|
227
|
-
interface CNewParticleEffect {
|
|
228
180
|
/**
|
|
229
181
|
* Starts the particle emission.
|
|
230
182
|
* @realm client
|
|
231
183
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:StartEmission
|
|
232
184
|
*/
|
|
233
185
|
StartEmission(self: CNewParticleEffect, infiniteOnly?: boolean): void;
|
|
234
|
-
}
|
|
235
186
|
|
|
236
|
-
interface CNewParticleEffect {
|
|
237
187
|
/**
|
|
238
188
|
* Stops the particle emission.
|
|
239
189
|
* @realm client
|
|
240
190
|
* @source https://wiki.facepunch.com/gmod/CNewParticleEffect:StopEmission
|
|
241
191
|
*/
|
|
242
192
|
StopEmission(self: CNewParticleEffect, infiniteOnly?: boolean, removeAllParticles?: boolean, wakeOnStop?: boolean): void;
|
|
243
|
-
}
|
|
244
193
|
|
|
245
|
-
interface CNewParticleEffect {
|
|
246
194
|
/**
|
|
247
195
|
* Stops particle emission and destroys all particles instantly. Also detaches the particle effect from the entity it was attached to.
|
|
248
196
|
*
|
|
@@ -256,4 +204,3 @@ interface CNewParticleEffect {
|
|
|
256
204
|
*/
|
|
257
205
|
StopEmissionAndDestroyImmediately(self: CNewParticleEffect): void;
|
|
258
206
|
}
|
|
259
|
-
|