Skip to content

Commit 1f7e629

Browse files
update to christmas edition, 0.12.0
1 parent d289655 commit 1f7e629

File tree

5 files changed

+8
-12
lines changed

5 files changed

+8
-12
lines changed

MethodSystem/Methods/CASSIEMethods/CassieMethod.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using Respawning;
2-
using SER.ArgumentSystem.Arguments;
1+
using SER.ArgumentSystem.Arguments;
32
using SER.ArgumentSystem.BaseArguments;
43
using SER.MethodSystem.BaseMethods;
54

@@ -67,15 +66,15 @@ public override void Execute()
6766

6867
if (string.IsNullOrEmpty(translation))
6968
{
70-
RespawnEffectsController.PlayCassieAnnouncement(
69+
LabApi.Features.Wrappers.Cassie.Message(
7170
message,
7271
false,
7372
isNoisy
7473
);
7574
}
7675
else
7776
{
78-
RespawnEffectsController.PlayCassieAnnouncement(
77+
LabApi.Features.Wrappers.Cassie.Message(
7978
message,
8079
false,
8180
isNoisy,

MethodSystem/Methods/CASSIEMethods/ClearCassieMethod.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using LabApi.Features.Wrappers;
2-
using SER.ArgumentSystem.BaseArguments;
1+
using SER.ArgumentSystem.BaseArguments;
32
using SER.MethodSystem.BaseMethods;
43

54
namespace SER.MethodSystem.Methods.CASSIEMethods;
@@ -12,6 +11,6 @@ public class ClearCassieMethod : SynchronousMethod
1211

1312
public override void Execute()
1413
{
15-
Cassie.Clear();
14+
LabApi.Features.Wrappers.Cassie.Clear();
1615
}
1716
}

MethodSystem/Methods/CASSIEMethods/IsCassieSpeakingMethod.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using LabApi.Features.Wrappers;
2-
using SER.ArgumentSystem.BaseArguments;
1+
using SER.ArgumentSystem.BaseArguments;
32
using SER.MethodSystem.BaseMethods;
43
using SER.ValueSystem;
54

@@ -13,6 +12,6 @@ public class IsCassieSpeakingMethod : ReturningMethod<BoolValue>
1312

1413
public override void Execute()
1514
{
16-
ReturnValue = Cassie.IsSpeaking;
15+
ReturnValue = LabApi.Features.Wrappers.Cassie.IsSpeaking;
1716
}
1817
}

Plugin/MainPlugin.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public class MainPlugin : LabApi.Loader.Features.Plugins.Plugin<Config>
2020
public override string Description => "The scripting language for SCP:SL.";
2121
public override string Author => "Elektryk_Andrzej";
2222
public override Version RequiredApiVersion => LabApiProperties.CurrentVersion;
23-
public override Version Version => new(0, 11, 0);
23+
public override Version Version => new(0, 12, 0);
2424

2525
public static string GitHubLink => "https://github.com/ScriptedEvents/ScriptedEventsReloaded";
2626
public static string DocsLink => "https://scriptedeventsreloaded.gitbook.io/docs/tutorial";

ValueSystem/CollectionValue.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using SER.Helpers.Extensions;
33
using SER.Helpers.ResultSystem;
44
using System.Collections;
5-
using System.Diagnostics;
65

76
namespace SER.ValueSystem;
87

0 commit comments

Comments
 (0)