using Cysharp.Threading.Tasks;
using QSB.WorldSync;
using System;
using System.Threading;
using UnityEngine;
namespace QSB.ItemSync.WorldObjects;
///
/// for other drop targets that don't already have world objects
///
public class QSBOtherDropTarget : WorldObject, IQSBDropTarget
{
IItemDropTarget IQSBDropTarget.AttachedObject => (IItemDropTarget)AttachedObject;
public override async UniTask Init(CancellationToken ct)
{
if (AttachedObject is not IItemDropTarget)
{
throw new ArgumentException("QSBOtherDropTarget.AttachedObject is not an IItemDropTarget!");
}
}
}