25 lines
859 B
C#
25 lines
859 B
C#
using System;
|
|
using UnityAtoms.BaseAtoms;
|
|
using KitsuneCafe.ItemSystem;
|
|
|
|
namespace UnityAtoms.KitsuneCafe.Atom.ItemSystem
|
|
{
|
|
/// <summary>
|
|
/// Reference of type `Item`. Inherits from `EquatableAtomReference<Item, ItemPair, ItemConstant, ItemVariable, ItemEvent, ItemPairEvent, ItemItemFunction, ItemVariableInstancer, AtomCollection, AtomList>`.
|
|
/// </summary>
|
|
[Serializable]
|
|
public sealed class ItemReference : EquatableAtomReference<
|
|
Item,
|
|
ItemPair,
|
|
ItemConstant,
|
|
ItemVariable,
|
|
ItemEvent,
|
|
ItemPairEvent,
|
|
ItemItemFunction,
|
|
ItemVariableInstancer>, IEquatable<ItemReference>
|
|
{
|
|
public ItemReference() : base() { }
|
|
public ItemReference(Item value) : base(value) { }
|
|
public bool Equals(ItemReference other) { return base.Equals(other); }
|
|
}
|
|
}
|