mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-08 18:51:19 +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);
|
|
}
|
|
}
|