mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-03 17:38:30 +00:00
12 lines
297 B
C#
12 lines
297 B
C#
using QSB.GeyserSync.WorldObjects;
|
|
using QSB.Messaging;
|
|
|
|
namespace QSB.GeyserSync.Messages
|
|
{
|
|
public class GeyserMessage : QSBBoolWorldObjectMessage<QSBGeyser>
|
|
{
|
|
public GeyserMessage(bool state) => Value = state;
|
|
|
|
public override void OnReceiveRemote() => WorldObject.SetState(Value);
|
|
}
|
|
} |