Skip to content

Commit

Permalink
feat: making enums for socket layer public instead of internal
Browse files Browse the repository at this point in the history
  • Loading branch information
James-Frowen committed Jun 2, 2021
1 parent fd09a9a commit bb9f209
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Assets/Mirage/Runtime/SocketLayer/Enums/Commands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/// <see cref="PacketType"/> and Commands uses their own byte/enum to split up the flow and add struture to the code.
/// </para>
/// </summary>
internal enum Commands
public enum Commands
{
/// <summary>
/// Sent from client to request to connect to server
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
namespace Mirage.SocketLayer
{

/// <summary>
/// Reason why a connection was disconnected
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion Assets/Mirage/Runtime/SocketLayer/Enums/PacketType.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace Mirage.SocketLayer
{
internal enum PacketType
public enum PacketType
{
/// <summary>
/// see <see cref="Commands"/>
Expand Down

0 comments on commit bb9f209

Please sign in to comment.