◆ NSSound()
void NSSound::NSSound |
( |
void |
| ) |
|
◆ DisableReverb()
void NSSound::DisableReverb |
( |
void |
| ) |
|
◆ EnableReverb()
void NSSound::EnableReverb |
( |
void |
| ) |
|
◆ EvaluateEntity()
void NSSound::EvaluateEntity |
( |
void |
| ) |
|
|
virtual |
Run each tic after physics are run to determine if we need to send updates over the network.
Reimplemented from NSEntity.
◆ ForceLoop()
void NSSound::ForceLoop |
( |
bool |
forceLooping | ) |
|
◆ MakeDirectional()
void NSSound::MakeDirectional |
( |
void |
| ) |
|
◆ MakeOmniDirectional()
void NSSound::MakeOmniDirectional |
( |
void |
| ) |
|
◆ OnRemoveEntity()
void NSSound::OnRemoveEntity |
( |
void |
| ) |
|
|
virtual |
Handles what happens before the entity gets removed from the client game.
Reimplemented from NSIO.
◆ Play()
void NSSound::Play |
( |
void |
| ) |
|
◆ ReceiveEntity()
void NSSound::ReceiveEntity |
( |
float |
flNew, |
|
|
float |
flChanged |
|
) |
| |
|
virtual |
Client: Handles network updates from the server for the associated entity.
Reimplemented from NSEntity.
◆ Respawn()
void NSSound::Respawn |
( |
void |
| ) |
|
|
virtual |
Server: Called when the entity first spawns or when game-logic requests the entity to return to its original spawn state.
Reimplemented from NSPointTrigger.
Reimplemented in target_speaker.
◆ SendEntity()
float NSSound::SendEntity |
( |
entity |
, |
|
|
float |
|
|
) |
| |
|
virtual |
Called by the engine whenever we need to send a client an update about this entity.
Reimplemented from NSEntity.
◆ SetPitch()
void NSSound::SetPitch |
( |
float |
newPitch | ) |
|
◆ SetRadius()
void NSSound::SetRadius |
( |
float |
newRadius | ) |
|
◆ SetSample()
void NSSound::SetSample |
( |
string |
newSample | ) |
|
◆ SetSoundOffset()
void NSSound::SetSoundOffset |
( |
float |
newOffset | ) |
|
◆ SetVolume()
void NSSound::SetVolume |
( |
float |
newVolume | ) |
|
◆ Spawned()
void NSSound::Spawned |
( |
void |
| ) |
|
|
virtual |
Called when the entity is fulled 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 NSEntity.
The documentation for this class was generated from the following files: