2022-01-30 09:43:20 +00:00
|
|
|
|
using Cysharp.Threading.Tasks;
|
2022-01-21 21:54:58 +00:00
|
|
|
|
using QSB.Utility;
|
|
|
|
|
using QSB.WorldSync;
|
2022-01-30 09:43:20 +00:00
|
|
|
|
using System.Threading;
|
2022-01-21 21:54:58 +00:00
|
|
|
|
|
|
|
|
|
namespace QSB.EchoesOfTheEye.SlideProjectors.WorldObjects
|
|
|
|
|
{
|
|
|
|
|
public class QSBSlideProjector : WorldObject<SlideProjector>
|
|
|
|
|
{
|
2022-01-30 09:43:20 +00:00
|
|
|
|
public override async UniTask Init(CancellationToken ct)
|
2022-01-21 21:54:58 +00:00
|
|
|
|
{
|
2022-01-30 09:43:20 +00:00
|
|
|
|
DebugLog.DebugWrite($"Init {this}");
|
2022-01-21 21:54:58 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public uint ControllingPlayer;
|
|
|
|
|
|
|
|
|
|
public void OnChangeAuthority(uint newOwner)
|
|
|
|
|
{
|
2022-01-30 09:43:20 +00:00
|
|
|
|
DebugLog.DebugWrite($"{this} change ControllingPlayer to {newOwner}");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void SendInitialState(uint to)
|
|
|
|
|
{
|
|
|
|
|
// todo SendInitialState
|
2022-01-21 21:54:58 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|