StyleCop: everything else

This commit is contained in:
Raymond Lynch 2021-05-30 07:10:00 -04:00
parent f64c9b8321
commit 595fd3f1e4
134 changed files with 16346 additions and 6202 deletions

View file

@ -1,30 +1,33 @@
using System.IO;
namespace Dalamud.Game.Text.SeStringHandling.Payloads {
namespace Dalamud.Game.Text.SeStringHandling.Payloads
{
/// <summary>
/// A wrapped ''
/// A wrapped ''.
/// </summary>
public class SeHyphenPayload : Payload, ITextProvider {
public class SeHyphenPayload : Payload, ITextProvider
{
private readonly byte[] bytes = { START_BYTE, (byte)SeStringChunkType.SeHyphen, 0x01, END_BYTE };
/// <summary>
/// Instance of SeHyphenPayload
/// Gets an instance of SeHyphenPayload.
/// </summary>
public static SeHyphenPayload Payload => new SeHyphenPayload();
public static SeHyphenPayload Payload => new();
/// <inheritdoc />
/// <summary>
/// Gets the text, just a ''.
/// </summary>
public string Text => "";
/// <inheritdoc/>
public override PayloadType Type => PayloadType.SeHyphen;
private readonly byte[] bytes = {START_BYTE, (byte) SeStringChunkType.SeHyphen, 0x01, END_BYTE};
/// <inheritdoc />
protected override byte[] EncodeImpl() => this.bytes;
/// <inheritdoc />
protected override void DecodeImpl(BinaryReader reader, long endOfStream) { }
/// <summary>
/// Just a ''
/// </summary>
public string Text => "";
protected override void DecodeImpl(BinaryReader reader, long endOfStream)
{
}
}
}