Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix retrieve typo in ArchipelagoPacketBase.cs #93

Merged
merged 1 commit into from
Jul 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
}
}
Loading