Add media player FGD

This commit is contained in:
samuelmaddock 2018-07-28 01:48:44 -04:00
parent 73d293c84f
commit 21abccc43b

11
mediaplayer.fgd Normal file
View 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"
]