mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-04 02:47:22 +00:00
20 lines
572 B
C#
20 lines
572 B
C#
using QSB.WorldSync;
|
|
using UnityEngine;
|
|
|
|
namespace QSB.ItemSync.WorldObjects.Items;
|
|
|
|
public interface IQSBItem : IWorldObject
|
|
{
|
|
ItemState ItemState { get; }
|
|
|
|
ItemType GetItemType();
|
|
void PickUpItem(Transform itemSocket);
|
|
void DropItem(Vector3 position, Vector3 normal, Transform parent, Sector sector, IItemDropTarget customDropTarget);
|
|
void OnCompleteUnsocket();
|
|
|
|
/// <summary>
|
|
/// store the last location when a remote player picks up/unsockets an item
|
|
/// so we can drop/socket it if they leave while still holding it
|
|
/// </summary>
|
|
void StoreLocation();
|
|
} |