Aetheria/Assets/Scripts/ServerShared/WwiseSoundBinding.cs

22 lines
514 B
C#
Raw Permalink Normal View History

using MessagePack;
using Newtonsoft.Json;
[MessagePackObject, JsonObject(MemberSerialization.OptIn)]
2021-04-30 06:39:57 +01:00
public class WwiseSoundBinding
{
[Key(0), JsonProperty("playEvent")]
2021-04-30 06:39:57 +01:00
public uint PlayEvent;
}
[MessagePackObject, JsonObject(MemberSerialization.OptIn)]
2021-04-30 06:39:57 +01:00
public class WwiseLoopingSoundBinding : WwiseSoundBinding
{
[Key(1), JsonProperty("stopEvent")]
2021-04-30 06:39:57 +01:00
public uint StopEvent;
}
// public class WwiseParameterBinding
// {
// [Key(0), JsonProperty("parameter")]
// public uint Parameter;
// }