diff --git a/Dalamud/Game/Internal/Network/GameNetwork.cs b/Dalamud/Game/Network/GameNetwork.cs similarity index 98% rename from Dalamud/Game/Internal/Network/GameNetwork.cs rename to Dalamud/Game/Network/GameNetwork.cs index dff3ac535..0b982b2b0 100644 --- a/Dalamud/Game/Internal/Network/GameNetwork.cs +++ b/Dalamud/Game/Network/GameNetwork.cs @@ -6,18 +6,13 @@ using Dalamud.Game.Network; using Dalamud.Hooking; using Serilog; -namespace Dalamud.Game.Internal.Network +namespace Dalamud.Game.Network { /// /// This class handles interacting with game network events. /// public sealed class GameNetwork : IDisposable { - /// - /// Event that is called when a network message is sent/received. - /// - public OnNetworkMessageDelegate OnNetworkMessage; - private readonly GameNetworkAddressResolver address; private readonly Hook processZonePacketDownHook; private readonly Hook processZonePacketUpHook; @@ -58,6 +53,11 @@ namespace Dalamud.Game.Internal.Network [UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate byte ProcessZonePacketUpDelegate(IntPtr a1, IntPtr dataPtr, IntPtr a3, byte a4); + /// + /// Event that is called when a network message is sent/received. + /// + public event OnNetworkMessageDelegate OnNetworkMessage; + /// /// Enable this module. /// diff --git a/Dalamud/Game/Internal/Network/GameNetworkAddressResolver.cs b/Dalamud/Game/Network/GameNetworkAddressResolver.cs similarity index 95% rename from Dalamud/Game/Internal/Network/GameNetworkAddressResolver.cs rename to Dalamud/Game/Network/GameNetworkAddressResolver.cs index 9c5eb00fc..130986197 100644 --- a/Dalamud/Game/Internal/Network/GameNetworkAddressResolver.cs +++ b/Dalamud/Game/Network/GameNetworkAddressResolver.cs @@ -1,6 +1,8 @@ using System; -namespace Dalamud.Game.Internal.Network +using Dalamud.Game.Internal; + +namespace Dalamud.Game.Network { /// /// The address resolver for the class.