2022-01-26 20:35:43 -08:00

13 lines
342 B
C#

using QSB.CampfireSync.WorldObjects;
using QSB.Messaging;
namespace QSB.CampfireSync.Messages
{
internal class CampfireStateMessage : QSBWorldObjectMessage<QSBCampfire, Campfire.State>
{
public CampfireStateMessage(Campfire.State state) => Value = state;
public override void OnReceiveRemote() => WorldObject.SetState(Value);
}
}