mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 03:32:38 +00:00
13 lines
365 B
C#
13 lines
365 B
C#
using QSB.EchoesOfTheEye.DreamLantern.WorldObjects;
|
|
using QSB.Messaging;
|
|
|
|
namespace QSB.EchoesOfTheEye.DreamLantern.Messages;
|
|
|
|
public class SetFocusMessage : QSBWorldObjectMessage<QSBDreamLanternController, float>
|
|
{
|
|
public SetFocusMessage(float focus) : base(focus) { }
|
|
|
|
public override void OnReceiveRemote()
|
|
=> WorldObject.AttachedObject.SetFocus(Data);
|
|
}
|