@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
|
@@ -24,9 +24,6 @@ interface DebugoverlayLib {
|
|
|
24
24
|
* @source https://wiki.facepunch.com/gmod/debugoverlay.Axis
|
|
25
25
|
*/
|
|
26
26
|
Axis(origin: Vector, ang: Angle, size: number, lifetime?: number, ignoreZ?: boolean): void;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
interface DebugoverlayLib {
|
|
30
27
|
/**
|
|
31
28
|
* Displays a solid coloured box at the specified position.
|
|
32
29
|
*
|
|
@@ -39,9 +36,6 @@ interface DebugoverlayLib {
|
|
|
39
36
|
* @source https://wiki.facepunch.com/gmod/debugoverlay.Box
|
|
40
37
|
*/
|
|
41
38
|
Box(origin: Vector, mins: Vector, maxs: Vector, lifetime?: number, color?: Color): void;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
interface DebugoverlayLib {
|
|
45
39
|
/**
|
|
46
40
|
* Displays a solid colored rotated box at the specified position.
|
|
47
41
|
*
|
|
@@ -54,9 +48,6 @@ interface DebugoverlayLib {
|
|
|
54
48
|
* @source https://wiki.facepunch.com/gmod/debugoverlay.BoxAngles
|
|
55
49
|
*/
|
|
56
50
|
BoxAngles(pos: Vector, mins: Vector, maxs: Vector, ang: Angle, lifetime?: number, color?: Color): void;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
interface DebugoverlayLib {
|
|
60
51
|
/**
|
|
61
52
|
* Creates a coloured cross at the specified position for the specified time.
|
|
62
53
|
*
|
|
@@ -69,9 +60,6 @@ interface DebugoverlayLib {
|
|
|
69
60
|
* @source https://wiki.facepunch.com/gmod/debugoverlay.Cross
|
|
70
61
|
*/
|
|
71
62
|
Cross(position: Vector, size: number, lifetime?: number, color?: Color, ignoreZ?: boolean): void;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
interface DebugoverlayLib {
|
|
75
63
|
/**
|
|
76
64
|
* Displays 2D text at the specified coordinates.
|
|
77
65
|
*
|
|
@@ -84,9 +72,6 @@ interface DebugoverlayLib {
|
|
|
84
72
|
* @source https://wiki.facepunch.com/gmod/debugoverlay.EntityTextAtPosition
|
|
85
73
|
*/
|
|
86
74
|
EntityTextAtPosition(pos: Vector, line: number, text: string, lifetime?: number, color?: Color): void;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
interface DebugoverlayLib {
|
|
90
75
|
/**
|
|
91
76
|
* Draws a 3D grid of limited size in given position.
|
|
92
77
|
*
|
|
@@ -99,9 +84,6 @@ interface DebugoverlayLib {
|
|
|
99
84
|
* @source https://wiki.facepunch.com/gmod/debugoverlay.Grid
|
|
100
85
|
*/
|
|
101
86
|
Grid(position: Vector): void;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
interface DebugoverlayLib {
|
|
105
87
|
/**
|
|
106
88
|
* Displays a coloured line at the specified position.
|
|
107
89
|
*
|
|
@@ -114,9 +96,6 @@ interface DebugoverlayLib {
|
|
|
114
96
|
* @source https://wiki.facepunch.com/gmod/debugoverlay.Line
|
|
115
97
|
*/
|
|
116
98
|
Line(pos1: Vector, pos2: Vector, lifetime?: number, color?: Color, ignoreZ?: boolean): void;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
interface DebugoverlayLib {
|
|
120
99
|
/**
|
|
121
100
|
* Displays text triangle at the specified coordinates.
|
|
122
101
|
*
|
|
@@ -129,9 +108,6 @@ interface DebugoverlayLib {
|
|
|
129
108
|
* @source https://wiki.facepunch.com/gmod/debugoverlay.ScreenText
|
|
130
109
|
*/
|
|
131
110
|
ScreenText(x: number, y: number, text: string, lifetime?: number, color?: Color): void;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
interface DebugoverlayLib {
|
|
135
111
|
/**
|
|
136
112
|
* Displays a coloured sphere at the specified position.
|
|
137
113
|
*
|
|
@@ -144,9 +120,6 @@ interface DebugoverlayLib {
|
|
|
144
120
|
* @source https://wiki.facepunch.com/gmod/debugoverlay.Sphere
|
|
145
121
|
*/
|
|
146
122
|
Sphere(origin: Vector, size: number, lifetime?: number, color?: Color, ignoreZ?: boolean): void;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
interface DebugoverlayLib {
|
|
150
123
|
/**
|
|
151
124
|
* Displays "swept" box, two boxes connected with lines by their vertices.
|
|
152
125
|
*
|
|
@@ -159,9 +132,6 @@ interface DebugoverlayLib {
|
|
|
159
132
|
* @source https://wiki.facepunch.com/gmod/debugoverlay.SweptBox
|
|
160
133
|
*/
|
|
161
134
|
SweptBox(vStart: Vector, vEnd: Vector, vMins: Vector, vMaxs: Vector, ang: Angle, lifetime?: number, color?: Color): void;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
interface DebugoverlayLib {
|
|
165
135
|
/**
|
|
166
136
|
* Displays text at the specified position.
|
|
167
137
|
*
|
|
@@ -174,9 +144,6 @@ interface DebugoverlayLib {
|
|
|
174
144
|
* @source https://wiki.facepunch.com/gmod/debugoverlay.Text
|
|
175
145
|
*/
|
|
176
146
|
Text(origin: Vector, text: string, lifetime?: number, viewCheck?: boolean): void;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
interface DebugoverlayLib {
|
|
180
147
|
/**
|
|
181
148
|
* Displays a colored triangle at the specified coordinates.
|
|
182
149
|
*
|
|
@@ -191,3 +158,14 @@ interface DebugoverlayLib {
|
|
|
191
158
|
Triangle(pos1: Vector, pos2: Vector, pos3: Vector, lifetime?: number, color?: Color, ignoreZ?: boolean): void;
|
|
192
159
|
}
|
|
193
160
|
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
|
|
@@ -9,9 +9,7 @@
|
|
|
9
9
|
* @realm client
|
|
10
10
|
* @source https://wiki.facepunch.com/gmod/DEntityProperties
|
|
11
11
|
*/
|
|
12
|
-
interface DEntityProperties extends DProperties {
|
|
13
|
-
|
|
14
|
-
interface DEntityProperties {
|
|
12
|
+
interface DEntityProperties extends DProperties {
|
|
15
13
|
/**
|
|
16
14
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
17
15
|
*
|
|
@@ -22,9 +20,6 @@ interface DEntityProperties {
|
|
|
22
20
|
* @source https://wiki.facepunch.com/gmod/DEntityProperties:EditVariable
|
|
23
21
|
*/
|
|
24
22
|
EditVariable(self: DEntityProperties, varname: string, editdata: table): void;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
interface DEntityProperties {
|
|
28
23
|
/**
|
|
29
24
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
30
25
|
*
|
|
@@ -37,9 +32,6 @@ interface DEntityProperties {
|
|
|
37
32
|
* @source https://wiki.facepunch.com/gmod/DEntityProperties:EntityLost
|
|
38
33
|
*/
|
|
39
34
|
EntityLost(self: DEntityProperties): void;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
interface DEntityProperties {
|
|
43
35
|
/**
|
|
44
36
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
45
37
|
*
|
|
@@ -50,9 +42,6 @@ interface DEntityProperties {
|
|
|
50
42
|
* @source https://wiki.facepunch.com/gmod/DEntityProperties:RebuildControls
|
|
51
43
|
*/
|
|
52
44
|
RebuildControls(self: DEntityProperties): void;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
interface DEntityProperties {
|
|
56
45
|
/**
|
|
57
46
|
* Sets the entity to be edited by this panel. The entity must support the [Editable Entities](https://wiki.facepunch.com/gmod/Editable_Entities) system or nothing will happen.
|
|
58
47
|
* @realm client
|
|
@@ -61,3 +50,7 @@ interface DEntityProperties {
|
|
|
61
50
|
SetEntity(self: DEntityProperties, ent: Entity): void;
|
|
62
51
|
}
|
|
63
52
|
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
package/types/derma.d.tlua
CHANGED
|
@@ -13,9 +13,6 @@ interface DermaLib {
|
|
|
13
13
|
* @source https://wiki.facepunch.com/gmod/derma.Color
|
|
14
14
|
*/
|
|
15
15
|
Color(name: string, pnl: Panel, _default: Color): void;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
interface DermaLib {
|
|
19
16
|
/**
|
|
20
17
|
* Defines a new Derma control with an optional base.
|
|
21
18
|
*
|
|
@@ -29,72 +26,48 @@ interface DermaLib {
|
|
|
29
26
|
* @source https://wiki.facepunch.com/gmod/derma.DefineControl
|
|
30
27
|
*/
|
|
31
28
|
DefineControl(name: string, description: string, tab: table, base: string): table;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
interface DermaLib {
|
|
35
29
|
/**
|
|
36
30
|
* Defines a new skin so that it is usable by Derma. The default skin can be found in `garrysmod/lua/skins/default.lua`.
|
|
37
31
|
* @realm client and menu
|
|
38
32
|
* @source https://wiki.facepunch.com/gmod/derma.DefineSkin
|
|
39
33
|
*/
|
|
40
34
|
DefineSkin(name: string, descriptions: string, skin: table): void;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
interface DermaLib {
|
|
44
35
|
/**
|
|
45
36
|
* Returns the [derma.Controls](https://wiki.facepunch.com/gmod/derma.Controls) table, a list of all derma controls registered with [derma.DefineControl](https://wiki.facepunch.com/gmod/derma.DefineControl).
|
|
46
37
|
* @realm client and menu
|
|
47
38
|
* @source https://wiki.facepunch.com/gmod/derma.GetControlList
|
|
48
39
|
*/
|
|
49
40
|
GetControlList(): table;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
interface DermaLib {
|
|
53
41
|
/**
|
|
54
42
|
* Returns the default skin table, which can be changed with the hook [GM:ForceDermaSkin](https://wiki.facepunch.com/gmod/GM:ForceDermaSkin).
|
|
55
43
|
* @realm client and menu
|
|
56
44
|
* @source https://wiki.facepunch.com/gmod/derma.GetDefaultSkin
|
|
57
45
|
*/
|
|
58
46
|
GetDefaultSkin(): table;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
interface DermaLib {
|
|
62
47
|
/**
|
|
63
48
|
* Returns the skin table of the skin with the supplied name.
|
|
64
49
|
* @realm client and menu
|
|
65
50
|
* @source https://wiki.facepunch.com/gmod/derma.GetNamedSkin
|
|
66
51
|
*/
|
|
67
52
|
GetNamedSkin(name: string): table;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
interface DermaLib {
|
|
71
53
|
/**
|
|
72
54
|
* Returns a copy of the table containing every Derma skin.
|
|
73
55
|
* @realm client and menu
|
|
74
56
|
* @source https://wiki.facepunch.com/gmod/derma.GetSkinTable
|
|
75
57
|
*/
|
|
76
58
|
GetSkinTable(): table;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
interface DermaLib {
|
|
80
59
|
/**
|
|
81
60
|
* Clears all cached panels so that they reassess which skin they should be using.
|
|
82
61
|
* @realm client and menu
|
|
83
62
|
* @source https://wiki.facepunch.com/gmod/derma.RefreshSkins
|
|
84
63
|
*/
|
|
85
64
|
RefreshSkins(): void;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
interface DermaLib {
|
|
89
65
|
/**
|
|
90
66
|
* Returns how many times [derma.RefreshSkins](https://wiki.facepunch.com/gmod/derma.RefreshSkins) has been called.
|
|
91
67
|
* @realm client and menu
|
|
92
68
|
* @source https://wiki.facepunch.com/gmod/derma.SkinChangeIndex
|
|
93
69
|
*/
|
|
94
70
|
SkinChangeIndex(): number;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
interface DermaLib {
|
|
98
71
|
/**
|
|
99
72
|
* Checks if a matching hook function exists in the skin _(based on the concatenation of type and name args)_, then calls it.
|
|
100
73
|
*
|
|
@@ -103,9 +76,6 @@ interface DermaLib {
|
|
|
103
76
|
* @source https://wiki.facepunch.com/gmod/derma.SkinHook
|
|
104
77
|
*/
|
|
105
78
|
SkinHook(type: string, name: string, panel: Panel, vararg1?: any, vararg2?: any): any;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
interface DermaLib {
|
|
109
79
|
/**
|
|
110
80
|
* Returns a function to draw a specified texture of panels skin.
|
|
111
81
|
*
|
|
@@ -117,3 +87,13 @@ interface DermaLib {
|
|
|
117
87
|
SkinTexture(name: string, pnl: Panel, fallback?: function | any): (x: number, y: number, w: number, h: number, clr?: Color) => void;
|
|
118
88
|
}
|
|
119
89
|
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
@@ -8,18 +8,13 @@
|
|
|
8
8
|
* @realm client and menu
|
|
9
9
|
* @source https://wiki.facepunch.com/gmod/DExpandButton
|
|
10
10
|
*/
|
|
11
|
-
interface DExpandButton extends DButton {
|
|
12
|
-
|
|
13
|
-
interface DExpandButton {
|
|
11
|
+
interface DExpandButton extends DButton {
|
|
14
12
|
/**
|
|
15
13
|
* Returns whether this DExpandButton is expanded or not.
|
|
16
14
|
* @realm client and menu
|
|
17
15
|
* @source https://wiki.facepunch.com/gmod/DExpandButton:GetExpanded
|
|
18
16
|
*/
|
|
19
17
|
GetExpanded(self: DExpandButton): boolean;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
interface DExpandButton {
|
|
23
18
|
/**
|
|
24
19
|
* Sets whether this DExpandButton should be expanded or not. Only changes appearance.
|
|
25
20
|
* @realm client and menu
|
|
@@ -28,3 +23,5 @@ interface DExpandButton {
|
|
|
28
23
|
SetExpanded(self: DExpandButton, expanded: boolean): void;
|
|
29
24
|
}
|
|
30
25
|
|
|
26
|
+
|
|
27
|
+
|
|
@@ -5,36 +5,24 @@ interface DFileBrowser extends DPanel {
|
|
|
5
5
|
Divider: DHorizontalDivider;
|
|
6
6
|
/** The tree view panel for directory navigation. */
|
|
7
7
|
Tree: DTree;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
interface DFileBrowser {
|
|
11
8
|
/**
|
|
12
9
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that returns the root directory/folder of the file tree.
|
|
13
10
|
* @realm client
|
|
14
11
|
* @source https://wiki.facepunch.com/gmod/DFileBrowser:GetBaseFolder
|
|
15
12
|
*/
|
|
16
13
|
GetBaseFolder(self: DFileBrowser): string;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
interface DFileBrowser {
|
|
20
14
|
/**
|
|
21
15
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that returns the current directory/folder being displayed.
|
|
22
16
|
* @realm client
|
|
23
17
|
* @source https://wiki.facepunch.com/gmod/DFileBrowser:GetCurrentFolder
|
|
24
18
|
*/
|
|
25
19
|
GetCurrentFolder(self: DFileBrowser): string;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
interface DFileBrowser {
|
|
29
20
|
/**
|
|
30
21
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that returns the current file type filter on the file list.
|
|
31
22
|
* @realm client
|
|
32
23
|
* @source https://wiki.facepunch.com/gmod/DFileBrowser:GetFileTypes
|
|
33
24
|
*/
|
|
34
25
|
GetFileTypes(self: DFileBrowser): string;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
interface DFileBrowser {
|
|
38
26
|
/**
|
|
39
27
|
* Returns the [DTree Node](https://wiki.facepunch.com/gmod/DTree_Node) that the file tree stems from.
|
|
40
28
|
*
|
|
@@ -44,27 +32,18 @@ interface DFileBrowser {
|
|
|
44
32
|
* @source https://wiki.facepunch.com/gmod/DFileBrowser:GetFolderNode
|
|
45
33
|
*/
|
|
46
34
|
GetFolderNode(self: DFileBrowser): Panel;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
interface DFileBrowser {
|
|
50
35
|
/**
|
|
51
36
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that returns whether or not the model viewer mode is enabled. In this mode, files are displayed as [SpawnIcon](https://wiki.facepunch.com/gmod/SpawnIcon)s instead of a list.
|
|
52
37
|
* @realm client
|
|
53
38
|
* @source https://wiki.facepunch.com/gmod/DFileBrowser:GetModels
|
|
54
39
|
*/
|
|
55
40
|
GetModels(self: DFileBrowser): boolean;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
interface DFileBrowser {
|
|
59
41
|
/**
|
|
60
42
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that returns whether or not the file tree is open.
|
|
61
43
|
* @realm client
|
|
62
44
|
* @source https://wiki.facepunch.com/gmod/DFileBrowser:GetOpen
|
|
63
45
|
*/
|
|
64
46
|
GetOpen(self: DFileBrowser): boolean;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
interface DFileBrowser {
|
|
68
47
|
/**
|
|
69
48
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that returns the access path of the file tree. This is `GAME` unless changed with [DFileBrowser:SetPath](https://wiki.facepunch.com/gmod/DFileBrowser:SetPath).
|
|
70
49
|
*
|
|
@@ -74,18 +53,12 @@ interface DFileBrowser {
|
|
|
74
53
|
* @source https://wiki.facepunch.com/gmod/DFileBrowser:GetPath
|
|
75
54
|
*/
|
|
76
55
|
GetPath(self: DFileBrowser): string;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
interface DFileBrowser {
|
|
80
56
|
/**
|
|
81
57
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that returns the current search filter on the file tree.
|
|
82
58
|
* @realm client
|
|
83
59
|
* @source https://wiki.facepunch.com/gmod/DFileBrowser:GetSearch
|
|
84
60
|
*/
|
|
85
61
|
GetSearch(self: DFileBrowser): string;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
interface DFileBrowser {
|
|
89
62
|
/**
|
|
90
63
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that sets the root directory/folder of the file tree.
|
|
91
64
|
*
|
|
@@ -95,18 +68,12 @@ interface DFileBrowser {
|
|
|
95
68
|
* @source https://wiki.facepunch.com/gmod/DFileBrowser:SetBaseFolder
|
|
96
69
|
*/
|
|
97
70
|
SetBaseFolder(self: DFileBrowser, baseDir: string): void;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
interface DFileBrowser {
|
|
101
71
|
/**
|
|
102
72
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that sets the directory/folder from which to display the file list.
|
|
103
73
|
* @realm client
|
|
104
74
|
* @source https://wiki.facepunch.com/gmod/DFileBrowser:SetCurrentFolder
|
|
105
75
|
*/
|
|
106
76
|
SetCurrentFolder(self: DFileBrowser, currentDir: string): void;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
interface DFileBrowser {
|
|
110
77
|
/**
|
|
111
78
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that sets the file type filter for the file list.
|
|
112
79
|
*
|
|
@@ -116,9 +83,6 @@ interface DFileBrowser {
|
|
|
116
83
|
* @source https://wiki.facepunch.com/gmod/DFileBrowser:SetFileTypes
|
|
117
84
|
*/
|
|
118
85
|
SetFileTypes(self: DFileBrowser, fileTypes?: string): void;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
interface DFileBrowser {
|
|
122
86
|
/**
|
|
123
87
|
* Enables or disables the model viewer mode. In this mode, files are displayed as [SpawnIcon](https://wiki.facepunch.com/gmod/SpawnIcon)s instead of a list.
|
|
124
88
|
*
|
|
@@ -129,18 +93,12 @@ interface DFileBrowser {
|
|
|
129
93
|
* @source https://wiki.facepunch.com/gmod/DFileBrowser:SetModels
|
|
130
94
|
*/
|
|
131
95
|
SetModels(self: DFileBrowser, showModels?: boolean): void;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
interface DFileBrowser {
|
|
135
96
|
/**
|
|
136
97
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that opens or closes the file tree.
|
|
137
98
|
* @realm client
|
|
138
99
|
* @source https://wiki.facepunch.com/gmod/DFileBrowser:SetOpen
|
|
139
100
|
*/
|
|
140
101
|
SetOpen(self: DFileBrowser, open?: boolean, useAnim?: boolean): void;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
interface DFileBrowser {
|
|
144
102
|
/**
|
|
145
103
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that sets the access path for the file tree. This is set to `GAME` by default.
|
|
146
104
|
*
|
|
@@ -150,9 +108,6 @@ interface DFileBrowser {
|
|
|
150
108
|
* @source https://wiki.facepunch.com/gmod/DFileBrowser:SetPath
|
|
151
109
|
*/
|
|
152
110
|
SetPath(self: DFileBrowser, path: string): void;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
interface DFileBrowser {
|
|
156
111
|
/**
|
|
157
112
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that sets the search filter for the file tree.
|
|
158
113
|
*
|
|
@@ -162,9 +117,6 @@ interface DFileBrowser {
|
|
|
162
117
|
* @source https://wiki.facepunch.com/gmod/DFileBrowser:SetSearch
|
|
163
118
|
*/
|
|
164
119
|
SetSearch(self: DFileBrowser, filter?: string): void;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
interface DFileBrowser {
|
|
168
120
|
/**
|
|
169
121
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
170
122
|
* Called to set up the [DTree](https://wiki.facepunch.com/gmod/DTree) and file viewer when a base path has been set.
|
|
@@ -175,9 +127,6 @@ interface DFileBrowser {
|
|
|
175
127
|
* @source https://wiki.facepunch.com/gmod/DFileBrowser:Setup
|
|
176
128
|
*/
|
|
177
129
|
Setup(self: DFileBrowser): boolean;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
interface DFileBrowser {
|
|
181
130
|
/**
|
|
182
131
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
183
132
|
* Called to set up the [DListView](https://wiki.facepunch.com/gmod/DListView) or [DIconBrowser](https://wiki.facepunch.com/gmod/DIconBrowser) by [DFileBrowser:Setup](https://wiki.facepunch.com/gmod/DFileBrowser:Setup).
|
|
@@ -188,9 +137,6 @@ interface DFileBrowser {
|
|
|
188
137
|
* @source https://wiki.facepunch.com/gmod/DFileBrowser:SetupFiles
|
|
189
138
|
*/
|
|
190
139
|
SetupFiles(self: DFileBrowser): boolean;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
interface DFileBrowser {
|
|
194
140
|
/**
|
|
195
141
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
196
142
|
* Called to set up the [DTree](https://wiki.facepunch.com/gmod/DTree) by [DFileBrowser:Setup](https://wiki.facepunch.com/gmod/DFileBrowser:Setup).
|
|
@@ -198,9 +144,6 @@ interface DFileBrowser {
|
|
|
198
144
|
* @source https://wiki.facepunch.com/gmod/DFileBrowser:SetupTree
|
|
199
145
|
*/
|
|
200
146
|
SetupTree(self: DFileBrowser): boolean;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
interface DFileBrowser {
|
|
204
147
|
/**
|
|
205
148
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
206
149
|
* Builds the file or icon list for the current directory.
|
|
@@ -211,9 +154,6 @@ interface DFileBrowser {
|
|
|
211
154
|
* @source https://wiki.facepunch.com/gmod/DFileBrowser:ShowFolder
|
|
212
155
|
*/
|
|
213
156
|
ShowFolder(self: DFileBrowser, currentDir: string): void;
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
interface DFileBrowser {
|
|
217
157
|
/**
|
|
218
158
|
* Sorts the file list.
|
|
219
159
|
*
|
|
@@ -226,3 +166,23 @@ interface DFileBrowser {
|
|
|
226
166
|
SortFiles(self: DFileBrowser, descending?: boolean): void;
|
|
227
167
|
}
|
|
228
168
|
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
package/types/dform.d.tlua
CHANGED
|
@@ -5,9 +5,7 @@
|
|
|
5
5
|
* @realm client and menu
|
|
6
6
|
* @source https://wiki.facepunch.com/gmod/DForm
|
|
7
7
|
*/
|
|
8
|
-
interface DForm extends DCollapsibleCategory {
|
|
9
|
-
|
|
10
|
-
interface DForm {
|
|
8
|
+
interface DForm extends DCollapsibleCategory {
|
|
11
9
|
/**
|
|
12
10
|
* Adds one or two items to the DForm.
|
|
13
11
|
* If this method is called with only one argument, it is added to the bottom of the form. If two arguments are passed, they are placed side-by-side at the bottom of the form.
|
|
@@ -18,18 +16,12 @@ interface DForm {
|
|
|
18
16
|
* @source https://wiki.facepunch.com/gmod/DForm:AddItem
|
|
19
17
|
*/
|
|
20
18
|
AddItem(self: DForm, left: Panel, right?: Panel): void;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
interface DForm {
|
|
24
19
|
/**
|
|
25
20
|
* Adds a [DButton](https://wiki.facepunch.com/gmod/DButton) onto the [DForm](https://wiki.facepunch.com/gmod/DForm)
|
|
26
21
|
* @realm client and menu
|
|
27
22
|
* @source https://wiki.facepunch.com/gmod/DForm:Button
|
|
28
23
|
*/
|
|
29
24
|
Button(self: DForm, text: string, concommand?: string, ...: any): DButton;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
interface DForm {
|
|
33
25
|
/**
|
|
34
26
|
* Adds a [DCheckBoxLabel](https://wiki.facepunch.com/gmod/DCheckBoxLabel) onto the [DForm](https://wiki.facepunch.com/gmod/DForm).
|
|
35
27
|
* **NOTE**: This will run [DCheckBoxLabel:OnChange](https://wiki.facepunch.com/gmod/DCheckBoxLabel:OnChange) when being added. This is caused by [Panel:SetConVar](https://wiki.facepunch.com/gmod/Panel:SetConVar) being used when this function is used. To avoid this, use [DForm:AddItem](https://wiki.facepunch.com/gmod/DForm:AddItem) with a [DCheckBoxLabel](https://wiki.facepunch.com/gmod/DCheckBoxLabel).
|
|
@@ -38,27 +30,18 @@ interface DForm {
|
|
|
38
30
|
* @source https://wiki.facepunch.com/gmod/DForm:CheckBox
|
|
39
31
|
*/
|
|
40
32
|
CheckBox(self: DForm, label: string, convar: string): DCheckBoxLabel;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
interface DForm {
|
|
44
33
|
/**
|
|
45
34
|
* Adds a [DComboBox](https://wiki.facepunch.com/gmod/DComboBox) onto the [DForm](https://wiki.facepunch.com/gmod/DForm)
|
|
46
35
|
* @realm client and menu
|
|
47
36
|
* @source https://wiki.facepunch.com/gmod/DForm:ComboBox
|
|
48
37
|
*/
|
|
49
38
|
ComboBox(self: DForm, title: string, convar: string): (DComboBox, DLabel);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
interface DForm {
|
|
53
39
|
/**
|
|
54
40
|
* Adds a [DLabel](https://wiki.facepunch.com/gmod/DLabel) onto the [DForm](https://wiki.facepunch.com/gmod/DForm). Unlike [DForm:Help](https://wiki.facepunch.com/gmod/DForm:Help), this is indented and is colored blue, depending on the derma skin.
|
|
55
41
|
* @realm client and menu
|
|
56
42
|
* @source https://wiki.facepunch.com/gmod/DForm:ControlHelp
|
|
57
43
|
*/
|
|
58
44
|
ControlHelp(self: DForm, help: string): DLabel;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
interface DForm {
|
|
62
45
|
/**
|
|
63
46
|
* An Accessor Function in DForm that does nothing.
|
|
64
47
|
*
|
|
@@ -66,9 +49,6 @@ interface DForm {
|
|
|
66
49
|
* @source https://wiki.facepunch.com/gmod/DForm:GetAutoSize
|
|
67
50
|
*/
|
|
68
51
|
GetAutoSize(self: DForm): boolean;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
interface DForm {
|
|
72
52
|
/**
|
|
73
53
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that does nothing.
|
|
74
54
|
*
|
|
@@ -76,18 +56,12 @@ interface DForm {
|
|
|
76
56
|
* @source https://wiki.facepunch.com/gmod/DForm:GetSpacing
|
|
77
57
|
*/
|
|
78
58
|
GetSpacing(self: DForm): number;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
interface DForm {
|
|
82
59
|
/**
|
|
83
60
|
* Adds a [DLabel](https://wiki.facepunch.com/gmod/DLabel) onto the [DForm](https://wiki.facepunch.com/gmod/DForm) as a helper
|
|
84
61
|
* @realm client and menu
|
|
85
62
|
* @source https://wiki.facepunch.com/gmod/DForm:Help
|
|
86
63
|
*/
|
|
87
64
|
Help(self: DForm, help: string): DLabel;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
interface DForm {
|
|
91
65
|
/**
|
|
92
66
|
* Adds a [DListBox](https://wiki.facepunch.com/gmod/DListBox) onto the [DForm](https://wiki.facepunch.com/gmod/DForm)
|
|
93
67
|
*
|
|
@@ -96,27 +70,18 @@ interface DForm {
|
|
|
96
70
|
* @deprecated Use DListView with DForm:AddItem instead.
|
|
97
71
|
*/
|
|
98
72
|
ListBox(self: DForm, label?: string): (DListBox, DLabel);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
interface DForm {
|
|
102
73
|
/**
|
|
103
74
|
* Adds a [DNumSlider](https://wiki.facepunch.com/gmod/DNumSlider) onto the [DForm](https://wiki.facepunch.com/gmod/DForm)
|
|
104
75
|
* @realm client and menu
|
|
105
76
|
* @source https://wiki.facepunch.com/gmod/DForm:NumSlider
|
|
106
77
|
*/
|
|
107
78
|
NumSlider(self: DForm, label: string, convar: string, min: number, max: number, decimals?: number): DNumSlider;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
interface DForm {
|
|
111
79
|
/**
|
|
112
80
|
* Adds a [DNumberWang](https://wiki.facepunch.com/gmod/DNumberWang) onto the [DForm](https://wiki.facepunch.com/gmod/DForm)
|
|
113
81
|
* @realm client and menu
|
|
114
82
|
* @source https://wiki.facepunch.com/gmod/DForm:NumberWang
|
|
115
83
|
*/
|
|
116
84
|
NumberWang(self: DForm, label: string, convar: string, min: number, max: number, decimals?: number): (DNumberWang, DLabel);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
interface DForm {
|
|
120
85
|
/**
|
|
121
86
|
* Creates a [DPanelSelect](https://wiki.facepunch.com/gmod/DPanelSelect) and docks it to the top of the DForm.
|
|
122
87
|
* @realm client and menu
|
|
@@ -124,18 +89,12 @@ interface DForm {
|
|
|
124
89
|
* @deprecated This is derived from the deprecated DPanelSelect.
|
|
125
90
|
*/
|
|
126
91
|
PanelSelect(self: DForm): DPanelSelect;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
interface DForm {
|
|
130
92
|
/**
|
|
131
93
|
* Creates a [PropSelect](https://wiki.facepunch.com/gmod/PropSelect) panel and docks it to the top of the DForm.
|
|
132
94
|
* @realm client and menu
|
|
133
95
|
* @source https://wiki.facepunch.com/gmod/DForm:PropSelect
|
|
134
96
|
*/
|
|
135
97
|
PropSelect(self: DForm, label: string, convar: string, models: table, height?: number): PropSelect;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
interface DForm {
|
|
139
98
|
/**
|
|
140
99
|
* Does nothing.
|
|
141
100
|
*
|
|
@@ -143,9 +102,6 @@ interface DForm {
|
|
|
143
102
|
* @source https://wiki.facepunch.com/gmod/DForm:Rebuild
|
|
144
103
|
*/
|
|
145
104
|
Rebuild(self: DForm): void;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
interface DForm {
|
|
149
105
|
/**
|
|
150
106
|
* an [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that does nothing
|
|
151
107
|
*
|
|
@@ -153,9 +109,6 @@ interface DForm {
|
|
|
153
109
|
* @source https://wiki.facepunch.com/gmod/DForm:SetAutoSize
|
|
154
110
|
*/
|
|
155
111
|
SetAutoSize(self: DForm, arg0: boolean): void;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
interface DForm {
|
|
159
112
|
/**
|
|
160
113
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that does nothing.
|
|
161
114
|
*
|
|
@@ -163,9 +116,6 @@ interface DForm {
|
|
|
163
116
|
* @source https://wiki.facepunch.com/gmod/DForm:SetSpacing
|
|
164
117
|
*/
|
|
165
118
|
SetSpacing(self: DForm, arg0: number): void;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
interface DForm {
|
|
169
119
|
/**
|
|
170
120
|
* Adds a [DTextEntry](https://wiki.facepunch.com/gmod/DTextEntry) to a [DForm](https://wiki.facepunch.com/gmod/DForm)
|
|
171
121
|
* @realm client and menu
|
|
@@ -174,3 +124,20 @@ interface DForm {
|
|
|
174
124
|
TextEntry(self: DForm, label: string, convar: string): (DTextEntry, DLabel);
|
|
175
125
|
}
|
|
176
126
|
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|