Minor renaming

This commit is contained in:
Deukhoofd 2024-07-27 16:35:51 +02:00
parent a251913ebd
commit e17fe767bc
7 changed files with 15 additions and 8 deletions

View File

@ -1,8 +1,11 @@
using JetBrains.Annotations;
namespace PkmnLib.Dynamic.ScriptHandling.Registry;
/// <summary>
/// A plugin is a way to register scripts and other dynamic components to the script registry.
/// </summary>
[UsedImplicitly(ImplicitUseTargetFlags.WithInheritors)]
public abstract class Plugin
{
/// <summary>

View File

@ -6,7 +6,9 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PkmnLib.Tests", "PkmnLib.Te
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PkmnLib.Dynamic", "PkmnLib.Dynamic\PkmnLib.Dynamic.csproj", "{D0CBA9A9-7288-41B4-B76B-CB4F20036AB2}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PkmnLib.Scripts.Gen7", "PkmnLib.Scripts.Gen7\PkmnLib.Scripts.Gen7.csproj", "{FA5380F0-28CC-4AEC-8963-814B347A89BA}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PkmnLib.Plugin.Gen7", "PkmnLib.Plugin.Gen7\PkmnLib.Plugin.Gen7.csproj", "{FA5380F0-28CC-4AEC-8963-814B347A89BA}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Plugins", "Plugins", "{63C1B450-DC26-444A-AEBD-15979F3EEE53}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@ -31,4 +33,7 @@ Global
{FA5380F0-28CC-4AEC-8963-814B347A89BA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FA5380F0-28CC-4AEC-8963-814B347A89BA}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{FA5380F0-28CC-4AEC-8963-814B347A89BA} = {63C1B450-DC26-444A-AEBD-15979F3EEE53}
EndGlobalSection
EndGlobal

View File

@ -1,10 +1,9 @@
using PkmnLib.Dynamic.ScriptHandling;
using PkmnLib.Dynamic.ScriptHandling.Registry;
using PkmnLib.Scripts.Gen7.Libraries;
using PkmnLib.Plugin.Gen7.Libraries;
namespace PkmnLib.Scripts.Gen7;
namespace PkmnLib.Plugin.Gen7;
public class Gen7Plugin : Plugin
public class Gen7Plugin : Dynamic.ScriptHandling.Registry.Plugin
{
/// <inheritdoc />
public override string Name => "Gen7";

View File

@ -2,7 +2,7 @@ using PkmnLib.Dynamic.Libraries;
using PkmnLib.Dynamic.Models;
using PkmnLib.Static;
namespace PkmnLib.Scripts.Gen7.Libraries;
namespace PkmnLib.Plugin.Gen7.Libraries;
public class Gen7BattleStatCalculator : IBattleStatCalculator
{

View File

@ -6,7 +6,7 @@ using PkmnLib.Dynamic.Models;
using PkmnLib.Static;
using PkmnLib.Static.Moves;
namespace PkmnLib.Scripts.Gen7.Libraries;
namespace PkmnLib.Plugin.Gen7.Libraries;
public class Gen7DamageCalculator(bool hasRandomness) : IDamageCalculator
{

View File

@ -7,7 +7,7 @@ using PkmnLib.Static;
using PkmnLib.Static.Moves;
using PkmnLib.Static.Utils;
namespace PkmnLib.Scripts.Gen7.Libraries;
namespace PkmnLib.Plugin.Gen7.Libraries;
public class Gen7MiscLibrary : IMiscLibrary
{