2022-01-29 04:49:07 +00:00
|
|
|
|
using Cysharp.Threading.Tasks;
|
|
|
|
|
using QSB.CampfireSync.WorldObjects;
|
2021-03-29 13:36:16 +00:00
|
|
|
|
using QSB.WorldSync;
|
2022-01-29 04:49:07 +00:00
|
|
|
|
using System.Threading;
|
2021-03-29 13:36:16 +00:00
|
|
|
|
|
|
|
|
|
namespace QSB.CampfireSync
|
|
|
|
|
{
|
2021-03-29 22:37:36 +00:00
|
|
|
|
internal class CampfireManager : WorldObjectManager
|
2021-03-29 13:36:16 +00:00
|
|
|
|
{
|
2021-12-21 02:41:12 +00:00
|
|
|
|
public override WorldObjectType WorldObjectType => WorldObjectType.Both;
|
|
|
|
|
|
2022-01-29 04:49:07 +00:00
|
|
|
|
public override async UniTask BuildWorldObjects(OWScene scene, CancellationToken cancellationToken)
|
2021-03-29 13:36:16 +00:00
|
|
|
|
=> QSBWorldSync.Init<QSBCampfire, Campfire>();
|
|
|
|
|
}
|
|
|
|
|
}
|