mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-04 02:47:22 +00:00
14 lines
403 B
C#
14 lines
403 B
C#
using QSB.EchoesOfTheEye.DreamLantern.WorldObjects;
|
|
using QSB.Messaging;
|
|
using QSB.Patches;
|
|
|
|
namespace QSB.EchoesOfTheEye.DreamLantern.Messages;
|
|
|
|
internal class SetFocusMessage : QSBWorldObjectMessage<QSBDreamLantern, float>
|
|
{
|
|
public SetFocusMessage(float focus) : base(focus) { }
|
|
|
|
public override void OnReceiveRemote()
|
|
=> QSBPatch.RemoteCall(() => WorldObject.AttachedObject.SetFocus(Data));
|
|
}
|