Skip to content

Commit

Permalink
Merge pull request #93 from ArchipelagoMW/ArchipelagoPacketBase-retri…
Browse files Browse the repository at this point in the history
…eve-typo-fix

fix retrieve typo in ArchipelagoPacketBase.cs
  • Loading branch information
Jarno458 authored Jul 6, 2024
2 parents 9850eea + 2e90b4a commit 8d28ced
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions Archipelago.MultiClient.Net/ArchipelagoPacketBase.cs
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
using Archipelago.MultiClient.Net.Enums;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Linq;
using System;

namespace Archipelago.MultiClient.Net
{
[Serializable]
public abstract class ArchipelagoPacketBase
{
[JsonIgnore]
using Archipelago.MultiClient.Net.Enums;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Linq;
using System;

namespace Archipelago.MultiClient.Net
{
[Serializable]
public abstract class ArchipelagoPacketBase

Check warning on line 10 in Archipelago.MultiClient.Net/ArchipelagoPacketBase.cs

View workflow job for this annotation

GitHub Actions / build

Missing XML comment for publicly visible type or member 'ArchipelagoPacketBase'
{
[JsonIgnore]
internal JObject jobject;

[JsonProperty("cmd")]
[JsonConverter(typeof(StringEnumConverter))]
public abstract ArchipelagoPacketType PacketType { get; }

/// <summary>
/// Retreive the basic jobject that was send by the server.
/// Its not recommended to use this however the JObject allows accessing properties are not available in the library
/// </summary>
/// <returns></returns>
public JObject ToJObject() => jobject;
}
}
[JsonProperty("cmd")]
[JsonConverter(typeof(StringEnumConverter))]
public abstract ArchipelagoPacketType PacketType { get; }

Check warning on line 17 in Archipelago.MultiClient.Net/ArchipelagoPacketBase.cs

View workflow job for this annotation

GitHub Actions / build

Missing XML comment for publicly visible type or member 'ArchipelagoPacketBase.PacketType'

/// <summary>
/// Retrieve the basic jobject that was send by the server.
/// Its not recommended to use this however the JObject allows accessing properties are not available in the library
/// </summary>
/// <returns></returns>
public JObject ToJObject() => jobject;
}
}

0 comments on commit 8d28ced

Please sign in to comment.