Nuclide
Software Development Kit for id Technology (BETA)
ncUserEntity_Audio Class Reference

About this class

Shared: User Placed/Controlled Audio Stream.

An in-world audio stream that has been placed down by a player.

It currently relies on the cef plugin for FTEQW to be installed.

Inheritance diagram for ncUserEntity_Audio:
ncUserEntity

Public Member Functions

void ncUserEntity_Audio (void)
 
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 Place (ncPlayer audioSharer, string audioName, string audioURL, string audioPreview)
 
virtual void ReceiveEntity (float flNew, float flChanged)
 Client: Handles network updates from the server for the associated entity. More...
 

Constructor & Destructor Documentation

◆ ncUserEntity_Audio()

void ncUserEntity_Audio::ncUserEntity_Audio ( void  )

Member Function Documentation

◆ EvaluateEntity()

void ncUserEntity_Audio::EvaluateEntity ( void  )
virtual

Run each tic after physics are run to determine if we need to send updates over the network.

Reimplemented from ncMediaSurface.

◆ Place()

void ncUserEntity_Audio::Place ( ncPlayer  audioSharer,
string  audioName,
string  audioURL,
string  audioPreview 
)

◆ ReceiveEntity()

void ncUserEntity_Audio::ReceiveEntity ( float  flNew,
float  flChanged 
)
virtual

Client: Handles network updates from the server for the associated entity.

Reimplemented from ncMediaSurface.

◆ SendEntity()

float ncUserEntity_Audio::SendEntity ( entity  ,
float   
)
virtual

Called by the engine whenever we need to send a client an update about this entity.

Reimplemented from ncMediaSurface.


The documentation for this class was generated from the following files: