You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Tracks all rulebook redirects that this ability's description will have. Explanation of the variables is as follows:
47
+
/// Key (string): the text that will be recoloured to indicate that it's clickable.
48
+
/// Tuple.Item1 (PageRangeType): the type of page the redirect will go to. Use PageRangeType.Unique if you want to redirect to a custom rulebook page using its pageId.
49
+
/// Tuple.Item2 (Color): the colour the Key text will be recoloured to.
50
+
/// Tuple.Item3 (string): the id that the API will match against to find the redirect page. Eg, for ability redirects this will be the Ability id as a string.
/// Tracks all rulebook redirects that this ability's description will have. Explanation of the variables is as follows:
71
+
/// Key (string): the text that will be recoloured to indicate that it's clickable.
72
+
/// Tuple.Item1 (PageRangeType): the type of page the redirect will go to. Use PageRangeType.Unique if you want to redirect to a custom rulebook page using its pageId.
73
+
/// Tuple.Item2 (Color): the colour the Key text will be recoloured to.
74
+
/// Tuple.Item3 (string): the id that the API will match against to find the redirect page. Eg, for ability redirects this will be the Ability id as a string.
Copy file name to clipboardExpand all lines: InscryptionAPI/Card/SpecialStatIconManager.cs
+12-2Lines changed: 12 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
usingDiskCardGame;
2
2
usingHarmonyLib;
3
3
usingInscryptionAPI.Guid;
4
+
usingInscryptionAPI.RuleBook;
4
5
usingSystem.Collections.ObjectModel;
5
6
usingUnityEngine;
6
7
@@ -27,6 +28,15 @@ public class FullStatIcon
27
28
publicreadonlyStatIconInfoInfo;
28
29
publicreadonlyTypeVariableStatBehavior;
29
30
31
+
/// <summary>
32
+
/// Tracks all rulebook redirects that this ability's description will have. Explanation of the variables is as follows:
33
+
/// Key (string): the text that will be recoloured to indicate that it's clickable.
34
+
/// Tuple.Item1 (PageRangeType): the type of page the redirect will go to. Use PageRangeType.Unique if you want to redirect to a custom rulebook page using its pageId.
35
+
/// Tuple.Item2 (Color): the colour the Key text will be recoloured to.
36
+
/// Tuple.Item3 (string): the id that the API will match against to find the redirect page. Eg, for ability redirects this will be the Ability id as a string.
/// Retrieves the FullConsumableItemData associated with the given ConsumableItemData.
53
+
/// </summary>
54
+
/// <param name="data">The ConsumableItemData we want to find the FullConsumableItemData of.</param>
55
+
/// <param name="fallBackToName">If the initial retrieval returns null and this is true, search again for the FullConsumableItemData using the data's mod prefix and rulebookName.</param>
56
+
/// <returns>The FullConsumableItemData associated with the given COnsumableItemData, or null if it does not exist.</returns>
0 commit comments