File tree Expand file tree Collapse file tree 4 files changed +13
-22
lines changed
Code/MethodSystem/Methods/CASSIEMethods Expand file tree Collapse file tree 4 files changed +13
-22
lines changed Original file line number Diff line number Diff line change 11using JetBrains . Annotations ;
2+ using LabApi . Features . Wrappers ;
23using SER . Code . ArgumentSystem . Arguments ;
34using SER . Code . ArgumentSystem . BaseArguments ;
45using SER . Code . MethodSystem . BaseMethods ;
@@ -65,24 +66,12 @@ public override void Execute()
6566 }
6667 }
6768 }
68-
69- if ( string . IsNullOrEmpty ( translation ) )
70- {
71- LabApi . Features . Wrappers . Cassie . Message (
72- message ,
73- true ,
74- isNoisy
75- ) ;
76- }
77- else
78- {
79- LabApi . Features . Wrappers . Cassie . Message (
80- message ,
81- true ,
82- isNoisy ,
83- true ,
84- translation
85- ) ;
86- }
69+
70+ // todo: check if this glitchScale works as intended
71+ Announcer . Message (
72+ message ,
73+ translation ,
74+ glitchScale : isNoisy ? 1 : 0
75+ ) ;
8776 }
8877}
Original file line number Diff line number Diff line change 11using JetBrains . Annotations ;
2+ using LabApi . Features . Wrappers ;
23using SER . Code . ArgumentSystem . BaseArguments ;
34using SER . Code . MethodSystem . BaseMethods ;
45
@@ -13,6 +14,6 @@ public class ClearCassieMethod : SynchronousMethod
1314
1415 public override void Execute ( )
1516 {
16- LabApi . Features . Wrappers . Cassie . Clear ( ) ;
17+ Announcer . Clear ( ) ;
1718 }
1819}
Original file line number Diff line number Diff line change 11using JetBrains . Annotations ;
2+ using LabApi . Features . Wrappers ;
23using SER . Code . ArgumentSystem . BaseArguments ;
34using SER . Code . MethodSystem . BaseMethods ;
45using SER . Code . ValueSystem ;
@@ -14,6 +15,6 @@ public class IsCassieSpeakingMethod : ReturningMethod<BoolValue>
1415
1516 public override void Execute ( )
1617 {
17- ReturnValue = LabApi . Features . Wrappers . Cassie . IsSpeaking ;
18+ ReturnValue = Announcer . IsSpeaking ;
1819 }
1920}
Original file line number Diff line number Diff line change 8484 <PackageReference Include =" AudioPlayerApi" Version =" 1.1.2" />
8585 <PackageReference Include =" NCalc" Version =" 1.3.8" />
8686 <PackageReference Include =" Newtonsoft.Json" Version =" 13.0.4" />
87- <PackageReference Include =" Northwood.LabAPI" Version =" 1.1.4 " />
87+ <PackageReference Include =" Northwood.LabAPI" Version =" 1.1.5 " />
8888 </ItemGroup >
8989 <ItemGroup >
9090 <Folder Include =" Code\" />
You can’t perform that action at this time.
0 commit comments