1
0

VolumeIDs.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. namespace AudioMgr
  2. {
  3. public static class VolumeIDs
  4. {
  5. private static Dictionary<uint, AudioMaster.SourceType> _volumeRtpcID = new Dictionary<uint, AudioMaster.SourceType>()
  6. {
  7. { 2346531308U, AudioMaster.SourceType.BGM}, // uint MUSICVOLUME = 2346531308U;
  8. { 3325181466U, AudioMaster.SourceType.Voice}, // uint VOVOLUME = 3325181466U;
  9. { 3546521921U, AudioMaster.SourceType.Ambience}, // uint AMBIENTVOLUME = 3546521921U;
  10. { 988953028U, AudioMaster.SourceType.SFX}, // uint SFXVOLUME = 988953028U;
  11. };
  12. private static uint _masterVolume = 2918011349U; // uint MASTERVOLUME = 2918011349U;
  13. private static uint _globalVolume = 4071000082U; // uint GLOBALVOLUME = 4071000082U;
  14. public static uint GetRtpcIDMaster()
  15. {
  16. return _globalVolume;
  17. }
  18. public static uint GetRtpcGlobal()
  19. {
  20. return _globalVolume;
  21. }
  22. public static Dictionary<uint, AudioMaster.SourceType> GetRtpcIDList()
  23. {
  24. return _volumeRtpcID;
  25. }
  26. }
  27. }