Begin work on outlining dynamic side
This commit is contained in:
16
PkmnLib.Dynamic/ScriptHandling/ScriptSet.cs
Normal file
16
PkmnLib.Dynamic/ScriptHandling/ScriptSet.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using FluentResults;
|
||||
|
||||
namespace PkmnLib.Dynamic.ScriptHandling;
|
||||
|
||||
public interface IScriptSet : IEnumerable<ScriptContainer>
|
||||
{
|
||||
Result<ScriptContainer> Add(Script script);
|
||||
Result<ScriptContainer?> Add(string scriptKey);
|
||||
ScriptContainer? Get(string scriptKey);
|
||||
void Remove(string scriptKey);
|
||||
void Clear();
|
||||
void Contains(string scriptKey);
|
||||
ScriptContainer At(int index);
|
||||
int Count { get; }
|
||||
IEnumerable<string> GetScriptNames();
|
||||
}
|
||||
Reference in New Issue
Block a user