mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-01-07 10:03:32 +08:00
ab608ee0ef
Implements: * `CAudio::GetRadioStation()` * `CAudio::StartRadio(...)` * `CAudio::GetRadioVolume()` * `CAudio::StopOutdoorAmbienceTrack()` * `CAudio::SetOutdoorAmbienceTrack(...)` * `CAudio::PlaySound(...)` * `CAudio::IsOutdoorAmbienceTrackDisabled()`
23 lines
386 B
C++
23 lines
386 B
C++
|
|
#pragma once
|
|
|
|
class CAudio // size: 5
|
|
{
|
|
public:
|
|
int field_0;
|
|
char field_4;
|
|
|
|
CAudio() {
|
|
field_0 = 0;
|
|
field_4 = 0;
|
|
};
|
|
|
|
int GetRadioStation();
|
|
void StartRadio(int iStation);
|
|
float GetRadioVolume();
|
|
void StopOutdoorAmbienceTrack();
|
|
void SetOutdoorAmbienceTrack(int iTrack);
|
|
void PlaySound(int iSound, float fX, float fY, float fZ);
|
|
bool IsOutdoorAmbienceTrackDisabled();
|
|
};
|