mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-04-26 18:47:11 -05:00
Add more xmldoc Move files/functions to better spot Less allocation on hover glow fix honeytree dppt group/slot/shake rand call (ty real.96)
36 lines
767 B
C#
36 lines
767 B
C#
using System;
|
|
|
|
namespace PKHeX.Core;
|
|
|
|
/// <summary>
|
|
/// Exposes a rental team interface to fetch team data.
|
|
/// </summary>
|
|
/// <typeparam name="T">Type of entity stored in the rental team</typeparam>
|
|
public interface IRentalTeam<T> where T : PKM
|
|
{
|
|
/// <summary>
|
|
/// Gets the entity at a specific slot.
|
|
/// </summary>
|
|
T GetSlot(int slot);
|
|
|
|
/// <summary>
|
|
/// Sets the entity at a specific slot.
|
|
/// </summary>
|
|
void SetSlot(int slot, T pk);
|
|
|
|
/// <summary>
|
|
/// Gets the entire team.
|
|
/// </summary>
|
|
void GetTeam(Span<T> team);
|
|
|
|
/// <summary>
|
|
/// Sets the entire team.
|
|
/// </summary>
|
|
void SetTeam(ReadOnlySpan<T> team);
|
|
|
|
/// <summary>
|
|
/// Gets the entire team.
|
|
/// </summary>
|
|
T[] GetTeam();
|
|
}
|