mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-04 02:47:22 +00:00
13 lines
399 B
C#
13 lines
399 B
C#
using QSB.EchoesOfTheEye.AlarmTotemSync.WorldObjects;
|
|
using QSB.Messaging;
|
|
|
|
namespace QSB.EchoesOfTheEye.AlarmTotemSync.Messages;
|
|
|
|
public class BellHitMessage : QSBWorldObjectMessage<QSBAlarmBell, float>
|
|
{
|
|
public BellHitMessage(float volume) : base(volume) { }
|
|
|
|
public override void OnReceiveRemote() =>
|
|
WorldObject.AttachedObject._oneShotSource.PlayOneShot(AudioType.AlarmChime_RW, Data);
|
|
}
|