quantum-space-buddies/QSB/CampfireSync/Messages/CampfireStateMessage.cs
2023-07-28 19:30:57 +01:00

11 lines
331 B
C#

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