quantum-space-buddies/QSB/CampfireSync/Messages/CampfireStateMessage.cs
2022-03-10 17:57:50 -08:00

11 lines
333 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) : base(state) { }
public override void OnReceiveRemote() => WorldObject.SetState(Data);
}