mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-19 22:37:43 +01:00
deps: upgrade StyleCop, fix warnings
...fixes new array initializer expression
This commit is contained in:
parent
02022599e5
commit
31e541fae5
17 changed files with 307 additions and 286 deletions
|
|
@ -13,13 +13,7 @@ namespace Dalamud.Game.Text.SeStringHandling.Payloads;
|
|||
/// </summary>
|
||||
public class AutoTranslatePayload : Payload, ITextProvider
|
||||
{
|
||||
private string text;
|
||||
|
||||
[JsonProperty("group")]
|
||||
public uint Group { get; private set; }
|
||||
|
||||
[JsonProperty("key")]
|
||||
public uint Key { get; private set; }
|
||||
private string? text;
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="AutoTranslatePayload"/> class.
|
||||
|
|
@ -44,6 +38,18 @@ public class AutoTranslatePayload : Payload, ITextProvider
|
|||
internal AutoTranslatePayload()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the autotranslate group.
|
||||
/// </summary>
|
||||
[JsonProperty("group")]
|
||||
public uint Group { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the autotranslate key.
|
||||
/// </summary>
|
||||
[JsonProperty("key")]
|
||||
public uint Key { get; private set; }
|
||||
|
||||
/// <inheritdoc/>
|
||||
public override PayloadType Type => PayloadType.AutoTranslateText;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue