mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-03-29 05:25:32 -05:00
Did something similar for NHSE years ago. Allows for much easier reuse elsewhere and clearer usage.
13 lines
271 B
C#
13 lines
271 B
C#
using System;
|
|
|
|
namespace PKHeX.Core;
|
|
|
|
/// <summary>
|
|
/// Complex modification of data to a string value.
|
|
/// </summary>
|
|
public interface IComplexSet
|
|
{
|
|
bool IsMatch(ReadOnlySpan<char> name, ReadOnlySpan<char> value);
|
|
void Modify(PKM pk, StringInstruction instr);
|
|
}
|