@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/dtree.d.tlua
CHANGED
|
@@ -8,18 +8,14 @@
|
|
|
8
8
|
* @realm client and menu
|
|
9
9
|
* @source https://wiki.facepunch.com/gmod/DTree
|
|
10
10
|
*/
|
|
11
|
-
interface DTree extends DScrollPanel {
|
|
12
|
-
|
|
13
|
-
interface DTree {
|
|
11
|
+
interface DTree extends DScrollPanel {
|
|
14
12
|
/**
|
|
15
13
|
* Add a node to the DTree
|
|
16
14
|
* @realm client and menu
|
|
17
15
|
* @source https://wiki.facepunch.com/gmod/DTree:AddNode
|
|
18
16
|
*/
|
|
19
17
|
AddNode(self: DTree, name: string, icon?: string): Panel;
|
|
20
|
-
}
|
|
21
18
|
|
|
22
|
-
interface DTree {
|
|
23
19
|
/**
|
|
24
20
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
25
21
|
*
|
|
@@ -32,18 +28,14 @@ interface DTree {
|
|
|
32
28
|
* @source https://wiki.facepunch.com/gmod/DTree:ExpandTo
|
|
33
29
|
*/
|
|
34
30
|
ExpandTo(self: DTree, bExpand: boolean): void;
|
|
35
|
-
}
|
|
36
31
|
|
|
37
|
-
interface DTree {
|
|
38
32
|
/**
|
|
39
33
|
* Returns the status of [DTree:SetClickOnDragHover](https://wiki.facepunch.com/gmod/DTree:SetClickOnDragHover). See that for more info.
|
|
40
34
|
* @realm client and menu
|
|
41
35
|
* @source https://wiki.facepunch.com/gmod/DTree:GetClickOnDragHover
|
|
42
36
|
*/
|
|
43
37
|
GetClickOnDragHover(self: DTree): boolean;
|
|
44
|
-
}
|
|
45
38
|
|
|
46
|
-
interface DTree {
|
|
47
39
|
/**
|
|
48
40
|
* Returns the indentation size of the [DTree](https://wiki.facepunch.com/gmod/DTree), the distance between each "level" of the tree is offset on the left from the previous level.
|
|
49
41
|
*
|
|
@@ -53,18 +45,14 @@ interface DTree {
|
|
|
53
45
|
* @source https://wiki.facepunch.com/gmod/DTree:GetIndentSize
|
|
54
46
|
*/
|
|
55
47
|
GetIndentSize(self: DTree): number;
|
|
56
|
-
}
|
|
57
48
|
|
|
58
|
-
interface DTree {
|
|
59
49
|
/**
|
|
60
50
|
* Returns the currently selected node.
|
|
61
51
|
* @realm client and menu
|
|
62
52
|
* @source https://wiki.facepunch.com/gmod/DTree:GetSelectedItem
|
|
63
53
|
*/
|
|
64
54
|
GetSelectedItem(self: DTree): Panel;
|
|
65
|
-
}
|
|
66
55
|
|
|
67
|
-
interface DTree {
|
|
68
56
|
/**
|
|
69
57
|
* Returns whether or not the [Silkicons](https://wiki.facepunch.com/gmod/Silkicons) next to each node of the DTree will be displayed.
|
|
70
58
|
*
|
|
@@ -74,9 +62,7 @@ interface DTree {
|
|
|
74
62
|
* @source https://wiki.facepunch.com/gmod/DTree:GetShowIcons
|
|
75
63
|
*/
|
|
76
64
|
GetShowIcons(self: DTree): boolean;
|
|
77
|
-
}
|
|
78
65
|
|
|
79
|
-
interface DTree {
|
|
80
66
|
/**
|
|
81
67
|
* Does nothing.
|
|
82
68
|
*
|
|
@@ -84,9 +70,7 @@ interface DTree {
|
|
|
84
70
|
* @source https://wiki.facepunch.com/gmod/DTree:LayoutTree
|
|
85
71
|
*/
|
|
86
72
|
LayoutTree(self: DTree): void;
|
|
87
|
-
}
|
|
88
73
|
|
|
89
|
-
interface DTree {
|
|
90
74
|
/**
|
|
91
75
|
* Moves given node to the top of [DTree](https://wiki.facepunch.com/gmod/DTree)s children. (Makes it the topmost mode)
|
|
92
76
|
*
|
|
@@ -98,18 +82,14 @@ interface DTree {
|
|
|
98
82
|
* @source https://wiki.facepunch.com/gmod/DTree:MoveChildTo
|
|
99
83
|
*/
|
|
100
84
|
MoveChildTo(self: DTree, child: Panel, pos: number): void;
|
|
101
|
-
}
|
|
102
85
|
|
|
103
|
-
interface DTree {
|
|
104
86
|
/**
|
|
105
87
|
* Returns the root [DTree_Node](https://wiki.facepunch.com/gmod/DTree_Node), the node that is the parent to all other nodes of the DTree.
|
|
106
88
|
* @realm client and menu
|
|
107
89
|
* @source https://wiki.facepunch.com/gmod/DTree:Root
|
|
108
90
|
*/
|
|
109
91
|
Root(self: DTree): Panel;
|
|
110
|
-
}
|
|
111
92
|
|
|
112
|
-
interface DTree {
|
|
113
93
|
/**
|
|
114
94
|
* Enables the "click when drag-hovering" functionality.
|
|
115
95
|
*
|
|
@@ -121,9 +101,7 @@ interface DTree {
|
|
|
121
101
|
* @source https://wiki.facepunch.com/gmod/DTree:SetClickOnDragHover
|
|
122
102
|
*/
|
|
123
103
|
SetClickOnDragHover(self: DTree, enable: boolean): void;
|
|
124
|
-
}
|
|
125
104
|
|
|
126
|
-
interface DTree {
|
|
127
105
|
/**
|
|
128
106
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
129
107
|
*
|
|
@@ -136,9 +114,7 @@ interface DTree {
|
|
|
136
114
|
* @source https://wiki.facepunch.com/gmod/DTree:SetExpanded
|
|
137
115
|
*/
|
|
138
116
|
SetExpanded(self: DTree, bExpand: boolean): void;
|
|
139
|
-
}
|
|
140
117
|
|
|
141
|
-
interface DTree {
|
|
142
118
|
/**
|
|
143
119
|
* Sets the indentation size of the [DTree](https://wiki.facepunch.com/gmod/DTree), the distance between each "level" of the tree is offset on the left from the previous level.
|
|
144
120
|
*
|
|
@@ -148,18 +124,14 @@ interface DTree {
|
|
|
148
124
|
* @source https://wiki.facepunch.com/gmod/DTree:SetIndentSize
|
|
149
125
|
*/
|
|
150
126
|
SetIndentSize(self: DTree, size: number): void;
|
|
151
|
-
}
|
|
152
127
|
|
|
153
|
-
interface DTree {
|
|
154
128
|
/**
|
|
155
129
|
* Set the currently selected top-level node.
|
|
156
130
|
* @realm client and menu
|
|
157
131
|
* @source https://wiki.facepunch.com/gmod/DTree:SetSelectedItem
|
|
158
132
|
*/
|
|
159
133
|
SetSelectedItem(self: DTree, node: Panel): void;
|
|
160
|
-
}
|
|
161
134
|
|
|
162
|
-
interface DTree {
|
|
163
135
|
/**
|
|
164
136
|
* Sets whether or not the [Silkicons](https://wiki.facepunch.com/gmod/Silkicons) next to each node of the DTree will be displayed.
|
|
165
137
|
*
|
|
@@ -169,9 +141,7 @@ interface DTree {
|
|
|
169
141
|
* @source https://wiki.facepunch.com/gmod/DTree:SetShowIcons
|
|
170
142
|
*/
|
|
171
143
|
SetShowIcons(self: DTree, show: boolean): void;
|
|
172
|
-
}
|
|
173
144
|
|
|
174
|
-
interface DTree {
|
|
175
145
|
/**
|
|
176
146
|
* Returns whether or not the [Silkicons](https://wiki.facepunch.com/gmod/Silkicons) next to each node of the DTree will be displayed.
|
|
177
147
|
*
|
|
@@ -182,4 +152,3 @@ interface DTree {
|
|
|
182
152
|
*/
|
|
183
153
|
ShowIcons(self: DTree): boolean;
|
|
184
154
|
}
|
|
185
|
-
|