Skip to content

Commit ce2acbc

Browse files
rename SCP-079 methods namespace
1 parent 88af602 commit ce2acbc

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

MethodSystem/Methods/SCP-079Methods/Set079AccessTierMethod.cs renamed to MethodSystem/Methods/Scp079Methods/Set079AccessTierMethod.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
using SER.ArgumentSystem.BaseArguments;
55
using SER.MethodSystem.BaseMethods;
66

7-
namespace SER.MethodSystem.Methods.SCP079Methods;
7+
namespace SER.MethodSystem.Methods.Scp079Methods;
8+
89
public class Set079AccessTierMethod : SynchronousMethod
910
{
1011
public override string Description => "Sets the Access Tier of the given player(s) if they are SCP-079";

MethodSystem/Methods/SCP-079Methods/Set079AuxPowerMethod.cs renamed to MethodSystem/Methods/Scp079Methods/Set079AuxPowerMethod.cs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
using SER.ArgumentSystem.BaseArguments;
55
using SER.MethodSystem.BaseMethods;
66

7-
namespace SER.MethodSystem.Methods.SCP079Methods;
7+
namespace SER.MethodSystem.Methods.Scp079Methods;
8+
89
public class Set079AuxPowerMethod : SynchronousMethod
910
{
1011
public override string Description => "Sets the Auxiliary Power of the given player(s) if they are SCP-079";
@@ -19,11 +20,11 @@ public override void Execute()
1920
{
2021
var plrs = Args.GetPlayers("players");
2122
var value = Args.GetInt("power");
22-
foreach(Player p in plrs)
23+
foreach (Player p in plrs)
2324
{
24-
if(p.RoleBase is Scp079Role scp)
25+
if (p.RoleBase is Scp079Role scp)
2526
{
26-
if(scp.SubroutineModule.TryGetSubroutine<Scp079AuxManager>(out Scp079AuxManager aux))
27+
if (scp.SubroutineModule.TryGetSubroutine<Scp079AuxManager>(out Scp079AuxManager aux))
2728
{
2829
aux.CurrentAux = value;
2930
}

MethodSystem/Methods/SCP-079Methods/Set079ExpMethod.cs renamed to MethodSystem/Methods/Scp079Methods/Set079ExpMethod.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
using SER.ArgumentSystem.BaseArguments;
55
using SER.MethodSystem.BaseMethods;
66

7-
namespace SER.MethodSystem.Methods.SCP079Methods;
7+
namespace SER.MethodSystem.Methods.Scp079Methods;
8+
89
public class Set079ExpMethod : SynchronousMethod
910
{
1011
public override string Description => "Sets the EXP of the given player(s) if they are SCP-079";

0 commit comments

Comments
 (0)