From 2e90b4afcc7e751691edb691f00120bc7d938822 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Wed, 3 Jul 2024 18:16:55 +0200 Subject: [PATCH] fix retrieve typo in ArchipelagoPacketBase.cs --- .../ArchipelagoPacketBase.cs | 48 +++++++++---------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/Archipelago.MultiClient.Net/ArchipelagoPacketBase.cs b/Archipelago.MultiClient.Net/ArchipelagoPacketBase.cs index abea224..4a90879 100644 --- a/Archipelago.MultiClient.Net/ArchipelagoPacketBase.cs +++ b/Archipelago.MultiClient.Net/ArchipelagoPacketBase.cs @@ -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 + { + [JsonIgnore] internal JObject jobject; - [JsonProperty("cmd")] - [JsonConverter(typeof(StringEnumConverter))] - public abstract ArchipelagoPacketType PacketType { get; } - - /// - /// 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 - /// - /// - public JObject ToJObject() => jobject; - } -} + [JsonProperty("cmd")] + [JsonConverter(typeof(StringEnumConverter))] + public abstract ArchipelagoPacketType PacketType { get; } + + /// + /// 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 + /// + /// + public JObject ToJObject() => jobject; + } +}