4
public static class Sounds {
7
/// <summary>Represents a handle to a sound buffer.</summary>
8
/// <remarks>This class is used for interaction with the API.</remarks>
9
internal class ApiBufferHandle : OpenBveApi.Sound.SoundBufferHandle {
10
/// <summary>The index to the sound buffer.</summary>
11
internal int SoundBufferIndex;
12
/// <summary>Creates a new instance of this class.</summary>
13
/// <param name="libraryIndex">The index to the sound buffer.</param>
14
internal ApiBufferHandle(int soundBufferIndex) {
15
this.SoundBufferIndex = soundBufferIndex;