refactor: use IEnumerable

This commit is contained in:
Anna 2021-01-16 22:32:25 -05:00
parent 6d8449be31
commit 45e3909707
1 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ namespace BetterPartyFinder {
public ushort SecondsRemaining { get; }
public ushort MinimumItemLevel { get; }
public byte SlotsAvailable { get; }
public IReadOnlyCollection<PartyFinderSlot> Slots => this._slots;
public IEnumerable<PartyFinderSlot> Slots => this._slots;
private readonly byte _objective;
public ObjectiveFlags Objective => (ObjectiveFlags) this._objective;
@ -40,7 +40,7 @@ namespace BetterPartyFinder {
private readonly PartyFinderSlot[] _slots;
private readonly byte[] _jobsPresent;
internal IReadOnlyCollection<byte> RawJobsPresent => this._jobsPresent;
internal IEnumerable<byte> RawJobsPresent => this._jobsPresent;
internal IReadOnlyCollection<Lazy<ClassJob?>> JobsPresent { get; }
public bool this[ObjectiveFlags flag] => this._objective == 0 || (this._objective & (uint) flag) > 0;