using QSB.CampfireSync.WorldObjects; using QSB.Messaging; namespace QSB.CampfireSync.Messages { internal class CampfireStateMessage : QSBEnumWorldObjectMessage { public CampfireStateMessage(Campfire.State state) => Value = state; public override void OnReceiveRemote() => WorldObject.SetState(Value); } }