using QSB.EchoesOfTheEye.DreamLantern.WorldObjects; using QSB.Messaging; namespace QSB.EchoesOfTheEye.DreamLantern.Messages; public class SetRangeMessage : QSBWorldObjectMessage { public SetRangeMessage(float minRange, float maxRange) : base((minRange, maxRange)) { } public override void OnReceiveRemote() => WorldObject.AttachedObject.SetRange(Data.minRange, Data.maxRange); }