Skip to content

Commit

Permalink
fix: changing namespace to match folder name (#2037)
Browse files Browse the repository at this point in the history
* updating namespace

* updating example name spaces
  • Loading branch information
James-Frowen committed Jun 25, 2020
1 parent 7c9afca commit e36449c
Show file tree
Hide file tree
Showing 27 changed files with 33 additions and 33 deletions.
4 changes: 2 additions & 2 deletions Assets/Mirror/Cloud/ApiConnector.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Mirror.CloudServices.ListServerService;
using Mirror.Cloud.ListServerService;
using UnityEngine;

namespace Mirror.CloudServices
namespace Mirror.Cloud
{
/// <summary>
/// Used to requests and responses from the mirror api
Expand Down
2 changes: 1 addition & 1 deletion Assets/Mirror/Cloud/Core/BaseApi.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace Mirror.CloudServices
namespace Mirror.Cloud
{
public interface IBaseApi
{
Expand Down
4 changes: 2 additions & 2 deletions Assets/Mirror/Cloud/Core/Events.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System;
using Mirror.CloudServices.ListServerService;
using Mirror.Cloud.ListServerService;
using UnityEngine.Events;

namespace Mirror.CloudServices
namespace Mirror.Cloud
{
[Serializable]
public class ServerListEvent : UnityEvent<ServerCollectionJson> { }
Expand Down
2 changes: 1 addition & 1 deletion Assets/Mirror/Cloud/Core/Extensions.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using UnityEngine.Networking;

namespace Mirror.CloudServices
namespace Mirror.Cloud
{
public static class Extensions
{
Expand Down
2 changes: 1 addition & 1 deletion Assets/Mirror/Cloud/Core/ICoroutineRunner.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Collections;
using UnityEngine;

namespace Mirror.CloudServices
namespace Mirror.Cloud
{
public interface ICoroutineRunner : IUnityEqualCheck
{
Expand Down
2 changes: 1 addition & 1 deletion Assets/Mirror/Cloud/Core/IRequestCreator.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Collections;
using UnityEngine.Networking;

namespace Mirror.CloudServices
namespace Mirror.Cloud
{
public delegate void RequestSuccess(string responseBody);

Expand Down
2 changes: 1 addition & 1 deletion Assets/Mirror/Cloud/Core/IUnityEqualCheck.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using UnityEngine;

namespace Mirror.CloudServices
namespace Mirror.Cloud
{
/// <summary>
/// Adds Extension to check if unity object is null.
Expand Down
2 changes: 1 addition & 1 deletion Assets/Mirror/Cloud/Core/JsonStructs.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace Mirror.CloudServices
namespace Mirror.Cloud
{
[Serializable]
public struct CreatedIdJson : ICanBeJson
Expand Down
2 changes: 1 addition & 1 deletion Assets/Mirror/Cloud/Core/Logger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using UnityEngine;
using UnityEngine.Networking;

namespace Mirror.CloudServices
namespace Mirror.Cloud
{
public static class Logger
{
Expand Down
2 changes: 1 addition & 1 deletion Assets/Mirror/Cloud/Core/RequestCreator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using UnityEngine;
using UnityEngine.Networking;

namespace Mirror.CloudServices
namespace Mirror.Cloud
{
/// <summary>
/// Methods to create and send UnityWebRequest
Expand Down
2 changes: 1 addition & 1 deletion Assets/Mirror/Cloud/ListServer/ListServer.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using UnityEngine.Events;

namespace Mirror.CloudServices.ListServerService
namespace Mirror.Cloud.ListServerService
{
public sealed class ListServer
{
Expand Down
2 changes: 1 addition & 1 deletion Assets/Mirror/Cloud/ListServer/ListServerBaseApi.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Mirror.CloudServices.ListServerService
namespace Mirror.Cloud.ListServerService
{
public abstract class ListServerBaseApi : BaseApi
{
Expand Down
2 changes: 1 addition & 1 deletion Assets/Mirror/Cloud/ListServer/ListServerClientApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using UnityEngine.Events;
using UnityEngine.Networking;

namespace Mirror.CloudServices.ListServerService
namespace Mirror.Cloud.ListServerService
{
public sealed class ListServerClientApi : ListServerBaseApi, IListServerClientApi
{
Expand Down
2 changes: 1 addition & 1 deletion Assets/Mirror/Cloud/ListServer/ListServerJson.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace Mirror.CloudServices.ListServerService
namespace Mirror.Cloud.ListServerService
{
[Serializable]
public struct ServerCollectionJson : ICanBeJson
Expand Down
2 changes: 1 addition & 1 deletion Assets/Mirror/Cloud/ListServer/ListServerServerApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using UnityEngine;
using UnityEngine.Networking;

namespace Mirror.CloudServices.ListServerService
namespace Mirror.Cloud.ListServerService
{
public sealed class ListServerServerApi : ListServerBaseApi, IListServerServerApi
{
Expand Down
4 changes: 2 additions & 2 deletions Assets/Mirror/Examples/Cloud/GUI/Scripts/ApiUpdater.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System;
using Mirror.CloudServices.ListServerService;
using Mirror.Cloud.ListServerService;
using UnityEngine;

namespace Mirror.CloudServices.Example
namespace Mirror.Cloud.Example
{
/// <summary>
/// This component should be put on the NetworkManager object
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using UnityEngine;

namespace Mirror.CloudServices.Examples
namespace Mirror.Cloud.Examples
{
/// <summary>
/// Instantiate a new NetworkManager if one does not already exist
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace Mirror.CloudServices.Example
namespace Mirror.Cloud.Example
{
/// <summary>
/// Network Manager with events that are used by the list server
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using UnityEngine;
using UnityEngine.UI;

namespace Mirror.CloudServices.Example
namespace Mirror.Cloud.Example
{
/// <summary>
/// Uses the ApiConnector on NetworkManager to update the Server list
Expand Down
4 changes: 2 additions & 2 deletions Assets/Mirror/Examples/Cloud/GUI/Scripts/ServerListUI.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System.Collections.Generic;
using Mirror.CloudServices.ListServerService;
using Mirror.Cloud.ListServerService;
using UnityEngine;

namespace Mirror.CloudServices.Example
namespace Mirror.Cloud.Example
{
/// <summary>
/// Displays the list of servers
Expand Down
4 changes: 2 additions & 2 deletions Assets/Mirror/Examples/Cloud/GUI/Scripts/ServerListUIItem.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using System;
using Mirror.CloudServices.ListServerService;
using Mirror.Cloud.ListServerService;
using UnityEngine;
using UnityEngine.UI;

namespace Mirror.CloudServices.Example
namespace Mirror.Cloud.Example
{
/// <summary>
/// Displays a server created by ServerListUI
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ MonoBehaviour:
_onServerListUpdated:
m_PersistentCalls:
m_Calls: []
m_TypeName: Mirror.CloudServices.ServerListEvent, Mirror.Cloud, Version=0.0.0.0,
m_TypeName: Mirror.Cloud.ServerListEvent, Mirror.Cloud, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
--- !u!114 &5399210850297115757
MonoBehaviour:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using UnityEngine;

namespace Mirror.CloudServices.Examples.Pong
namespace Mirror.Cloud.Examples.Pong
{
public class Ball : NetworkBehaviour
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Mirror.CloudServices.Example;
using Mirror.Cloud.Example;
using UnityEngine;

namespace Mirror.CloudServices.Examples.Pong
namespace Mirror.Cloud.Examples.Pong
{
public class BallManager : NetworkBehaviour
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using UnityEngine;

namespace Mirror.CloudServices.Example
namespace Mirror.Cloud.Example
{
public sealed class NetworkManagerListServerPong : NetworkManagerListServer
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using UnityEngine;

namespace Mirror.CloudServices.Examples.Pong
namespace Mirror.Cloud.Examples.Pong
{
public class Player : NetworkBehaviour
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ MonoBehaviour:
_onServerListUpdated:
m_PersistentCalls:
m_Calls: []
m_TypeName: Mirror.CloudServices.ServerListEvent, Mirror.Cloud, Version=0.0.0.0,
m_TypeName: Mirror.Cloud.ServerListEvent, Mirror.Cloud, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
--- !u!114 &5399210850297115757
MonoBehaviour:
Expand Down

0 comments on commit e36449c

Please sign in to comment.