mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-09 21:59:16 +00:00
13 lines
346 B
C#
13 lines
346 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 override void OnReceiveRemote() => WorldObject.SetState(Value);
|
|||
|
}
|
|||
|
}
|