mirror of
https://github.com/samuelmaddock/gm-mediaplayer.git
synced 2025-03-04 03:03:02 -05:00
Add media player FGD
This commit is contained in:
parent
73d293c84f
commit
21abccc43b
11
mediaplayer.fgd
Normal file
11
mediaplayer.fgd
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
@PointClass base(Targetname, Origin, Angles) studioprop() = mediaplayer_tv : "Plays media"
|
||||||
|
[
|
||||||
|
output OnMediaStarted(void) : "Fired when media playback begins"
|
||||||
|
output OnQueueEmpty(void) : "Fired when all queued media finishes playing"
|
||||||
|
|
||||||
|
input AddPlayer(void) : "Adds the activator to the list of media listeners"
|
||||||
|
input RemovePlayer(void) : "Removes the activator from the list of media listeners"
|
||||||
|
input RemoveAllPlayers(void) : "Removes all players from the list of media listeners"
|
||||||
|
input PlayPauseMedia(void) : "Toggles the play or pause state of the current media"
|
||||||
|
input ClearMedia(void) : "Clears all queued and active media"
|
||||||
|
]
|
Loading…
Reference in New Issue
Block a user