2022-01-29 04:49:07 +00:00
|
|
|
|
using Cysharp.Threading.Tasks;
|
|
|
|
|
using QSB.Tools.TranslatorTool.TranslationSync.WorldObjects;
|
2020-12-31 12:10:55 +00:00
|
|
|
|
using QSB.WorldSync;
|
2022-01-29 04:49:07 +00:00
|
|
|
|
using System.Threading;
|
2020-12-31 12:10:55 +00:00
|
|
|
|
|
2022-03-03 03:46:33 +00:00
|
|
|
|
namespace QSB.Tools.TranslatorTool.TranslationSync;
|
|
|
|
|
|
|
|
|
|
internal class SpiralManager : WorldObjectManager
|
2020-12-31 12:10:55 +00:00
|
|
|
|
{
|
2022-03-03 03:46:33 +00:00
|
|
|
|
public override WorldObjectScene WorldObjectScene => WorldObjectScene.Both;
|
2022-02-27 12:40:44 +00:00
|
|
|
|
|
2022-03-03 03:46:33 +00:00
|
|
|
|
public override async UniTask BuildWorldObjects(OWScene scene, CancellationToken ct)
|
|
|
|
|
{
|
|
|
|
|
// wait for all late initializers (which includes nomai text) to finish
|
|
|
|
|
await UniTask.WaitUntil(() => LateInitializerManager.isDoneInitializing, cancellationToken: ct);
|
2022-01-29 04:57:17 +00:00
|
|
|
|
|
2022-03-03 03:46:33 +00:00
|
|
|
|
QSBWorldSync.Init<QSBNomaiText, NomaiText>(typeof(GhostWallText));
|
2020-12-31 12:10:55 +00:00
|
|
|
|
}
|
2022-02-25 06:04:54 +00:00
|
|
|
|
}
|