mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-08 09:41:07 +00:00
13 lines
452 B
C#
13 lines
452 B
C#
using QSB.EchoesOfTheEye.DreamLantern.WorldObjects;
|
|
using QSB.Messaging;
|
|
|
|
namespace QSB.EchoesOfTheEye.DreamLantern.Messages;
|
|
|
|
internal class SetRangeMessage : QSBWorldObjectMessage<QSBDreamLanternController, (float minRange, float maxRange)>
|
|
{
|
|
public SetRangeMessage(float minRange, float maxRange) : base((minRange, maxRange)) { }
|
|
|
|
public override void OnReceiveRemote()
|
|
=> WorldObject.AttachedObject.SetRange(Data.minRange, Data.maxRange);
|
|
}
|