Make moveflags of gen 7 plugin shared statically
This commit is contained in:
1 parent
77d7b86a3c
commit
6eba332096
33 files changed
+223
-146
No files matched your search
@@ -143,6 +143,11 @@ public interface IMoveData : INamedValue
|
||||
/// Arbitrary flags that can be applied to the move.
|
||||
/// </summary>
|
||||
bool HasFlag(StringKey key);
|
||||
|
||||
/// <summary>
|
||||
/// A readonly list of all flags on the move.
|
||||
/// </summary>
|
||||
IReadOnlyCollection<StringKey> Flags { get; }
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
@@ -196,6 +201,9 @@ public class MoveDataImpl : IMoveData
|
||||
|
||||
/// <inheritdoc />
|
||||
public bool HasFlag(StringKey key) => _flags.Contains(key);
|
||||
|
||||
/// <inheritdoc />
|
||||
public IReadOnlyCollection<StringKey> Flags => _flags;
|
||||
}
|
||||
|
||||
public static class MoveTargetHelpers
|
||||
|
||||
Reference in new issue
Block a user