Skip to content

Commit 6c1e62c

Browse files
Tosoks67Elektryk-Andrzej
authored andcommitted
usedimplicitly and change breakdoor to public
1 parent eb53e17 commit 6c1e62c

File tree

7 files changed

+21
-8
lines changed

7 files changed

+21
-8
lines changed

Code/MethodSystem/Methods/DoorMethods/BreakDoorMethod.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
using Interactables.Interobjects.DoorUtils;
2+
using JetBrains.Annotations;
23
using LabApi.Features.Wrappers;
34
using SER.Code.ArgumentSystem.Arguments;
45
using SER.Code.ArgumentSystem.BaseArguments;
56
using SER.Code.MethodSystem.BaseMethods.Synchronous;
67

78
namespace SER.Code.MethodSystem.Methods.DoorMethods;
89

9-
internal class BreakDoorMethod : SynchronousMethod
10+
[UsedImplicitly]
11+
public class BreakDoorMethod : SynchronousMethod
1012
{
1113
public override string Description => "Breaks specified doors if possible (for example, you can't destroy Gate B, but you can destroy normal HCZ doors)";
1214

Code/MethodSystem/Methods/HealthMethods/SetAHPMethod.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
using PlayerStatsSystem;
1+
using JetBrains.Annotations;
2+
using PlayerStatsSystem;
23
using SER.Code.ArgumentSystem.Arguments;
34
using SER.Code.ArgumentSystem.BaseArguments;
45
using SER.Code.MethodSystem.BaseMethods.Synchronous;
56

67
namespace SER.Code.MethodSystem.Methods.HealthMethods;
78

89
// ReSharper disable once InconsistentNaming
10+
[UsedImplicitly]
911
public class SetAHPMethod : SynchronousMethod
1012
{
1113
public override string Description => "Sets the amount of AHP for players.";

Code/MethodSystem/Methods/PlayerDataMethods/SetPlayerDataMethod.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using LabApi.Features.Wrappers;
1+
using JetBrains.Annotations;
2+
using LabApi.Features.Wrappers;
23
using SER.Code.ArgumentSystem.Arguments;
34
using SER.Code.ArgumentSystem.BaseArguments;
45
using SER.Code.MethodSystem.BaseMethods.Synchronous;
@@ -7,7 +8,7 @@
78

89
namespace SER.Code.MethodSystem.Methods.PlayerDataMethods;
910

10-
// ReSharper disable once ClassNeverInstantiated.Global
11+
[UsedImplicitly]
1112
public class SetPlayerDataMethod : SynchronousMethod, IAdditionalDescription
1213
{
1314
public static readonly Dictionary<Player, Dictionary<string, Value>> PlayerData = [];

Code/MethodSystem/Methods/TeleportMethods/TPDoorMethod.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
using SER.Code.ArgumentSystem.Arguments;
1+
using JetBrains.Annotations;
2+
using SER.Code.ArgumentSystem.Arguments;
23
using SER.Code.ArgumentSystem.BaseArguments;
34
using SER.Code.MethodSystem.BaseMethods.Synchronous;
45

56
namespace SER.Code.MethodSystem.Methods.TeleportMethods;
67

78
// ReSharper disable once InconsistentNaming
9+
[UsedImplicitly]
810
public class TPDoorMethod : SynchronousMethod
911
{
1012
public override string Description => "Teleports players to a door.";

Code/MethodSystem/Methods/TeleportMethods/TPPlayerMethod.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
using SER.Code.ArgumentSystem.Arguments;
1+
using JetBrains.Annotations;
2+
using SER.Code.ArgumentSystem.Arguments;
23
using SER.Code.ArgumentSystem.BaseArguments;
34
using SER.Code.MethodSystem.BaseMethods.Synchronous;
45

56
namespace SER.Code.MethodSystem.Methods.TeleportMethods;
67

78
// ReSharper disable once InconsistentNaming
9+
[UsedImplicitly]
810
public class TPPlayerMethod : SynchronousMethod
911
{
1012
public override string Description => "Teleports players to another player.";

Code/MethodSystem/Methods/TeleportMethods/TPPositionMethod.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
using SER.Code.ArgumentSystem.Arguments;
1+
using JetBrains.Annotations;
2+
using SER.Code.ArgumentSystem.Arguments;
23
using SER.Code.ArgumentSystem.BaseArguments;
34
using SER.Code.MethodSystem.BaseMethods.Synchronous;
45
using UnityEngine;
56

67
namespace SER.Code.MethodSystem.Methods.TeleportMethods;
78

89
// ReSharper disable once InconsistentNaming
10+
[UsedImplicitly]
911
public class TPPositionMethod : SynchronousMethod
1012
{
1113
public override string Description => "Teleports players to an XYZ position.";

Code/MethodSystem/Methods/TeleportMethods/TPSpawnMethod.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using PlayerRoles;
1+
using JetBrains.Annotations;
2+
using PlayerRoles;
23
using PlayerRoles.FirstPersonControl.Spawnpoints;
34
using SER.Code.ArgumentSystem.Arguments;
45
using SER.Code.ArgumentSystem.BaseArguments;
@@ -7,6 +8,7 @@
78
namespace SER.Code.MethodSystem.Methods.TeleportMethods;
89

910
// ReSharper disable once InconsistentNaming
11+
[UsedImplicitly]
1012
public class TPSpawnMethod : SynchronousMethod
1113
{
1214
public override string Description => "Teleports players to where a specified role would spawn.";

0 commit comments

Comments
 (0)