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
@@ -109,6 +114,20 @@ public Translation UsePlaceholder(bool use)
109
114
};
110
115
}
111
116
117
+
/// <summary>Whether to automatically process gender-switch blocks (i.e. <see cref="Dialogue.applyGenderSwitchBlocks"/>) before the text is returned.</summary>
118
+
/// <param name="apply">Whether to process gender-switch blocks.</param>
119
+
/// <remarks>Returns a new instance if this would change the result, else the current instance.</remarks>
/// <summary>Replace tokens in the text like <c>{{value}}</c> with the given values.</summary>
113
132
/// <param name="tokens">An object containing token key/value pairs. This can be an anonymous object (like <c>new { value = 42, name = "Cranberries" }</c>), a dictionary, or a class instance.</param>
114
133
/// <exception cref="ArgumentNullException">The <paramref name="tokens"/> argument is <c>null</c>.</exception>
0 commit comments