11 lines
334 B
C#
Raw Normal View History

2021-12-24 21:49:18 -08:00
using QSB.CampfireSync.WorldObjects;
using QSB.Messaging;
namespace QSB.CampfireSync.Messages;
internal class CampfireStateMessage : QSBWorldObjectMessage<QSBCampfire, Campfire.State>
2021-12-24 21:49:18 -08:00
{
public CampfireStateMessage(Campfire.State state) => Value = state;
2021-12-24 21:49:18 -08:00
public override void OnReceiveRemote() => WorldObject.SetState(Value);
}