move QSBWineCellarSwitch.cs to WorldObjects to follow folder structure

This commit is contained in:
JohnCorby 2022-09-22 09:53:46 -07:00
parent 88023725b9
commit 771e0e875e
4 changed files with 8 additions and 5 deletions

View File

@ -1,4 +1,5 @@
using QSB.Messaging;
using QSB.EchoesOfTheEye.WineCellar.WorldObjects;
using QSB.Messaging;
namespace QSB.EchoesOfTheEye.WineCellar.Messages;

View File

@ -1,5 +1,6 @@
using HarmonyLib;
using QSB.EchoesOfTheEye.WineCellar.Messages;
using QSB.EchoesOfTheEye.WineCellar.WorldObjects;
using QSB.Messaging;
using QSB.Patches;
using QSB.WorldSync;
@ -16,7 +17,7 @@ internal class WineCellarPatches : QSBPatch
{
if (Remote)
{
return;
return;
}
var worldObject = __instance.GetWorldObject<QSBWineCellarSwitch>();

View File

@ -1,4 +1,5 @@
using Cysharp.Threading.Tasks;
using QSB.EchoesOfTheEye.WineCellar.WorldObjects;
using QSB.WorldSync;
using System.Threading;
@ -9,6 +10,6 @@ internal class WineCellarManager : WorldObjectManager
public override WorldObjectScene WorldObjectScene => WorldObjectScene.SolarSystem;
public override bool DlcOnly => true;
public async override UniTask BuildWorldObjects(OWScene scene, CancellationToken ct)
public override async UniTask BuildWorldObjects(OWScene scene, CancellationToken ct)
=> QSBWorldSync.Init<QSBWineCellarSwitch, WineCellarSwitch>();
}

View File

@ -1,5 +1,5 @@
using QSB.WorldSync;
namespace QSB.EchoesOfTheEye.WineCellar;
namespace QSB.EchoesOfTheEye.WineCellar.WorldObjects;
internal class QSBWineCellarSwitch : WorldObject<WineCellarSwitch> { }
internal class QSBWineCellarSwitch : WorldObject<WineCellarSwitch> { }