mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-21 20:08:40 +03:00
Added basics for automatic C# -> C++ Bindings
This commit is contained in:
@@ -1,20 +1,13 @@
|
||||
using System;
|
||||
namespace Nuake
|
||||
namespace Nuake.Net
|
||||
{
|
||||
public static class AudioModule
|
||||
public class AudioModule
|
||||
{
|
||||
public static void SetVolume(float volume)
|
||||
{
|
||||
unsafe
|
||||
{
|
||||
Internals.AudioModuleSetVolumeICall(volume);
|
||||
}
|
||||
}
|
||||
public static void SetMuted(bool muted)
|
||||
{
|
||||
unsafe
|
||||
{
|
||||
Internals.AudioModuleSetMutedICall(muted);
|
||||
Internals.SetVolumeICall(volume);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user