@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/dmodelpanel.d.tlua
CHANGED
|
@@ -5,9 +5,7 @@
|
|
|
5
5
|
* @realm client
|
|
6
6
|
* @source https://wiki.facepunch.com/gmod/DModelPanel
|
|
7
7
|
*/
|
|
8
|
-
interface DModelPanel extends DButton {
|
|
9
|
-
|
|
10
|
-
interface DModelPanel {
|
|
8
|
+
interface DModelPanel extends DButton {
|
|
11
9
|
/**
|
|
12
10
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
13
11
|
* Used by the DModelPanel's paint hook to draw the model and background.
|
|
@@ -15,108 +13,84 @@ interface DModelPanel {
|
|
|
15
13
|
* @source https://wiki.facepunch.com/gmod/DModelPanel:DrawModel
|
|
16
14
|
*/
|
|
17
15
|
DrawModel(self: DModelPanel): void;
|
|
18
|
-
}
|
|
19
16
|
|
|
20
|
-
interface DModelPanel {
|
|
21
17
|
/**
|
|
22
18
|
* Returns the ambient lighting used on the rendered entity.
|
|
23
19
|
* @realm client
|
|
24
20
|
* @source https://wiki.facepunch.com/gmod/DModelPanel:GetAmbientLight
|
|
25
21
|
*/
|
|
26
22
|
GetAmbientLight(self: DModelPanel): Color;
|
|
27
|
-
}
|
|
28
23
|
|
|
29
|
-
interface DModelPanel {
|
|
30
24
|
/**
|
|
31
25
|
* Returns the animation speed of the panel entity, see [DModelPanel:SetAnimSpeed](https://wiki.facepunch.com/gmod/DModelPanel:SetAnimSpeed).
|
|
32
26
|
* @realm client
|
|
33
27
|
* @source https://wiki.facepunch.com/gmod/DModelPanel:GetAnimSpeed
|
|
34
28
|
*/
|
|
35
29
|
GetAnimSpeed(self: DModelPanel): number;
|
|
36
|
-
}
|
|
37
30
|
|
|
38
|
-
interface DModelPanel {
|
|
39
31
|
/**
|
|
40
32
|
* Returns whether or not the panel entity should be animated when the default [DModelPanel:LayoutEntity](https://wiki.facepunch.com/gmod/DModelPanel:LayoutEntity) function is called.
|
|
41
33
|
* @realm client
|
|
42
34
|
* @source https://wiki.facepunch.com/gmod/DModelPanel:GetAnimated
|
|
43
35
|
*/
|
|
44
36
|
GetAnimated(self: DModelPanel): boolean;
|
|
45
|
-
}
|
|
46
37
|
|
|
47
|
-
interface DModelPanel {
|
|
48
38
|
/**
|
|
49
39
|
* Returns the position of the model viewing camera.
|
|
50
40
|
* @realm client
|
|
51
41
|
* @source https://wiki.facepunch.com/gmod/DModelPanel:GetCamPos
|
|
52
42
|
*/
|
|
53
43
|
GetCamPos(self: DModelPanel): Vector;
|
|
54
|
-
}
|
|
55
44
|
|
|
56
|
-
interface DModelPanel {
|
|
57
45
|
/**
|
|
58
46
|
* Returns the entity being rendered by the model panel.
|
|
59
47
|
* @realm client
|
|
60
48
|
* @source https://wiki.facepunch.com/gmod/DModelPanel:GetEntity
|
|
61
49
|
*/
|
|
62
50
|
GetEntity(self: DModelPanel): CSEnt;
|
|
63
|
-
}
|
|
64
51
|
|
|
65
|
-
interface DModelPanel {
|
|
66
52
|
/**
|
|
67
53
|
* Returns the FOV (field of view) the camera is using.
|
|
68
54
|
* @realm client
|
|
69
55
|
* @source https://wiki.facepunch.com/gmod/DModelPanel:GetFOV
|
|
70
56
|
*/
|
|
71
57
|
GetFOV(self: DModelPanel): number;
|
|
72
|
-
}
|
|
73
58
|
|
|
74
|
-
interface DModelPanel {
|
|
75
59
|
/**
|
|
76
60
|
* Returns the angles of the model viewing camera. Is **nil** until changed with [DModelPanel:SetLookAng](https://wiki.facepunch.com/gmod/DModelPanel:SetLookAng).
|
|
77
61
|
* @realm client
|
|
78
62
|
* @source https://wiki.facepunch.com/gmod/DModelPanel:GetLookAng
|
|
79
63
|
*/
|
|
80
64
|
GetLookAng(self: DModelPanel): Angle;
|
|
81
|
-
}
|
|
82
65
|
|
|
83
|
-
interface DModelPanel {
|
|
84
66
|
/**
|
|
85
67
|
* Returns the position the viewing camera is pointing toward.
|
|
86
68
|
* @realm client
|
|
87
69
|
* @source https://wiki.facepunch.com/gmod/DModelPanel:GetLookAt
|
|
88
70
|
*/
|
|
89
71
|
GetLookAt(self: DModelPanel): Vector;
|
|
90
|
-
}
|
|
91
72
|
|
|
92
|
-
interface DModelPanel {
|
|
93
73
|
/**
|
|
94
74
|
* Gets the model of the rendered entity.
|
|
95
75
|
* @realm client
|
|
96
76
|
* @source https://wiki.facepunch.com/gmod/DModelPanel:GetModel
|
|
97
77
|
*/
|
|
98
78
|
GetModel(self: DModelPanel): string;
|
|
99
|
-
}
|
|
100
79
|
|
|
101
|
-
interface DModelPanel {
|
|
102
80
|
/**
|
|
103
81
|
* This function is used in [DModelPanel:LayoutEntity](https://wiki.facepunch.com/gmod/DModelPanel:LayoutEntity). It will progress the animation, set using [Entity:SetSequence](https://wiki.facepunch.com/gmod/Entity:SetSequence). By default, it is the walking animation.
|
|
104
82
|
* @realm client
|
|
105
83
|
* @source https://wiki.facepunch.com/gmod/DModelPanel:RunAnimation
|
|
106
84
|
*/
|
|
107
85
|
RunAnimation(self: DModelPanel): void;
|
|
108
|
-
}
|
|
109
86
|
|
|
110
|
-
interface DModelPanel {
|
|
111
87
|
/**
|
|
112
88
|
* Sets the ambient lighting used on the rendered entity.
|
|
113
89
|
* @realm client
|
|
114
90
|
* @source https://wiki.facepunch.com/gmod/DModelPanel:SetAmbientLight
|
|
115
91
|
*/
|
|
116
92
|
SetAmbientLight(self: DModelPanel, color: Color): void;
|
|
117
|
-
}
|
|
118
93
|
|
|
119
|
-
interface DModelPanel {
|
|
120
94
|
/**
|
|
121
95
|
* Sets the speed used by [DModelPanel:RunAnimation](https://wiki.facepunch.com/gmod/DModelPanel:RunAnimation) to advance frame on an entity sequence.
|
|
122
96
|
*
|
|
@@ -127,36 +101,28 @@ interface DModelPanel {
|
|
|
127
101
|
* @source https://wiki.facepunch.com/gmod/DModelPanel:SetAnimSpeed
|
|
128
102
|
*/
|
|
129
103
|
SetAnimSpeed(self: DModelPanel, animSpeed: number): void;
|
|
130
|
-
}
|
|
131
104
|
|
|
132
|
-
interface DModelPanel {
|
|
133
105
|
/**
|
|
134
106
|
* Sets whether or not to animate the entity when the default [DModelPanel:LayoutEntity](https://wiki.facepunch.com/gmod/DModelPanel:LayoutEntity) is called.
|
|
135
107
|
* @realm client
|
|
136
108
|
* @source https://wiki.facepunch.com/gmod/DModelPanel:SetAnimated
|
|
137
109
|
*/
|
|
138
110
|
SetAnimated(self: DModelPanel, animated: boolean): void;
|
|
139
|
-
}
|
|
140
111
|
|
|
141
|
-
interface DModelPanel {
|
|
142
112
|
/**
|
|
143
113
|
* Sets the position of the camera.
|
|
144
114
|
* @realm client
|
|
145
115
|
* @source https://wiki.facepunch.com/gmod/DModelPanel:SetCamPos
|
|
146
116
|
*/
|
|
147
117
|
SetCamPos(self: DModelPanel, pos: Vector): void;
|
|
148
|
-
}
|
|
149
118
|
|
|
150
|
-
interface DModelPanel {
|
|
151
119
|
/**
|
|
152
120
|
* Sets the directional lighting used on the rendered entity.
|
|
153
121
|
* @realm client
|
|
154
122
|
* @source https://wiki.facepunch.com/gmod/DModelPanel:SetDirectionalLight
|
|
155
123
|
*/
|
|
156
124
|
SetDirectionalLight(self: DModelPanel, direction: number, color: Color): void;
|
|
157
|
-
}
|
|
158
125
|
|
|
159
|
-
interface DModelPanel {
|
|
160
126
|
/**
|
|
161
127
|
* Sets the entity to be rendered by the model panel.
|
|
162
128
|
*
|
|
@@ -167,36 +133,28 @@ interface DModelPanel {
|
|
|
167
133
|
* @source https://wiki.facepunch.com/gmod/DModelPanel:SetEntity
|
|
168
134
|
*/
|
|
169
135
|
SetEntity(self: DModelPanel, ent: Entity): void;
|
|
170
|
-
}
|
|
171
136
|
|
|
172
|
-
interface DModelPanel {
|
|
173
137
|
/**
|
|
174
138
|
* Sets the panel camera's FOV (field of view).
|
|
175
139
|
* @realm client
|
|
176
140
|
* @source https://wiki.facepunch.com/gmod/DModelPanel:SetFOV
|
|
177
141
|
*/
|
|
178
142
|
SetFOV(self: DModelPanel, fov: number): void;
|
|
179
|
-
}
|
|
180
143
|
|
|
181
|
-
interface DModelPanel {
|
|
182
144
|
/**
|
|
183
145
|
* Sets the angles of the camera.
|
|
184
146
|
* @realm client
|
|
185
147
|
* @source https://wiki.facepunch.com/gmod/DModelPanel:SetLookAng
|
|
186
148
|
*/
|
|
187
149
|
SetLookAng(self: DModelPanel, ang: Angle): void;
|
|
188
|
-
}
|
|
189
150
|
|
|
190
|
-
interface DModelPanel {
|
|
191
151
|
/**
|
|
192
152
|
* Makes the panel's camera face the given position. Basically sets the camera's angles ([DModelPanel:SetLookAng](https://wiki.facepunch.com/gmod/DModelPanel:SetLookAng)) after doing some math.
|
|
193
153
|
* @realm client
|
|
194
154
|
* @source https://wiki.facepunch.com/gmod/DModelPanel:SetLookAt
|
|
195
155
|
*/
|
|
196
156
|
SetLookAt(self: DModelPanel, pos: Vector): void;
|
|
197
|
-
}
|
|
198
157
|
|
|
199
|
-
interface DModelPanel {
|
|
200
158
|
/**
|
|
201
159
|
* Runs a [Global.ClientsideScene](https://wiki.facepunch.com/gmod/Global.ClientsideScene) on the panel's entity.
|
|
202
160
|
* @realm client
|
|
@@ -204,4 +162,3 @@ interface DModelPanel {
|
|
|
204
162
|
*/
|
|
205
163
|
StartScene(self: DModelPanel, path: string): void;
|
|
206
164
|
}
|
|
207
|
-
|
|
@@ -7,9 +7,7 @@
|
|
|
7
7
|
* @source https://wiki.facepunch.com/gmod/DModelSelect
|
|
8
8
|
* @deprecated This is derived from the deprecated DPanelList.
|
|
9
9
|
*/
|
|
10
|
-
interface DModelSelect extends DPanelSelect {
|
|
11
|
-
|
|
12
|
-
interface DModelSelect {
|
|
10
|
+
interface DModelSelect extends DPanelSelect {
|
|
13
11
|
/**
|
|
14
12
|
* Called to set the list of models within the panel element.
|
|
15
13
|
* @realm client
|
|
@@ -17,4 +15,3 @@ interface DModelSelect {
|
|
|
17
15
|
*/
|
|
18
16
|
SetModelList(self: DModelSelect, models: table, convar: string, dontSort: boolean, dontCallListConVars: boolean): void;
|
|
19
17
|
}
|
|
20
|
-
|
|
@@ -6,9 +6,7 @@
|
|
|
6
6
|
* @realm client
|
|
7
7
|
* @source https://wiki.facepunch.com/gmod/DModelSelectMulti
|
|
8
8
|
*/
|
|
9
|
-
interface DModelSelectMulti extends DPropertySheet {
|
|
10
|
-
|
|
11
|
-
interface DModelSelectMulti {
|
|
9
|
+
interface DModelSelectMulti extends DPropertySheet {
|
|
12
10
|
/**
|
|
13
11
|
* Adds a new tab of models.
|
|
14
12
|
* @realm client and menu
|
|
@@ -16,4 +14,3 @@ interface DModelSelectMulti {
|
|
|
16
14
|
*/
|
|
17
15
|
AddModelList(self: DModelSelectMulti, name: string, models: table, convar: string, dontSort: boolean, dontCallListConVars: boolean): void;
|
|
18
16
|
}
|
|
19
|
-
|
package/types/dnotify.d.tlua
CHANGED
|
@@ -5,36 +5,28 @@
|
|
|
5
5
|
* @realm client
|
|
6
6
|
* @source https://wiki.facepunch.com/gmod/DNotify
|
|
7
7
|
*/
|
|
8
|
-
interface DNotify extends Panel {
|
|
9
|
-
|
|
10
|
-
interface DNotify {
|
|
8
|
+
interface DNotify extends Panel {
|
|
11
9
|
/**
|
|
12
10
|
* Adds a panel to the notification
|
|
13
11
|
* @realm client
|
|
14
12
|
* @source https://wiki.facepunch.com/gmod/DNotify:AddItem
|
|
15
13
|
*/
|
|
16
14
|
AddItem(self: DNotify, pnl: Panel, lifeLength?: number): void;
|
|
17
|
-
}
|
|
18
15
|
|
|
19
|
-
interface DNotify {
|
|
20
16
|
/**
|
|
21
17
|
* Returns the current alignment of this notification panel. Set by [DNotify:SetAlignment](https://wiki.facepunch.com/gmod/DNotify:SetAlignment).
|
|
22
18
|
* @realm client
|
|
23
19
|
* @source https://wiki.facepunch.com/gmod/DNotify:GetAlignment
|
|
24
20
|
*/
|
|
25
21
|
GetAlignment(self: DNotify): number;
|
|
26
|
-
}
|
|
27
22
|
|
|
28
|
-
interface DNotify {
|
|
29
23
|
/**
|
|
30
24
|
* Returns all the items added with [DNotify:AddItem](https://wiki.facepunch.com/gmod/DNotify:AddItem).
|
|
31
25
|
* @realm client
|
|
32
26
|
* @source https://wiki.facepunch.com/gmod/DNotify:GetItems
|
|
33
27
|
*/
|
|
34
28
|
GetItems(self: DNotify): table;
|
|
35
|
-
}
|
|
36
29
|
|
|
37
|
-
interface DNotify {
|
|
38
30
|
/**
|
|
39
31
|
* Returns the display time in seconds of the DNotify. This is set with
|
|
40
32
|
* [DNotify:SetLife](https://wiki.facepunch.com/gmod/DNotify:SetLife).
|
|
@@ -43,45 +35,35 @@ interface DNotify {
|
|
|
43
35
|
* @source https://wiki.facepunch.com/gmod/DNotify:GetLife
|
|
44
36
|
*/
|
|
45
37
|
GetLife(self: DNotify): number;
|
|
46
|
-
}
|
|
47
38
|
|
|
48
|
-
interface DNotify {
|
|
49
39
|
/**
|
|
50
40
|
* Returns the spacing between items set by [DNotify:SetSpacing](https://wiki.facepunch.com/gmod/DNotify:SetSpacing).
|
|
51
41
|
* @realm client
|
|
52
42
|
* @source https://wiki.facepunch.com/gmod/DNotify:GetSpacing
|
|
53
43
|
*/
|
|
54
44
|
GetSpacing(self: DNotify): number;
|
|
55
|
-
}
|
|
56
45
|
|
|
57
|
-
interface DNotify {
|
|
58
46
|
/**
|
|
59
47
|
* Sets the alignment of the child panels in the notification
|
|
60
48
|
* @realm client
|
|
61
49
|
* @source https://wiki.facepunch.com/gmod/DNotify:SetAlignment
|
|
62
50
|
*/
|
|
63
51
|
SetAlignment(self: DNotify, alignment: number): void;
|
|
64
|
-
}
|
|
65
52
|
|
|
66
|
-
interface DNotify {
|
|
67
53
|
/**
|
|
68
54
|
* Sets the display time in seconds for the DNotify.
|
|
69
55
|
* @realm client
|
|
70
56
|
* @source https://wiki.facepunch.com/gmod/DNotify:SetLife
|
|
71
57
|
*/
|
|
72
58
|
SetLife(self: DNotify, time: number): void;
|
|
73
|
-
}
|
|
74
59
|
|
|
75
|
-
interface DNotify {
|
|
76
60
|
/**
|
|
77
61
|
* Sets the spacing between child elements of the notification panel.
|
|
78
62
|
* @realm client
|
|
79
63
|
* @source https://wiki.facepunch.com/gmod/DNotify:SetSpacing
|
|
80
64
|
*/
|
|
81
65
|
SetSpacing(self: DNotify, spacing: number): void;
|
|
82
|
-
}
|
|
83
66
|
|
|
84
|
-
interface DNotify {
|
|
85
67
|
/**
|
|
86
68
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
87
69
|
* Used internally to position and fade in/out its [DNotify:GetItems](https://wiki.facepunch.com/gmod/DNotify:GetItems).
|
|
@@ -90,4 +72,3 @@ interface DNotify {
|
|
|
90
72
|
*/
|
|
91
73
|
Shuffle(self: DNotify): void;
|
|
92
74
|
}
|
|
93
|
-
|
|
@@ -7,9 +7,7 @@
|
|
|
7
7
|
* @realm client and menu
|
|
8
8
|
* @source https://wiki.facepunch.com/gmod/DNumberScratch
|
|
9
9
|
*/
|
|
10
|
-
interface DNumberScratch extends DImageButton {
|
|
11
|
-
|
|
12
|
-
interface DNumberScratch {
|
|
10
|
+
interface DNumberScratch extends DImageButton {
|
|
13
11
|
/**
|
|
14
12
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
15
13
|
*
|
|
@@ -20,9 +18,7 @@ interface DNumberScratch {
|
|
|
20
18
|
* @source https://wiki.facepunch.com/gmod/DNumberScratch:DrawNotches
|
|
21
19
|
*/
|
|
22
20
|
DrawNotches(self: DNumberScratch, level: number, x: number, y: number, w: number, h: number, range: number, value: number, min: number, max: number): void;
|
|
23
|
-
}
|
|
24
21
|
|
|
25
|
-
interface DNumberScratch {
|
|
26
22
|
/**
|
|
27
23
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
28
24
|
*
|
|
@@ -33,27 +29,21 @@ interface DNumberScratch {
|
|
|
33
29
|
* @source https://wiki.facepunch.com/gmod/DNumberScratch:DrawScreen
|
|
34
30
|
*/
|
|
35
31
|
DrawScreen(self: DNumberScratch, x: number, y: number, w: number, h: number): void;
|
|
36
|
-
}
|
|
37
32
|
|
|
38
|
-
interface DNumberScratch {
|
|
39
33
|
/**
|
|
40
34
|
* Returns whether this panel is active or not, i.e. if the player is currently changing its value.
|
|
41
35
|
* @realm client and menu
|
|
42
36
|
* @source https://wiki.facepunch.com/gmod/DNumberScratch:GetActive
|
|
43
37
|
*/
|
|
44
38
|
GetActive(self: DNumberScratch): boolean;
|
|
45
|
-
}
|
|
46
39
|
|
|
47
|
-
interface DNumberScratch {
|
|
48
40
|
/**
|
|
49
41
|
* Returns the desired amount of numbers after the decimal point.
|
|
50
42
|
* @realm client and menu
|
|
51
43
|
* @source https://wiki.facepunch.com/gmod/DNumberScratch:GetDecimals
|
|
52
44
|
*/
|
|
53
45
|
GetDecimals(self: DNumberScratch): number;
|
|
54
|
-
}
|
|
55
46
|
|
|
56
|
-
interface DNumberScratch {
|
|
57
47
|
/**
|
|
58
48
|
* Returns the real value of the [DNumberScratch](https://wiki.facepunch.com/gmod/DNumberScratch) as a number.
|
|
59
49
|
*
|
|
@@ -63,9 +53,7 @@ interface DNumberScratch {
|
|
|
63
53
|
* @source https://wiki.facepunch.com/gmod/DNumberScratch:GetFloatValue
|
|
64
54
|
*/
|
|
65
55
|
GetFloatValue(self: DNumberScratch): number;
|
|
66
|
-
}
|
|
67
56
|
|
|
68
|
-
interface DNumberScratch {
|
|
69
57
|
/**
|
|
70
58
|
* Returns the value of the [DNumberScratch](https://wiki.facepunch.com/gmod/DNumberScratch) as a fraction, a value between 0 and 1 where 0 is the minimum and 1 is the maximum value of the [DNumberScratch](https://wiki.facepunch.com/gmod/DNumberScratch).
|
|
71
59
|
*
|
|
@@ -78,45 +66,35 @@ interface DNumberScratch {
|
|
|
78
66
|
* @source https://wiki.facepunch.com/gmod/DNumberScratch:GetFraction
|
|
79
67
|
*/
|
|
80
68
|
GetFraction(self: DNumberScratch): number;
|
|
81
|
-
}
|
|
82
69
|
|
|
83
|
-
interface DNumberScratch {
|
|
84
70
|
/**
|
|
85
71
|
* Returns the maximum value that can be selected on the number scratch
|
|
86
72
|
* @realm client and menu
|
|
87
73
|
* @source https://wiki.facepunch.com/gmod/DNumberScratch:GetMax
|
|
88
74
|
*/
|
|
89
75
|
GetMax(self: DNumberScratch): number;
|
|
90
|
-
}
|
|
91
76
|
|
|
92
|
-
interface DNumberScratch {
|
|
93
77
|
/**
|
|
94
78
|
* Returns the minimum value that can be selected on the number scratch
|
|
95
79
|
* @realm client and menu
|
|
96
80
|
* @source https://wiki.facepunch.com/gmod/DNumberScratch:GetMin
|
|
97
81
|
*/
|
|
98
82
|
GetMin(self: DNumberScratch): number;
|
|
99
|
-
}
|
|
100
83
|
|
|
101
|
-
interface DNumberScratch {
|
|
102
84
|
/**
|
|
103
85
|
* Returns the range of the [DNumberScratch](https://wiki.facepunch.com/gmod/DNumberScratch). Basically max value - min value.
|
|
104
86
|
* @realm client and menu
|
|
105
87
|
* @source https://wiki.facepunch.com/gmod/DNumberScratch:GetRange
|
|
106
88
|
*/
|
|
107
89
|
GetRange(self: DNumberScratch): number;
|
|
108
|
-
}
|
|
109
90
|
|
|
110
|
-
interface DNumberScratch {
|
|
111
91
|
/**
|
|
112
92
|
* Returns whether the scratch window should be visible or not.
|
|
113
93
|
* @realm client and menu
|
|
114
94
|
* @source https://wiki.facepunch.com/gmod/DNumberScratch:GetShouldDrawScreen
|
|
115
95
|
*/
|
|
116
96
|
GetShouldDrawScreen(self: DNumberScratch): boolean;
|
|
117
|
-
}
|
|
118
97
|
|
|
119
|
-
interface DNumberScratch {
|
|
120
98
|
/**
|
|
121
99
|
* Returns the real value of the [DNumberScratch](https://wiki.facepunch.com/gmod/DNumberScratch) as a string.
|
|
122
100
|
*
|
|
@@ -126,36 +104,28 @@ interface DNumberScratch {
|
|
|
126
104
|
* @source https://wiki.facepunch.com/gmod/DNumberScratch:GetTextValue
|
|
127
105
|
*/
|
|
128
106
|
GetTextValue(self: DNumberScratch): string;
|
|
129
|
-
}
|
|
130
107
|
|
|
131
|
-
interface DNumberScratch {
|
|
132
108
|
/**
|
|
133
109
|
* Returns the zoom level of the scratch window
|
|
134
110
|
* @realm client and menu
|
|
135
111
|
* @source https://wiki.facepunch.com/gmod/DNumberScratch:GetZoom
|
|
136
112
|
*/
|
|
137
113
|
GetZoom(self: DNumberScratch): number;
|
|
138
|
-
}
|
|
139
114
|
|
|
140
|
-
interface DNumberScratch {
|
|
141
115
|
/**
|
|
142
116
|
* Returns the ideal zoom level for the panel based on the [DNumberScratch:GetRange](https://wiki.facepunch.com/gmod/DNumberScratch:GetRange).
|
|
143
117
|
* @realm client and menu
|
|
144
118
|
* @source https://wiki.facepunch.com/gmod/DNumberScratch:IdealZoom
|
|
145
119
|
*/
|
|
146
120
|
IdealZoom(self: DNumberScratch): number;
|
|
147
|
-
}
|
|
148
121
|
|
|
149
|
-
interface DNumberScratch {
|
|
150
122
|
/**
|
|
151
123
|
* Returns whether the player is currently editing the value of the [DNumberScratch](https://wiki.facepunch.com/gmod/DNumberScratch).
|
|
152
124
|
* @realm client and menu
|
|
153
125
|
* @source https://wiki.facepunch.com/gmod/DNumberScratch:IsEditing
|
|
154
126
|
*/
|
|
155
127
|
IsEditing(self: DNumberScratch): boolean;
|
|
156
|
-
}
|
|
157
128
|
|
|
158
|
-
interface DNumberScratch {
|
|
159
129
|
/**
|
|
160
130
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
161
131
|
*
|
|
@@ -166,9 +136,7 @@ interface DNumberScratch {
|
|
|
166
136
|
* @source https://wiki.facepunch.com/gmod/DNumberScratch:LockCursor
|
|
167
137
|
*/
|
|
168
138
|
LockCursor(self: DNumberScratch): void;
|
|
169
|
-
}
|
|
170
139
|
|
|
171
|
-
interface DNumberScratch {
|
|
172
140
|
/**
|
|
173
141
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
174
142
|
*
|
|
@@ -179,9 +147,7 @@ interface DNumberScratch {
|
|
|
179
147
|
* @source https://wiki.facepunch.com/gmod/DNumberScratch:PaintScratchWindow
|
|
180
148
|
*/
|
|
181
149
|
PaintScratchWindow(self: DNumberScratch): void;
|
|
182
|
-
}
|
|
183
150
|
|
|
184
|
-
interface DNumberScratch {
|
|
185
151
|
/**
|
|
186
152
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
187
153
|
*
|
|
@@ -194,18 +160,14 @@ interface DNumberScratch {
|
|
|
194
160
|
* @source https://wiki.facepunch.com/gmod/DNumberScratch:SetActive
|
|
195
161
|
*/
|
|
196
162
|
SetActive(self: DNumberScratch, active: boolean): void;
|
|
197
|
-
}
|
|
198
163
|
|
|
199
|
-
interface DNumberScratch {
|
|
200
164
|
/**
|
|
201
165
|
* Sets the desired amount of numbers after the decimal point.
|
|
202
166
|
* @realm client and menu
|
|
203
167
|
* @source https://wiki.facepunch.com/gmod/DNumberScratch:SetDecimals
|
|
204
168
|
*/
|
|
205
169
|
SetDecimals(self: DNumberScratch, decimals: number): void;
|
|
206
|
-
}
|
|
207
170
|
|
|
208
|
-
interface DNumberScratch {
|
|
209
171
|
/**
|
|
210
172
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
211
173
|
*
|
|
@@ -218,36 +180,28 @@ interface DNumberScratch {
|
|
|
218
180
|
* @source https://wiki.facepunch.com/gmod/DNumberScratch:SetFloatValue
|
|
219
181
|
*/
|
|
220
182
|
SetFloatValue(self: DNumberScratch, val: number): void;
|
|
221
|
-
}
|
|
222
183
|
|
|
223
|
-
interface DNumberScratch {
|
|
224
184
|
/**
|
|
225
185
|
* Sets the value of the [DNumberScratch](https://wiki.facepunch.com/gmod/DNumberScratch) as a fraction, a value between 0 and 1 where 0 is the minimum and 1 is the maximum value of the [DNumberScratch](https://wiki.facepunch.com/gmod/DNumberScratch)
|
|
226
186
|
* @realm client and menu
|
|
227
187
|
* @source https://wiki.facepunch.com/gmod/DNumberScratch:SetFraction
|
|
228
188
|
*/
|
|
229
189
|
SetFraction(self: DNumberScratch, frac: number): void;
|
|
230
|
-
}
|
|
231
190
|
|
|
232
|
-
interface DNumberScratch {
|
|
233
191
|
/**
|
|
234
192
|
* Sets the max value that can be selected on the number scratch
|
|
235
193
|
* @realm client and menu
|
|
236
194
|
* @source https://wiki.facepunch.com/gmod/DNumberScratch:SetMax
|
|
237
195
|
*/
|
|
238
196
|
SetMax(self: DNumberScratch, max: number): void;
|
|
239
|
-
}
|
|
240
197
|
|
|
241
|
-
interface DNumberScratch {
|
|
242
198
|
/**
|
|
243
199
|
* Sets the minimum value that can be selected on the number scratch.
|
|
244
200
|
* @realm client and menu
|
|
245
201
|
* @source https://wiki.facepunch.com/gmod/DNumberScratch:SetMin
|
|
246
202
|
*/
|
|
247
203
|
SetMin(self: DNumberScratch, min: number): void;
|
|
248
|
-
}
|
|
249
204
|
|
|
250
|
-
interface DNumberScratch {
|
|
251
205
|
/**
|
|
252
206
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
253
207
|
*
|
|
@@ -258,18 +212,14 @@ interface DNumberScratch {
|
|
|
258
212
|
* @source https://wiki.facepunch.com/gmod/DNumberScratch:SetShouldDrawScreen
|
|
259
213
|
*/
|
|
260
214
|
SetShouldDrawScreen(self: DNumberScratch, shouldDraw: boolean): void;
|
|
261
|
-
}
|
|
262
215
|
|
|
263
|
-
interface DNumberScratch {
|
|
264
216
|
/**
|
|
265
217
|
* Sets the zoom level of the scratch panel.
|
|
266
218
|
* @realm client and menu
|
|
267
219
|
* @source https://wiki.facepunch.com/gmod/DNumberScratch:SetZoom
|
|
268
220
|
*/
|
|
269
221
|
SetZoom(self: DNumberScratch, zoom: number): void;
|
|
270
|
-
}
|
|
271
222
|
|
|
272
|
-
interface DNumberScratch {
|
|
273
223
|
/**
|
|
274
224
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
275
225
|
*
|
|
@@ -281,4 +231,3 @@ interface DNumberScratch {
|
|
|
281
231
|
*/
|
|
282
232
|
UpdateConVar(self: DNumberScratch): void;
|
|
283
233
|
}
|
|
284
|
-
|