quantum-space-buddies/QSB/CampfireSync/Messages/CampfireStateMessage.cs

11 lines
333 B
C#
Raw Normal View History

2021-12-25 05:49:18 +00:00
using QSB.CampfireSync.WorldObjects;
using QSB.Messaging;
2022-03-03 03:46:33 +00:00
namespace QSB.CampfireSync.Messages;
internal class CampfireStateMessage : QSBWorldObjectMessage<QSBCampfire, Campfire.State>
2021-12-25 05:49:18 +00:00
{
2022-03-11 01:57:50 +00:00
public CampfireStateMessage(Campfire.State state) : base(state) { }
2021-12-25 05:49:18 +00:00
2022-03-03 03:46:33 +00:00
public override void OnReceiveRemote() => WorldObject.SetState(Data);
}