![]() |
Nuclide
Software Development Kit for id Technology (BETA)
|
Shared: User Placed/Controlled Video.
An in-world video stream that has been placed down by a player.
For remote video sources, it currently relies on the ffmpeg plugin for FTEQW to be installed. Local videos work fine, as long as they're in the RoQ format.
Public Member Functions | |
| void | ncUserEntity_Video (void) |
| virtual void | Spawned (void) |
| Called when the entity is fully initialized. More... | |
| virtual void | EvaluateEntity (void) |
| Run each tic after physics are run to determine if we need to send updates over the network. More... | |
| virtual float | SendEntity (entity ePEnt, float flChanged) |
| Called by the engine whenever we need to send a client an update about this entity. More... | |
| nonvirtual void | Stop (void) |
| nonvirtual void | Place (ncPlayer videoSharer, string videoName, string videoTitle, string videoPreview, string videoURL, string audioURL) |
| virtual void | ReceiveEntity (float flNew, float flChanged) |
| Client: Handles network updates from the server for the associated entity. More... | |
| void ncUserEntity_Video::ncUserEntity_Video | ( | void | ) |
|
virtual |
Run each tic after physics are run to determine if we need to send updates over the network.
Reimplemented from ncMediaSurface.
| void ncUserEntity_Video::Place | ( | ncPlayer | videoSharer, |
| string | videoName, | ||
| string | videoTitle, | ||
| string | videoPreview, | ||
| string | videoURL, | ||
| string | audioURL | ||
| ) |
|
virtual |
Client: Handles network updates from the server for the associated entity.
Reimplemented from ncMediaSurface.
|
virtual |
Called by the engine whenever we need to send a client an update about this entity.
Reimplemented from ncMediaSurface.
|
virtual |
Called when the entity is fully initialized.
Any spawn key/value info pairs have already been dealt with. So now we can make full decisions on the entity. Always make sure to call super::Spawned(); inside your method when overriding.
Reimplemented from ncUserEntity.
| void ncUserEntity_Video::Stop | ( | void | ) |