Skip to content

Commit 966b9ac

Browse files
committed
feat(Wrapper): Mark Raw methods behind Wrapper.ActionRequest methods obsolete
Signed-off-by: Ethan Henderson <[email protected]>
1 parent 5ab9f65 commit 966b9ac

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

IPC/RawMethods/ActionRequest.cs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
using Dalamud.Plugin.Ipc;
44
using FFXIVClientStructs.FFXIV.Client.Game;
55

6+
// ReSharper disable MemberHidesStaticFromOuterClass
67
// ReSharper disable RedundantSuppressNullableWarningExpression
78
// ReSharper disable StaticMemberInitializerReferesToMemberBelow
89

@@ -21,6 +22,8 @@ public partial class RawMethod
2122
/// </see>
2223
/// , <see langword="void" /> return
2324
/// </remarks>
25+
[Obsolete("Use WrathIPCWrapper.RequestBlacklist instead. " +
26+
"Will be made internal in 1.1.0.")]
2427
public static readonly
2528
ICallGateSubscriber<ActionType, uint, int, object>
2629
RequestBlacklist =
@@ -34,6 +37,8 @@ public static readonly
3437
/// </see>
3538
/// , <see langword="void" /> return
3639
/// </remarks>
40+
[Obsolete("Use WrathIPCWrapper.ResetBlacklist instead. " +
41+
"Will be made internal in 1.1.0.")]
3742
public static readonly
3843
ICallGateSubscriber<ActionType, uint, object>
3944
ResetBlacklist =
@@ -47,12 +52,16 @@ public static readonly
4752
/// </see>
4853
/// , <see langword="void" /> return
4954
/// </remarks>
55+
[Obsolete("Use WrathIPCWrapper.ResetAllBlacklists instead. " +
56+
"Will be made internal in 1.1.0.")]
5057
public static readonly
5158
ICallGateSubscriber<object>
5259
ResetAllBlacklists =
5360
Interface!.GetIpcSubscriber<object>
5461
($"{WC}ResetAllBlacklist");
5562

63+
[Obsolete("Use WrathIPCWrapper.GetArtificialCooldown instead. " +
64+
"Will be made internal in 1.1.0.")]
5665
public static readonly
5766
ICallGateSubscriber<ActionType, uint, float>
5867
GetArtificialCooldown =
@@ -66,6 +75,8 @@ public static readonly
6675
/// </see>
6776
/// , <see langword="void" /> return
6877
/// </remarks>
78+
[Obsolete("Use WrathIPCWrapper.RequestActionUse instead. " +
79+
"Will be made internal in 1.1.0.")]
6980
public static readonly
7081
ICallGateSubscriber<ActionType, uint, int, bool?, object>
7182
RequestActionUse =
@@ -79,6 +90,8 @@ public static readonly
7990
/// </see>
8091
/// , <see langword="void" /> return
8192
/// </remarks>
93+
[Obsolete("Use WrathIPCWrapper.ResetRequest instead. " +
94+
"Will be made internal in 1.1.0.")]
8295
public static readonly
8396
ICallGateSubscriber<ActionType, uint, object>
8497
ResetRequest =
@@ -92,6 +105,8 @@ public static readonly
92105
/// </see>
93106
/// , <see langword="void" /> return
94107
/// </remarks>
108+
[Obsolete("Use WrathIPCWrapper.ResetAllRequests instead. " +
109+
"Will be made internal in 1.1.0.")]
95110
public static readonly
96111
ICallGateSubscriber<object>
97112
ResetAllRequests =

0 commit comments

Comments
 (0)