21 lines
499 B
C#
21 lines
499 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace AYellowpaper.SerializedCollections
|
|
{
|
|
internal interface IKeyable
|
|
{
|
|
void RecalculateOccurences();
|
|
IReadOnlyList<int> GetOccurences(object key);
|
|
IEnumerable Keys { get; }
|
|
|
|
void AddKey(object key);
|
|
void RemoveKey(object key);
|
|
void RemoveAt(int index);
|
|
object GetKeyAt(int index);
|
|
int GetCount();
|
|
void RemoveDuplicates();
|
|
}
|
|
}
|