mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-25 06:35:45 +00:00
15 lines
383 B
C#
15 lines
383 B
C#
using QSB.CampfireSync.WorldObjects;
|
|
using QSB.Messaging;
|
|
|
|
namespace QSB.CampfireSync.Messages
|
|
{
|
|
internal class CampfireStateMessage : QSBEnumWorldObjectMessage<QSBCampfire, Campfire.State>
|
|
{
|
|
public CampfireStateMessage(Campfire.State state) => Value = state;
|
|
|
|
public CampfireStateMessage() { }
|
|
|
|
public override void OnReceiveRemote() => WorldObject.SetState(Value);
|
|
}
|
|
}
|