@tlua/gmod 1.0.4 → 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/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 +4 -12
- 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
|
@@ -4,8 +4,6 @@
|
|
|
4
4
|
* A sound channel returned by a callback of [sound.PlayURL](https://wiki.facepunch.com/gmod/sound.PlayURL) and [sound.PlayFile](https://wiki.facepunch.com/gmod/sound.PlayFile).
|
|
5
5
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel
|
|
6
6
|
*/
|
|
7
|
-
interface IGModAudioChannel {}
|
|
8
|
-
|
|
9
7
|
interface IGModAudioChannel {
|
|
10
8
|
/**
|
|
11
9
|
* Enables or disables looping of audio channel, requires noblock flag.
|
|
@@ -13,9 +11,6 @@ interface IGModAudioChannel {
|
|
|
13
11
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel:EnableLooping
|
|
14
12
|
*/
|
|
15
13
|
EnableLooping(self: IGModAudioChannel, enable: boolean): void;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
interface IGModAudioChannel {
|
|
19
14
|
/**
|
|
20
15
|
* Computes the [DFT (discrete Fourier transform)](https://en.wikipedia.org/wiki/Discrete_Fourier_transform) of the sound channel.
|
|
21
16
|
*
|
|
@@ -33,18 +28,12 @@ interface IGModAudioChannel {
|
|
|
33
28
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel:FFT
|
|
34
29
|
*/
|
|
35
30
|
FFT(self: IGModAudioChannel, tbl: number[], size: FFT): number;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
interface IGModAudioChannel {
|
|
39
31
|
/**
|
|
40
32
|
* Returns 3D cone of the sound channel. See [IGModAudioChannel:Set3DCone](https://wiki.facepunch.com/gmod/IGModAudioChannel:Set3DCone).
|
|
41
33
|
* @realm client
|
|
42
34
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel:Get3DCone
|
|
43
35
|
*/
|
|
44
36
|
Get3DCone(self: IGModAudioChannel): (number, number, number);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
interface IGModAudioChannel {
|
|
48
37
|
/**
|
|
49
38
|
* Returns if the sound channel is currently in 3D mode or not. This value will be affected by [IGModAudioChannel:Set3DEnabled](https://wiki.facepunch.com/gmod/IGModAudioChannel:Set3DEnabled).
|
|
50
39
|
*
|
|
@@ -52,27 +41,18 @@ interface IGModAudioChannel {
|
|
|
52
41
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel:Get3DEnabled
|
|
53
42
|
*/
|
|
54
43
|
Get3DEnabled(self: IGModAudioChannel): boolean;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
interface IGModAudioChannel {
|
|
58
44
|
/**
|
|
59
45
|
* Returns 3D fade distances of a sound channel.
|
|
60
46
|
* @realm client
|
|
61
47
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel:Get3DFadeDistance
|
|
62
48
|
*/
|
|
63
49
|
Get3DFadeDistance(self: IGModAudioChannel): (number, number);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
interface IGModAudioChannel {
|
|
67
50
|
/**
|
|
68
51
|
* Returns the average bit rate of the sound channel.
|
|
69
52
|
* @realm client
|
|
70
53
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel:GetAverageBitRate
|
|
71
54
|
*/
|
|
72
55
|
GetAverageBitRate(self: IGModAudioChannel): number;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
interface IGModAudioChannel {
|
|
76
56
|
/**
|
|
77
57
|
* Retrieves the number of bits per sample of the sound channel.
|
|
78
58
|
*
|
|
@@ -82,9 +62,6 @@ interface IGModAudioChannel {
|
|
|
82
62
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel:GetBitsPerSample
|
|
83
63
|
*/
|
|
84
64
|
GetBitsPerSample(self: IGModAudioChannel): number;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
interface IGModAudioChannel {
|
|
88
65
|
/**
|
|
89
66
|
* Returns the buffered time of the sound channel in seconds, for online streaming sound channels. ([sound.PlayURL](https://wiki.facepunch.com/gmod/sound.PlayURL))
|
|
90
67
|
*
|
|
@@ -93,36 +70,24 @@ interface IGModAudioChannel {
|
|
|
93
70
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel:GetBufferedTime
|
|
94
71
|
*/
|
|
95
72
|
GetBufferedTime(self: IGModAudioChannel): number;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
interface IGModAudioChannel {
|
|
99
73
|
/**
|
|
100
74
|
* Returns the filename for the sound channel.
|
|
101
75
|
* @realm client
|
|
102
76
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel:GetFileName
|
|
103
77
|
*/
|
|
104
78
|
GetFileName(self: IGModAudioChannel): string;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
interface IGModAudioChannel {
|
|
108
79
|
/**
|
|
109
80
|
* Returns the length of sound played by the sound channel in seconds.
|
|
110
81
|
* @realm client
|
|
111
82
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel:GetLength
|
|
112
83
|
*/
|
|
113
84
|
GetLength(self: IGModAudioChannel): number;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
interface IGModAudioChannel {
|
|
117
85
|
/**
|
|
118
86
|
* Returns the right and left levels of sound played by the sound channel.
|
|
119
87
|
* @realm client
|
|
120
88
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel:GetLevel
|
|
121
89
|
*/
|
|
122
90
|
GetLevel(self: IGModAudioChannel): (number, number);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
interface IGModAudioChannel {
|
|
126
91
|
/**
|
|
127
92
|
* Gets the relative volume of the left and right channels.
|
|
128
93
|
*
|
|
@@ -130,45 +95,30 @@ interface IGModAudioChannel {
|
|
|
130
95
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel:GetPan
|
|
131
96
|
*/
|
|
132
97
|
GetPan(self: IGModAudioChannel): number;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
interface IGModAudioChannel {
|
|
136
98
|
/**
|
|
137
99
|
* Returns the playback rate of the sound channel.
|
|
138
100
|
* @realm client
|
|
139
101
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel:GetPlaybackRate
|
|
140
102
|
*/
|
|
141
103
|
GetPlaybackRate(self: IGModAudioChannel): number;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
interface IGModAudioChannel {
|
|
145
104
|
/**
|
|
146
105
|
* Returns position of the sound channel
|
|
147
106
|
* @realm client
|
|
148
107
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel:GetPos
|
|
149
108
|
*/
|
|
150
109
|
GetPos(self: IGModAudioChannel): Vector;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
interface IGModAudioChannel {
|
|
154
110
|
/**
|
|
155
111
|
* Returns the sample rate for currently playing sound.
|
|
156
112
|
* @realm client
|
|
157
113
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel:GetSamplingRate
|
|
158
114
|
*/
|
|
159
115
|
GetSamplingRate(self: IGModAudioChannel): number;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
interface IGModAudioChannel {
|
|
163
116
|
/**
|
|
164
117
|
* Returns the state of a sound channel
|
|
165
118
|
* @realm client
|
|
166
119
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel:GetState
|
|
167
120
|
*/
|
|
168
121
|
GetState(self: IGModAudioChannel): number;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
interface IGModAudioChannel {
|
|
172
122
|
/**
|
|
173
123
|
* Retrieves HTTP headers from a bass stream channel created by [sound.PlayURL](https://wiki.facepunch.com/gmod/sound.PlayURL), if available.
|
|
174
124
|
*
|
|
@@ -178,9 +128,6 @@ interface IGModAudioChannel {
|
|
|
178
128
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel:GetTagsHTTP
|
|
179
129
|
*/
|
|
180
130
|
GetTagsHTTP(self: IGModAudioChannel): string[];
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
interface IGModAudioChannel {
|
|
184
131
|
/**
|
|
185
132
|
* Retrieves the ID3 version 1 info from a bass channel created by [sound.PlayFile](https://wiki.facepunch.com/gmod/sound.PlayFile) or [sound.PlayURL](https://wiki.facepunch.com/gmod/sound.PlayURL), if available.
|
|
186
133
|
*
|
|
@@ -190,9 +137,6 @@ interface IGModAudioChannel {
|
|
|
190
137
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel:GetTagsID3
|
|
191
138
|
*/
|
|
192
139
|
GetTagsID3(self: IGModAudioChannel): table;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
interface IGModAudioChannel {
|
|
196
140
|
/**
|
|
197
141
|
* Retrieves `.m4a` media info, from a bass channel created by [sound.PlayURL](https://wiki.facepunch.com/gmod/sound.PlayURL) or [sound.PlayFile](https://wiki.facepunch.com/gmod/sound.PlayFile), if available.
|
|
198
142
|
*
|
|
@@ -200,9 +144,6 @@ interface IGModAudioChannel {
|
|
|
200
144
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel:GetTagsMP4
|
|
201
145
|
*/
|
|
202
146
|
GetTagsMP4(self: IGModAudioChannel): string[];
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
interface IGModAudioChannel {
|
|
206
147
|
/**
|
|
207
148
|
* Retrieves ICY metadata from a bass stream channel created by [sound.PlayURL](https://wiki.facepunch.com/gmod/sound.PlayURL), if available.
|
|
208
149
|
*
|
|
@@ -210,9 +151,6 @@ interface IGModAudioChannel {
|
|
|
210
151
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel:GetTagsMeta
|
|
211
152
|
*/
|
|
212
153
|
GetTagsMeta(self: IGModAudioChannel): string;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
interface IGModAudioChannel {
|
|
216
154
|
/**
|
|
217
155
|
* Retrieves OGG media info tag, from a bass channel created by [sound.PlayURL](https://wiki.facepunch.com/gmod/sound.PlayURL) or [sound.PlayFile](https://wiki.facepunch.com/gmod/sound.PlayFile), if available.
|
|
218
156
|
*
|
|
@@ -220,9 +158,6 @@ interface IGModAudioChannel {
|
|
|
220
158
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel:GetTagsOGG
|
|
221
159
|
*/
|
|
222
160
|
GetTagsOGG(self: IGModAudioChannel): string[];
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
interface IGModAudioChannel {
|
|
226
161
|
/**
|
|
227
162
|
* Retrieves OGG Vendor tag, usually containing the application that created the file, from a bass channel created by [sound.PlayURL](https://wiki.facepunch.com/gmod/sound.PlayURL) or [sound.PlayFile](https://wiki.facepunch.com/gmod/sound.PlayFile), if available.
|
|
228
163
|
*
|
|
@@ -230,9 +165,6 @@ interface IGModAudioChannel {
|
|
|
230
165
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel:GetTagsVendor
|
|
231
166
|
*/
|
|
232
167
|
GetTagsVendor(self: IGModAudioChannel): string;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
interface IGModAudioChannel {
|
|
236
168
|
/**
|
|
237
169
|
* Retrieves `.WMA` media info, from a bass channel created by [sound.PlayURL](https://wiki.facepunch.com/gmod/sound.PlayURL) or [sound.PlayFile](https://wiki.facepunch.com/gmod/sound.PlayFile), if available.
|
|
238
170
|
*
|
|
@@ -240,99 +172,66 @@ interface IGModAudioChannel {
|
|
|
240
172
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel:GetTagsWMA
|
|
241
173
|
*/
|
|
242
174
|
GetTagsWMA(self: IGModAudioChannel): string[];
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
interface IGModAudioChannel {
|
|
246
175
|
/**
|
|
247
176
|
* Returns the current time of the sound channel in seconds
|
|
248
177
|
* @realm client
|
|
249
178
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel:GetTime
|
|
250
179
|
*/
|
|
251
180
|
GetTime(self: IGModAudioChannel): number;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
interface IGModAudioChannel {
|
|
255
181
|
/**
|
|
256
182
|
* Returns volume of a sound channel
|
|
257
183
|
* @realm client
|
|
258
184
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel:GetVolume
|
|
259
185
|
*/
|
|
260
186
|
GetVolume(self: IGModAudioChannel): number;
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
interface IGModAudioChannel {
|
|
264
187
|
/**
|
|
265
188
|
* Returns if the sound channel is in 3D mode or not.
|
|
266
189
|
* @realm client
|
|
267
190
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel:Is3D
|
|
268
191
|
*/
|
|
269
192
|
Is3D(self: IGModAudioChannel): boolean;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
interface IGModAudioChannel {
|
|
273
193
|
/**
|
|
274
194
|
* Returns whether the audio stream is block streamed or not.
|
|
275
195
|
* @realm client
|
|
276
196
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel:IsBlockStreamed
|
|
277
197
|
*/
|
|
278
198
|
IsBlockStreamed(self: IGModAudioChannel): boolean;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
interface IGModAudioChannel {
|
|
282
199
|
/**
|
|
283
200
|
* Returns if the sound channel is looping or not.
|
|
284
201
|
* @realm client
|
|
285
202
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel:IsLooping
|
|
286
203
|
*/
|
|
287
204
|
IsLooping(self: IGModAudioChannel): boolean;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
interface IGModAudioChannel {
|
|
291
205
|
/**
|
|
292
206
|
* Returns if the sound channel is streamed from the Internet or not.
|
|
293
207
|
* @realm client
|
|
294
208
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel:IsOnline
|
|
295
209
|
*/
|
|
296
210
|
IsOnline(self: IGModAudioChannel): boolean;
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
interface IGModAudioChannel {
|
|
300
211
|
/**
|
|
301
212
|
* Returns if the sound channel is valid or not.
|
|
302
213
|
* @realm client
|
|
303
214
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel:IsValid
|
|
304
215
|
*/
|
|
305
216
|
IsValid(self: IGModAudioChannel): boolean;
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
interface IGModAudioChannel {
|
|
309
217
|
/**
|
|
310
218
|
* Pauses the stream. It can be started again using [IGModAudioChannel:Play](https://wiki.facepunch.com/gmod/IGModAudioChannel:Play)
|
|
311
219
|
* @realm client
|
|
312
220
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel:Pause
|
|
313
221
|
*/
|
|
314
222
|
Pause(self: IGModAudioChannel): void;
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
interface IGModAudioChannel {
|
|
318
223
|
/**
|
|
319
224
|
* Starts playing the stream.
|
|
320
225
|
* @realm client
|
|
321
226
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel:Play
|
|
322
227
|
*/
|
|
323
228
|
Play(self: IGModAudioChannel): void;
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
interface IGModAudioChannel {
|
|
327
229
|
/**
|
|
328
230
|
* Sets 3D cone of the sound channel.
|
|
329
231
|
* @realm client
|
|
330
232
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel:Set3DCone
|
|
331
233
|
*/
|
|
332
234
|
Set3DCone(self: IGModAudioChannel, innerAngle: number, outerAngle: number, outerVolume: number): void;
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
interface IGModAudioChannel {
|
|
336
235
|
/**
|
|
337
236
|
* Sets the 3D mode of the channel. This will affect [IGModAudioChannel:Get3DEnabled](https://wiki.facepunch.com/gmod/IGModAudioChannel:Get3DEnabled) but not [IGModAudioChannel:Is3D](https://wiki.facepunch.com/gmod/IGModAudioChannel:Is3D).
|
|
338
237
|
*
|
|
@@ -342,18 +241,12 @@ interface IGModAudioChannel {
|
|
|
342
241
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel:Set3DEnabled
|
|
343
242
|
*/
|
|
344
243
|
Set3DEnabled(self: IGModAudioChannel, enable: boolean): void;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
interface IGModAudioChannel {
|
|
348
244
|
/**
|
|
349
245
|
* Sets 3D fade distances of a sound channel.
|
|
350
246
|
* @realm client
|
|
351
247
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel:Set3DFadeDistance
|
|
352
248
|
*/
|
|
353
249
|
Set3DFadeDistance(self: IGModAudioChannel, min: number, max: number): void;
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
interface IGModAudioChannel {
|
|
357
250
|
/**
|
|
358
251
|
* Sets the relative volume of the left and right channels.
|
|
359
252
|
*
|
|
@@ -361,27 +254,18 @@ interface IGModAudioChannel {
|
|
|
361
254
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel:SetPan
|
|
362
255
|
*/
|
|
363
256
|
SetPan(self: IGModAudioChannel, pan: number): void;
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
interface IGModAudioChannel {
|
|
367
257
|
/**
|
|
368
258
|
* Sets the playback rate of the sound channel. May not work with high values for radio streams.
|
|
369
259
|
* @realm client
|
|
370
260
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel:SetPlaybackRate
|
|
371
261
|
*/
|
|
372
262
|
SetPlaybackRate(self: IGModAudioChannel, rate: number): void;
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
interface IGModAudioChannel {
|
|
376
263
|
/**
|
|
377
264
|
* Sets position of sound channel in case the sound channel has a 3d option set.
|
|
378
265
|
* @realm client
|
|
379
266
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel:SetPos
|
|
380
267
|
*/
|
|
381
268
|
SetPos(self: IGModAudioChannel, pos: Vector, dir?: Vector): void;
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
interface IGModAudioChannel {
|
|
385
269
|
/**
|
|
386
270
|
* Sets the sound channel to specified time ( Rewind to that position of the song ). Does not work on online radio streams.
|
|
387
271
|
*
|
|
@@ -394,18 +278,12 @@ interface IGModAudioChannel {
|
|
|
394
278
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel:SetTime
|
|
395
279
|
*/
|
|
396
280
|
SetTime(self: IGModAudioChannel, secs: number, dont_decode?: boolean): void;
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
interface IGModAudioChannel {
|
|
400
281
|
/**
|
|
401
282
|
* Sets the volume of a sound channel
|
|
402
283
|
* @realm client
|
|
403
284
|
* @source https://wiki.facepunch.com/gmod/IGModAudioChannel:SetVolume
|
|
404
285
|
*/
|
|
405
286
|
SetVolume(self: IGModAudioChannel, volume: number): void;
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
interface IGModAudioChannel {
|
|
409
287
|
/**
|
|
410
288
|
* Stop the stream. It can be started again using [IGModAudioChannel:Play](https://wiki.facepunch.com/gmod/IGModAudioChannel:Play).
|
|
411
289
|
*
|
|
@@ -417,3 +295,44 @@ interface IGModAudioChannel {
|
|
|
417
295
|
Stop(self: IGModAudioChannel): void;
|
|
418
296
|
}
|
|
419
297
|
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
|
|
@@ -11,18 +11,13 @@
|
|
|
11
11
|
* @realm client
|
|
12
12
|
* @source https://wiki.facepunch.com/gmod/ImageCheckBox
|
|
13
13
|
*/
|
|
14
|
-
interface ImageCheckBox extends Button {
|
|
15
|
-
|
|
16
|
-
interface ImageCheckBox {
|
|
14
|
+
interface ImageCheckBox extends Button {
|
|
17
15
|
/**
|
|
18
16
|
* Returns the checked state of the [ImageCheckBox](https://wiki.facepunch.com/gmod/ImageCheckBox)
|
|
19
17
|
* @realm client
|
|
20
18
|
* @source https://wiki.facepunch.com/gmod/ImageCheckBox:GetChecked
|
|
21
19
|
*/
|
|
22
20
|
GetChecked(self: ImageCheckBox): boolean;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
interface ImageCheckBox {
|
|
26
21
|
/**
|
|
27
22
|
* Sets the checked state of the checkbox.
|
|
28
23
|
*
|
|
@@ -32,9 +27,6 @@ interface ImageCheckBox {
|
|
|
32
27
|
* @source https://wiki.facepunch.com/gmod/ImageCheckBox:Set
|
|
33
28
|
*/
|
|
34
29
|
Set(self: ImageCheckBox, OnOff: boolean): void;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
interface ImageCheckBox {
|
|
38
30
|
/**
|
|
39
31
|
* Sets the checked state of the checkbox.
|
|
40
32
|
*
|
|
@@ -46,3 +38,6 @@ interface ImageCheckBox {
|
|
|
46
38
|
SetChecked(self: ImageCheckBox, bOn: boolean): void;
|
|
47
39
|
}
|
|
48
40
|
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|