mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-18 04:10:36 +00:00
12 lines
341 B
C#
12 lines
341 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) => Value = state;
|
|
|
|
public override void OnReceiveRemote() => WorldObject.SetState(Value);
|
|
}
|
|
} |