2022-03-02 19:46:33 -08:00

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