Skip to content

Commit b7da595

Browse files
rename admintoy methods
1 parent d4b9d3b commit b7da595

6 files changed

Lines changed: 6 additions & 10 deletions

File tree

Code/MethodSystem/Methods/AdminToyPropertyMethods/CameraPropertiesMethod.cs renamed to Code/MethodSystem/Methods/AdminToyPropertyMethods/SetCameraPropertiesMethod.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@
55
using SER.Code.Exceptions;
66
using SER.Code.MethodSystem.BaseMethods.Synchronous;
77
using SER.Code.MethodSystem.MethodDescriptors;
8-
using UnityEngine;
98

109
namespace SER.Code.MethodSystem.Methods.AdminToyPropertyMethods;
1110

1211
[UsedImplicitly]
13-
public class CameraPropertiesMethod : SynchronousMethod, ICanError
12+
public class SetCameraPropertiesMethod : SynchronousMethod, ICanError
1413
{
1514
public override string Description => $"Sets the properties of a {nameof(CameraToy)}.";
1615

Code/MethodSystem/Methods/AdminToyPropertyMethods/LightSourcePropertiesMethod.cs renamed to Code/MethodSystem/Methods/AdminToyPropertyMethods/SetLightSourcePropertiesMethod.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
namespace SER.Code.MethodSystem.Methods.AdminToyPropertyMethods;
99

1010
[UsedImplicitly]
11-
public class LightSourcePropertiesMethod : SynchronousMethod
11+
public class SetLightSourcePropertiesMethod : SynchronousMethod
1212
{
1313
public override string Description => $"Sets the properties of a {nameof(LightSourceToy)}.";
1414

Code/MethodSystem/Methods/AdminToyPropertyMethods/PrimitiveObjectPropertiesMethod.cs renamed to Code/MethodSystem/Methods/AdminToyPropertyMethods/SetPrimitiveObjectPropertiesMethod.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
namespace SER.Code.MethodSystem.Methods.AdminToyPropertyMethods;
1010

1111
[UsedImplicitly]
12-
public class PrimitiveObjectPropertiesMethod : SynchronousMethod
12+
public class SetPrimitiveObjectPropertiesMethod : SynchronousMethod
1313
{
1414
public override string Description => $"Sets properties of a {nameof(PrimitiveObjectToy)}.";
1515

Code/MethodSystem/Methods/AdminToyPropertyMethods/ShootingTargetPropertiesMethod.cs renamed to Code/MethodSystem/Methods/AdminToyPropertyMethods/SetShootingTargetPropertiesMethod.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
namespace SER.Code.MethodSystem.Methods.AdminToyPropertyMethods;
88

99
[UsedImplicitly]
10-
public class ShootingTargetPropertiesMethod : SynchronousMethod
10+
public class SetShootingTargetPropertiesMethod : SynchronousMethod
1111
{
1212
public override string Description => $"Sets the properties of a {nameof(ShootingTargetToy)}.";
1313

Code/MethodSystem/Methods/AdminToyPropertyMethods/TextPropertiesMethod.cs renamed to Code/MethodSystem/Methods/AdminToyPropertyMethods/SetTextPropertiesMethod.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,12 @@
22
using LabApi.Features.Wrappers;
33
using SER.Code.ArgumentSystem.Arguments;
44
using SER.Code.ArgumentSystem.BaseArguments;
5-
using SER.Code.Exceptions;
65
using SER.Code.MethodSystem.BaseMethods.Synchronous;
7-
using SER.Code.MethodSystem.MethodDescriptors;
8-
using UnityEngine;
96

107
namespace SER.Code.MethodSystem.Methods.AdminToyPropertyMethods;
118

129
[UsedImplicitly]
13-
public class TextPropertiesMethod : SynchronousMethod
10+
public class SetTextPropertiesMethod : SynchronousMethod
1411
{
1512
public override string Description => $"Sets the properties of a {nameof(TextToy)}.";
1613

Code/MethodSystem/Methods/AdminToyPropertyMethods/GetToyPropertiesMethod.cs renamed to Code/MethodSystem/Methods/AdminToyPropertyMethods/ToyInfoMethod.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
namespace SER.Code.MethodSystem.Methods.AdminToyPropertyMethods;
1010

1111
[UsedImplicitly]
12-
public class GetToyPropertiesMethod : ReturningMethod<NumberValue>
12+
public class ToyInfoMethod : ReturningMethod<NumberValue>
1313
{
1414
public override string Description => "Returns information about an Admin Toy";
1515

0 commit comments

Comments
 (0)