diff --git a/Assets/Mirror/Tests/Editor/Weaver/.WeaverTests.csproj b/Assets/Mirror/Tests/Editor/Weaver/.WeaverTests.csproj
index a4008d946..f9181e604 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/.WeaverTests.csproj
+++ b/Assets/Mirror/Tests/Editor/Weaver/.WeaverTests.csproj
@@ -232,6 +232,9 @@
G:\UnityEditors\2018.3.6f1\Editor\Data\Managed/UnityEditor.dll
+
+ G:\UnityEditors\2018.3.6f1\Editor\Data\Managed\UnityEngine\UnityEngine.TextRenderingModule.dll
+
diff --git a/Assets/Mirror/Tests/Editor/Weaver/GeneratedReaderWriter~/CreatesForClass.cs b/Assets/Mirror/Tests/Editor/Weaver/GeneratedReaderWriter~/CreatesForClass.cs
index 18e7c0ef8..8441d15ca 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/GeneratedReaderWriter~/CreatesForClass.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/GeneratedReaderWriter~/CreatesForClass.cs
@@ -1,5 +1,4 @@
using Mirror;
-using Mirror.Weaver.Tests.Extra;
namespace GeneratedReaderWriter.CreatesForClass
{
diff --git a/Assets/Mirror/Tests/Editor/Weaver/GeneratedReaderWriter~/CreatesForClassWithValidConstructor.cs b/Assets/Mirror/Tests/Editor/Weaver/GeneratedReaderWriter~/CreatesForClassWithValidConstructor.cs
index 8d47bd1f4..8c8e604c9 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/GeneratedReaderWriter~/CreatesForClassWithValidConstructor.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/GeneratedReaderWriter~/CreatesForClassWithValidConstructor.cs
@@ -1,5 +1,4 @@
using Mirror;
-using Mirror.Weaver.Tests.Extra;
namespace GeneratedReaderWriter.CreatesForClassWithValidConstructor
{
@@ -19,6 +18,6 @@ public class SomeOtherData
public SomeOtherData()
{
// empty
- }
+ }
}
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/GeneratedReaderWriter~/CreatesForInheritedFromScriptableObject.cs b/Assets/Mirror/Tests/Editor/Weaver/GeneratedReaderWriter~/CreatesForInheritedFromScriptableObject.cs
index dd4d97c0f..bc28938ac 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/GeneratedReaderWriter~/CreatesForInheritedFromScriptableObject.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/GeneratedReaderWriter~/CreatesForInheritedFromScriptableObject.cs
@@ -1,5 +1,4 @@
using Mirror;
-using Mirror.Weaver.Tests.Extra;
using UnityEngine;
namespace GeneratedReaderWriter.CreatesForInheritedFromScriptableObject
@@ -13,7 +12,7 @@ public void RpcDoSomething(DataScriptableObject data)
}
}
- public class DataScriptableObject :ScriptableObject
+ public class DataScriptableObject : ScriptableObject
{
public int usefulNumber;
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/GeneratedReaderWriter~/CreatesForStructs.cs b/Assets/Mirror/Tests/Editor/Weaver/GeneratedReaderWriter~/CreatesForStructs.cs
index d8ea2401d..67ccb3e02 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/GeneratedReaderWriter~/CreatesForStructs.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/GeneratedReaderWriter~/CreatesForStructs.cs
@@ -1,5 +1,4 @@
using Mirror;
-using Mirror.Weaver.Tests.Extra;
namespace GeneratedReaderWriter.CreatesForStructs
{
diff --git a/Assets/Mirror/Tests/Editor/Weaver/GeneratedReaderWriter~/ExcludesNonSerializedFields.cs b/Assets/Mirror/Tests/Editor/Weaver/GeneratedReaderWriter~/ExcludesNonSerializedFields.cs
index 0b04b4943..89509f109 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/GeneratedReaderWriter~/ExcludesNonSerializedFields.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/GeneratedReaderWriter~/ExcludesNonSerializedFields.cs
@@ -1,5 +1,4 @@
using Mirror;
-using Mirror.Weaver.Tests.Extra;
namespace GeneratedReaderWriter.ExcludesNonSerializedFields
{
diff --git a/Assets/Mirror/Tests/Editor/Weaver/GeneratedReaderWriter~/GivesErrorForClassWithNoValidConstructor.cs b/Assets/Mirror/Tests/Editor/Weaver/GeneratedReaderWriter~/GivesErrorForClassWithNoValidConstructor.cs
index 818178207..440bdf53a 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/GeneratedReaderWriter~/GivesErrorForClassWithNoValidConstructor.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/GeneratedReaderWriter~/GivesErrorForClassWithNoValidConstructor.cs
@@ -1,5 +1,4 @@
using Mirror;
-using Mirror.Weaver.Tests.Extra;
namespace GeneratedReaderWriter.GivesErrorForClassWithNoValidConstructor
{
@@ -19,6 +18,6 @@ public class SomeOtherData
public SomeOtherData(int usefulNumber)
{
this.usefulNumber = usefulNumber;
- }
+ }
}
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/GeneratedReaderWriter~/GivesErrorWhenUsingInterface.cs b/Assets/Mirror/Tests/Editor/Weaver/GeneratedReaderWriter~/GivesErrorWhenUsingInterface.cs
index de9ed6d68..2feaab8da 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/GeneratedReaderWriter~/GivesErrorWhenUsingInterface.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/GeneratedReaderWriter~/GivesErrorWhenUsingInterface.cs
@@ -1,5 +1,4 @@
using Mirror;
-using UnityEngine;
namespace GeneratedReaderWriter.GivesErrorWhenUsingInterface
{
diff --git a/Assets/Mirror/Tests/Editor/Weaver/GeneratedReaderWriter~/GivesErrorWhenUsingTypeInheritedFromMonoBehaviour.cs b/Assets/Mirror/Tests/Editor/Weaver/GeneratedReaderWriter~/GivesErrorWhenUsingTypeInheritedFromMonoBehaviour.cs
index 0ecd6a2b8..628070d62 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/GeneratedReaderWriter~/GivesErrorWhenUsingTypeInheritedFromMonoBehaviour.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/GeneratedReaderWriter~/GivesErrorWhenUsingTypeInheritedFromMonoBehaviour.cs
@@ -12,7 +12,7 @@ public void RpcDoSomething(MyBehaviour behaviour)
}
}
- public class MyBehaviour : MonoBehaviour
+ public class MyBehaviour : MonoBehaviour
{
public int usefulNumber;
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverClientRpcTests~/ClientRpcCantBeStatic.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverClientRpcTests~/ClientRpcCantBeStatic.cs
index da8412a09..49aa61fd2 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverClientRpcTests~/ClientRpcCantBeStatic.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverClientRpcTests~/ClientRpcCantBeStatic.cs
@@ -1,6 +1,3 @@
-using System;
-using System.Collections;
-using UnityEngine;
using Mirror;
namespace WeaverClientRpcTests.ClientRpcCantBeStatic
@@ -8,6 +5,6 @@ namespace WeaverClientRpcTests.ClientRpcCantBeStatic
class ClientRpcCantBeStatic : NetworkBehaviour
{
[ClientRpc]
- static void RpcCantBeStatic() {}
+ static void RpcCantBeStatic() { }
}
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverClientRpcTests~/ClientRpcStartsWithRpc.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverClientRpcTests~/ClientRpcStartsWithRpc.cs
index 9fd898a5c..3eb9064e3 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverClientRpcTests~/ClientRpcStartsWithRpc.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverClientRpcTests~/ClientRpcStartsWithRpc.cs
@@ -1,6 +1,3 @@
-using System;
-using System.Collections;
-using UnityEngine;
using Mirror;
namespace WeaverClientRpcTests.ClientRpcStartsWithRpc
@@ -8,6 +5,6 @@ namespace WeaverClientRpcTests.ClientRpcStartsWithRpc
class ClientRpcStartsWithRpc : NetworkBehaviour
{
[ClientRpc]
- void DoesntStartWithRpc() {}
+ void DoesntStartWithRpc() { }
}
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverClientRpcTests~/ClientRpcValid.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverClientRpcTests~/ClientRpcValid.cs
index a601c1bea..123d19f1d 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverClientRpcTests~/ClientRpcValid.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverClientRpcTests~/ClientRpcValid.cs
@@ -1,6 +1,3 @@
-using System;
-using System.Collections;
-using UnityEngine;
using Mirror;
namespace WeaverClientRpcTests.ClientRpcValid
@@ -8,6 +5,6 @@ namespace WeaverClientRpcTests.ClientRpcValid
class ClientRpcValid : NetworkBehaviour
{
[ClientRpc]
- void RpcThatIsTotallyValid() {}
+ void RpcThatIsTotallyValid() { }
}
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverClientServerAttributeTests~/NetworkBehaviourClient.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverClientServerAttributeTests~/NetworkBehaviourClient.cs
index f4bb425e1..3fc0ad730 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverClientServerAttributeTests~/NetworkBehaviourClient.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverClientServerAttributeTests~/NetworkBehaviourClient.cs
@@ -1,6 +1,3 @@
-using System;
-using System.Collections;
-using UnityEngine;
using Mirror;
namespace WeaverClientServerAttributeTests.NetworkBehaviourClient
@@ -8,7 +5,7 @@ namespace WeaverClientServerAttributeTests.NetworkBehaviourClient
class NetworkBehaviourClient : NetworkBehaviour
{
[Client]
- void ClientOnlyMethod()
+ void ClientOnlyMethod()
{
// test method
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverClientServerAttributeTests~/NetworkBehaviourServer.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverClientServerAttributeTests~/NetworkBehaviourServer.cs
index 24e99c3ba..c5b972f08 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverClientServerAttributeTests~/NetworkBehaviourServer.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverClientServerAttributeTests~/NetworkBehaviourServer.cs
@@ -1,6 +1,3 @@
-using System;
-using System.Collections;
-using UnityEngine;
using Mirror;
namespace WeaverClientServerAttributeTests.NetworkBehaviourServer
@@ -8,7 +5,7 @@ namespace WeaverClientServerAttributeTests.NetworkBehaviourServer
class NetworkBehaviourServer : NetworkBehaviour
{
[Server]
- void ServerOnlyMethod()
+ void ServerOnlyMethod()
{
// test method
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverCommandTests~/CommandCantBeStatic.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverCommandTests~/CommandCantBeStatic.cs
index 64df6d59d..e1ae6658f 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverCommandTests~/CommandCantBeStatic.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverCommandTests~/CommandCantBeStatic.cs
@@ -1,6 +1,3 @@
-using System;
-using System.Collections;
-using UnityEngine;
using Mirror;
namespace WeaverCommandTests.CommandCantBeStatic
@@ -8,6 +5,6 @@ namespace WeaverCommandTests.CommandCantBeStatic
class CommandCantBeStatic : NetworkBehaviour
{
[Command]
- static void CmdCantBeStatic() {}
+ static void CmdCantBeStatic() { }
}
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverCommandTests~/CommandStartsWithCmd.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverCommandTests~/CommandStartsWithCmd.cs
index 3e284ef58..6384d88a0 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverCommandTests~/CommandStartsWithCmd.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverCommandTests~/CommandStartsWithCmd.cs
@@ -1,6 +1,3 @@
-using System;
-using System.Collections;
-using UnityEngine;
using Mirror;
namespace WeaverCommandTests.CommandStartsWithCmd
@@ -8,6 +5,6 @@ namespace WeaverCommandTests.CommandStartsWithCmd
class CommandStartsWithCmd : NetworkBehaviour
{
[Command]
- void DoesntStartWithCmd() {}
+ void DoesntStartWithCmd() { }
}
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverGeneralTests~/RecursionCount.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverGeneralTests~/RecursionCount.cs
index 5d59342de..d5b55b723 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverGeneralTests~/RecursionCount.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverGeneralTests~/RecursionCount.cs
@@ -1,5 +1,3 @@
-using System;
-using UnityEngine;
using Mirror;
namespace WeaverGeneralTests.RecursionCount
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverGeneralTests~/TestingScriptableObjectArraySerialization.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverGeneralTests~/TestingScriptableObjectArraySerialization.cs
index c1009d99f..467ce8c64 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverGeneralTests~/TestingScriptableObjectArraySerialization.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverGeneralTests~/TestingScriptableObjectArraySerialization.cs
@@ -28,8 +28,8 @@ public class TestingScriptableObjectArraySerialization : NetworkBehaviour
{
[Command]
public void
- // This gonna give error saying-- Mirror.Weaver error:
- // Cannot generate writer for scriptable object Data[]. Use a supported type or provide a custom writer
+ // This gonna give error saying-- Mirror.Weaver error:
+ // Cannot generate writer for scriptable object Data[]. Use a supported type or provide a custom writer
CmdwriteArraydata(
Data[] arg)
{
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverMessageTests~/MessageMemberGeneric.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverMessageTests~/MessageMemberGeneric.cs
index 3caab820e..578e42cbd 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverMessageTests~/MessageMemberGeneric.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverMessageTests~/MessageMemberGeneric.cs
@@ -1,11 +1,10 @@
using System;
-using System.Collections;
-using UnityEngine;
using Mirror;
+using UnityEngine;
namespace WeaverMessageTests.MessageMemberGeneric
{
- class HasGeneric {}
+ class HasGeneric { }
class MessageMemberGeneric : MessageBase
{
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverMessageTests~/MessageMemberInterface.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverMessageTests~/MessageMemberInterface.cs
index abc9b73e0..dcdfcc762 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverMessageTests~/MessageMemberInterface.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverMessageTests~/MessageMemberInterface.cs
@@ -1,11 +1,10 @@
using System;
-using System.Collections;
-using UnityEngine;
using Mirror;
+using UnityEngine;
namespace WeaverMessageTests.MessageMemberInterface
{
- interface SuperCoolInterface {}
+ interface SuperCoolInterface { }
class MessageMemberInterface : MessageBase
{
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverMessageTests~/MessageSelfReferencing.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverMessageTests~/MessageSelfReferencing.cs
index eec208975..a2e0ac1a3 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverMessageTests~/MessageSelfReferencing.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverMessageTests~/MessageSelfReferencing.cs
@@ -1,7 +1,6 @@
using System;
-using System.Collections;
-using UnityEngine;
using Mirror;
+using UnityEngine;
namespace WeaverMessageTests.MessageSelfReferencing
{
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverMessageTests~/MessageValid.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverMessageTests~/MessageValid.cs
index 354f14fdf..0a5fcf3be 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverMessageTests~/MessageValid.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverMessageTests~/MessageValid.cs
@@ -1,7 +1,6 @@
using System;
-using System.Collections;
-using UnityEngine;
using Mirror;
+using UnityEngine;
namespace WeaverMessageTests.MessageValid
{
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourClient.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourClient.cs
index cece86b6d..a94b5e273 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourClient.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourClient.cs
@@ -1,13 +1,11 @@
-using System;
-using System.Collections;
-using UnityEngine;
using Mirror;
+using UnityEngine;
namespace WeaverMonoBehaviourTests.MonoBehaviourClient
{
class MonoBehaviourClient : MonoBehaviour
{
[Client]
- void ThisCantBeOutsideNetworkBehaviour() {}
+ void ThisCantBeOutsideNetworkBehaviour() { }
}
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourClientCallback.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourClientCallback.cs
index 50b0a68bf..49c22323e 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourClientCallback.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourClientCallback.cs
@@ -1,13 +1,11 @@
-using System;
-using System.Collections;
-using UnityEngine;
using Mirror;
+using UnityEngine;
namespace WeaverMonoBehaviourTests.MonoBehaviourClientCallback
{
class MonoBehaviourClientCallback : MonoBehaviour
{
[ClientCallback]
- void ThisCantBeOutsideNetworkBehaviour() {}
+ void ThisCantBeOutsideNetworkBehaviour() { }
}
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourClientRpc.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourClientRpc.cs
index 9f6d1ab06..c85b92f12 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourClientRpc.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourClientRpc.cs
@@ -1,13 +1,11 @@
-using System;
-using System.Collections;
-using UnityEngine;
using Mirror;
+using UnityEngine;
namespace WeaverMonoBehaviourTests.MonoBehaviourClientRpc
{
class MonoBehaviourClientRpc : MonoBehaviour
{
[ClientRpc]
- void RpcThisCantBeOutsideNetworkBehaviour() {}
+ void RpcThisCantBeOutsideNetworkBehaviour() { }
}
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourCommand.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourCommand.cs
index 2ca03790a..fd35c0551 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourCommand.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourCommand.cs
@@ -1,13 +1,11 @@
-using System;
-using System.Collections;
-using UnityEngine;
using Mirror;
+using UnityEngine;
namespace WeaverMonoBehaviourTests.MonoBehaviourCommand
{
class MonoBehaviourCommand : MonoBehaviour
{
[Command]
- void CmdThisCantBeOutsideNetworkBehaviour() {}
+ void CmdThisCantBeOutsideNetworkBehaviour() { }
}
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourServer.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourServer.cs
index 05ba7ba65..548812654 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourServer.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourServer.cs
@@ -1,13 +1,11 @@
-using System;
-using System.Collections;
-using UnityEngine;
using Mirror;
+using UnityEngine;
namespace WeaverMonoBehaviourTests.MonoBehaviourServer
{
class MonoBehaviourServer : MonoBehaviour
{
[Server]
- void ThisCantBeOutsideNetworkBehaviour() {}
+ void ThisCantBeOutsideNetworkBehaviour() { }
}
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourServerCallback.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourServerCallback.cs
index d6a270e79..1ce6075cb 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourServerCallback.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourServerCallback.cs
@@ -1,13 +1,11 @@
-using System;
-using System.Collections;
-using UnityEngine;
using Mirror;
+using UnityEngine;
namespace WeaverMonoBehaviourTests.MonoBehaviourServerCallback
{
class MonoBehaviourServerCallback : MonoBehaviour
{
[ServerCallback]
- void ThisCantBeOutsideNetworkBehaviour() {}
+ void ThisCantBeOutsideNetworkBehaviour() { }
}
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourSyncList.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourSyncList.cs
index 2674abfde..46d4050d9 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourSyncList.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourSyncList.cs
@@ -1,7 +1,5 @@
-using System;
-using System.Collections;
-using UnityEngine;
using Mirror;
+using UnityEngine;
namespace WeaverMonoBehaviourTests.MonoBehaviourSyncList
{
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourSyncVar.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourSyncVar.cs
index 8acb39163..5727bab49 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourSyncVar.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourSyncVar.cs
@@ -1,7 +1,5 @@
-using System;
-using System.Collections;
-using UnityEngine;
using Mirror;
+using UnityEngine;
namespace WeaverMonoBehaviourTests.MonoBehaviourSyncVar
{
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourTargetRpc.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourTargetRpc.cs
index 93d0e08ee..21318e671 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourTargetRpc.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourTargetRpc.cs
@@ -1,13 +1,11 @@
-using System;
-using System.Collections;
-using UnityEngine;
using Mirror;
+using UnityEngine;
namespace WeaverMonoBehaviourTests.MonoBehaviourTargetRpc
{
class MonoBehaviourTargetRpc : MonoBehaviour
{
[TargetRpc]
- void TargetThisCantBeOutsideNetworkBehaviour(NetworkConnection nc) {}
+ void TargetThisCantBeOutsideNetworkBehaviour(NetworkConnection nc) { }
}
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourValid.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourValid.cs
index 185d05226..aff08cc67 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourValid.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverMonoBehaviourTests~/MonoBehaviourValid.cs
@@ -1,7 +1,4 @@
-using System;
-using System.Collections;
using UnityEngine;
-using Mirror;
namespace WeaverMonoBehaviourTests.MonoBehaviourValid
{
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourAbstractBaseValid.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourAbstractBaseValid.cs
index 8cc7be65a..624e3fe44 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourAbstractBaseValid.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourAbstractBaseValid.cs
@@ -1,9 +1,8 @@
-using UnityEngine;
using Mirror;
namespace WeaverNetworkBehaviourTests.NetworkBehaviourAbstractBaseValid
{
- public abstract class EntityBase : NetworkBehaviour {}
+ public abstract class EntityBase : NetworkBehaviour { }
public class EntityConcrete : EntityBase
{
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourClientRpcCoroutine.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourClientRpcCoroutine.cs
index cef0bd610..0434b94fe 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourClientRpcCoroutine.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourClientRpcCoroutine.cs
@@ -1,6 +1,4 @@
-using System;
using System.Collections;
-using UnityEngine;
using Mirror;
namespace WeaverNetworkBehaviourTests.NetworkBehaviourClientRpcCoroutine
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourClientRpcDuplicateName.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourClientRpcDuplicateName.cs
index ec2e175d4..20e214a3e 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourClientRpcDuplicateName.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourClientRpcDuplicateName.cs
@@ -1,6 +1,3 @@
-using System;
-using System.Collections;
-using UnityEngine;
using Mirror;
namespace WeaverNetworkBehaviourTests.NetworkBehaviourClientRpcDuplicateName
@@ -8,9 +5,9 @@ namespace WeaverNetworkBehaviourTests.NetworkBehaviourClientRpcDuplicateName
class NetworkBehaviourClientRpcDuplicateName : NetworkBehaviour
{
[ClientRpc]
- public void RpcCantHaveSameName(int abc) {}
+ public void RpcCantHaveSameName(int abc) { }
[ClientRpc]
- public void RpcCantHaveSameName(int abc, int def) {}
+ public void RpcCantHaveSameName(int abc, int def) { }
}
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourClientRpcGenericParam.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourClientRpcGenericParam.cs
index 3b6a64fe2..5cef7dc41 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourClientRpcGenericParam.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourClientRpcGenericParam.cs
@@ -1,6 +1,3 @@
-using System;
-using System.Collections;
-using UnityEngine;
using Mirror;
namespace WeaverNetworkBehaviourTests.NetworkBehaviourClientRpcGenericParam
@@ -8,6 +5,6 @@ namespace WeaverNetworkBehaviourTests.NetworkBehaviourClientRpcGenericParam
class NetworkBehaviourClientRpcGenericParam : NetworkBehaviour
{
[ClientRpc]
- public void RpcCantHaveGeneric() {}
+ public void RpcCantHaveGeneric() { }
}
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourClientRpcParamAbstract.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourClientRpcParamAbstract.cs
index 15eba4944..a5c51de73 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourClientRpcParamAbstract.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourClientRpcParamAbstract.cs
@@ -1,5 +1,3 @@
-using System;
-using UnityEngine;
using Mirror;
namespace WeaverNetworkBehaviourTests.NetworkBehaviourClientRpcParamAbstract
@@ -12,6 +10,6 @@ public abstract class AbstractClass
}
[ClientRpc]
- public void RpcCantHaveParamAbstract(AbstractClass monkeys) {}
+ public void RpcCantHaveParamAbstract(AbstractClass monkeys) { }
}
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourClientRpcParamComponent.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourClientRpcParamComponent.cs
index ec1aabb5a..1208e3822 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourClientRpcParamComponent.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourClientRpcParamComponent.cs
@@ -1,5 +1,3 @@
-using System;
-using UnityEngine;
using Mirror;
namespace WeaverNetworkBehaviourTests.NetworkBehaviourClientRpcParamComponent
@@ -12,6 +10,6 @@ public class ComponentClass : UnityEngine.Component
}
[ClientRpc]
- public void RpcCantHaveParamComponent(ComponentClass monkeyComp) {}
+ public void RpcCantHaveParamComponent(ComponentClass monkeyComp) { }
}
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourClientRpcParamNetworkConnection.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourClientRpcParamNetworkConnection.cs
index 7fea61c00..912c2f2ee 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourClientRpcParamNetworkConnection.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourClientRpcParamNetworkConnection.cs
@@ -5,6 +5,6 @@ namespace WeaverNetworkBehaviourTests.NetworkBehaviourClientRpcParamNetworkConne
class NetworkBehaviourClientRpcParamNetworkConnection : NetworkBehaviour
{
[ClientRpc]
- public void RpcCantHaveParamOptional(NetworkConnection monkeyCon) {}
+ public void RpcCantHaveParamOptional(NetworkConnection monkeyCon) { }
}
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourClientRpcParamOptional.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourClientRpcParamOptional.cs
index 2b1365d06..03215101c 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourClientRpcParamOptional.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourClientRpcParamOptional.cs
@@ -1,5 +1,3 @@
-using System;
-using UnityEngine;
using Mirror;
namespace WeaverNetworkBehaviourTests.NetworkBehaviourClientRpcParamOptional
@@ -7,6 +5,6 @@ namespace WeaverNetworkBehaviourTests.NetworkBehaviourClientRpcParamOptional
class NetworkBehaviourClientRpcParamOptional : NetworkBehaviour
{
[ClientRpc]
- public void RpcCantHaveParamOptional(int monkeys = 12) {}
+ public void RpcCantHaveParamOptional(int monkeys = 12) { }
}
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourClientRpcParamOut.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourClientRpcParamOut.cs
index c67f697eb..7225adb0b 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourClientRpcParamOut.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourClientRpcParamOut.cs
@@ -1,5 +1,3 @@
-using System;
-using UnityEngine;
using Mirror;
namespace WeaverNetworkBehaviourTests.NetworkBehaviourClientRpcParamOut
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourClientRpcParamRef.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourClientRpcParamRef.cs
index 87902a0f9..3de256360 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourClientRpcParamRef.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourClientRpcParamRef.cs
@@ -1,5 +1,3 @@
-using System;
-using UnityEngine;
using Mirror;
namespace WeaverNetworkBehaviourTests.NetworkBehaviourClientRpcParamRef
@@ -7,6 +5,6 @@ namespace WeaverNetworkBehaviourTests.NetworkBehaviourClientRpcParamRef
class NetworkBehaviourClientRpcParamRef : NetworkBehaviour
{
[ClientRpc]
- public void RpcCantHaveParamRef(ref int monkeys) {}
+ public void RpcCantHaveParamRef(ref int monkeys) { }
}
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourClientRpcVoidReturn.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourClientRpcVoidReturn.cs
index 6d7070edd..75d31847a 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourClientRpcVoidReturn.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourClientRpcVoidReturn.cs
@@ -1,6 +1,3 @@
-using System;
-using System.Collections;
-using UnityEngine;
using Mirror;
namespace WeaverNetworkBehaviourTests.NetworkBehaviourClientRpcVoidReturn
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourCmdCoroutine.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourCmdCoroutine.cs
index 13afb0b3b..39bf66076 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourCmdCoroutine.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourCmdCoroutine.cs
@@ -1,6 +1,4 @@
-using System;
using System.Collections;
-using UnityEngine;
using Mirror;
namespace WeaverNetworkBehaviourTests.NetworkBehaviourCmdCoroutine
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourCmdDuplicateName.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourCmdDuplicateName.cs
index 082d504d2..f1ac1c8ab 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourCmdDuplicateName.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourCmdDuplicateName.cs
@@ -1,6 +1,3 @@
-using System;
-using System.Collections;
-using UnityEngine;
using Mirror;
namespace WeaverNetworkBehaviourTests.NetworkBehaviourCmdDuplicateName
@@ -8,9 +5,9 @@ namespace WeaverNetworkBehaviourTests.NetworkBehaviourCmdDuplicateName
class NetworkBehaviourCmdDuplicateName : NetworkBehaviour
{
[Command]
- public void CmdCantHaveSameName(int abc) {}
+ public void CmdCantHaveSameName(int abc) { }
[Command]
- public void CmdCantHaveSameName(int abc, int def) {}
+ public void CmdCantHaveSameName(int abc, int def) { }
}
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourCmdGenericParam.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourCmdGenericParam.cs
index f9b0a258f..2e10933f5 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourCmdGenericParam.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourCmdGenericParam.cs
@@ -1,6 +1,3 @@
-using System;
-using System.Collections;
-using UnityEngine;
using Mirror;
namespace WeaverNetworkBehaviourTests.NetworkBehaviourCmdGenericParam
@@ -8,6 +5,6 @@ namespace WeaverNetworkBehaviourTests.NetworkBehaviourCmdGenericParam
class NetworkBehaviourCmdGenericParam : NetworkBehaviour
{
[Command]
- public void CmdCantHaveGeneric() {}
+ public void CmdCantHaveGeneric() { }
}
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourCmdParamAbstract.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourCmdParamAbstract.cs
index 746068b55..d6bac6044 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourCmdParamAbstract.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourCmdParamAbstract.cs
@@ -1,5 +1,3 @@
-using System;
-using UnityEngine;
using Mirror;
namespace WeaverNetworkBehaviourTests.NetworkBehaviourCmdParamAbstract
@@ -12,6 +10,6 @@ public abstract class AbstractClass
}
[Command]
- public void CmdCantHaveParamAbstract(AbstractClass monkeys) {}
+ public void CmdCantHaveParamAbstract(AbstractClass monkeys) { }
}
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourCmdParamComponent.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourCmdParamComponent.cs
index 7533221f1..e39f8a313 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourCmdParamComponent.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourCmdParamComponent.cs
@@ -1,5 +1,3 @@
-using System;
-using UnityEngine;
using Mirror;
namespace WeaverNetworkBehaviourTests.NetworkBehaviourCmdParamComponent
@@ -12,6 +10,6 @@ public class ComponentClass : UnityEngine.Component
}
[Command]
- public void CmdCantHaveParamComponent(ComponentClass monkeyComp) {}
+ public void CmdCantHaveParamComponent(ComponentClass monkeyComp) { }
}
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourCmdParamNetworkConnection.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourCmdParamNetworkConnection.cs
index 3c9043c4d..9ad198a1b 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourCmdParamNetworkConnection.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourCmdParamNetworkConnection.cs
@@ -5,6 +5,6 @@ namespace WeaverNetworkBehaviourTests.NetworkBehaviourCmdParamNetworkConnection
class NetworkBehaviourCmdParamNetworkConnection : NetworkBehaviour
{
[Command]
- public void CmdCantHaveParamOptional(NetworkConnection monkeyCon) {}
+ public void CmdCantHaveParamOptional(NetworkConnection monkeyCon) { }
}
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourCmdParamOptional.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourCmdParamOptional.cs
index a7578e342..509715d2a 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourCmdParamOptional.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourCmdParamOptional.cs
@@ -1,5 +1,3 @@
-using System;
-using UnityEngine;
using Mirror;
namespace WeaverNetworkBehaviourTests.NetworkBehaviourCmdParamOptional
@@ -7,6 +5,6 @@ namespace WeaverNetworkBehaviourTests.NetworkBehaviourCmdParamOptional
class NetworkBehaviourCmdParamOptional : NetworkBehaviour
{
[Command]
- public void CmdCantHaveParamOptional(int monkeys = 12) {}
+ public void CmdCantHaveParamOptional(int monkeys = 12) { }
}
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourCmdParamOut.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourCmdParamOut.cs
index f2ca7e655..2999339fe 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourCmdParamOut.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourCmdParamOut.cs
@@ -1,5 +1,3 @@
-using System;
-using UnityEngine;
using Mirror;
namespace WeaverNetworkBehaviourTests.NetworkBehaviourCmdParamOut
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourCmdParamRef.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourCmdParamRef.cs
index 584a24b6b..54fd0d0e4 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourCmdParamRef.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourCmdParamRef.cs
@@ -1,5 +1,3 @@
-using System;
-using UnityEngine;
using Mirror;
namespace WeaverNetworkBehaviourTests.NetworkBehaviourCmdParamRef
@@ -7,6 +5,6 @@ namespace WeaverNetworkBehaviourTests.NetworkBehaviourCmdParamRef
class NetworkBehaviourCmdParamRef : NetworkBehaviour
{
[Command]
- public void CmdCantHaveParamRef(ref int monkeys) {}
+ public void CmdCantHaveParamRef(ref int monkeys) { }
}
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourCmdVoidReturn.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourCmdVoidReturn.cs
index 5897bd780..1015efdee 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourCmdVoidReturn.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourCmdVoidReturn.cs
@@ -1,6 +1,3 @@
-using System;
-using System.Collections;
-using UnityEngine;
using Mirror;
namespace WeaverNetworkBehaviourTests.NetworkBehaviourCmdVoidReturn
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourGeneric.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourGeneric.cs
index ae7a05dbd..c6deba0bb 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourGeneric.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourGeneric.cs
@@ -1,4 +1,3 @@
-using UnityEngine;
using Mirror;
namespace WeaverNetworkBehaviourTests.NetworkBehaviourGeneric
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcCoroutine.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcCoroutine.cs
index e9451c746..dbd8c13fe 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcCoroutine.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcCoroutine.cs
@@ -1,6 +1,4 @@
-using System;
using System.Collections;
-using UnityEngine;
using Mirror;
namespace WeaverNetworkBehaviourTests.NetworkBehaviourTargetRpcCoroutine
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcDuplicateName.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcDuplicateName.cs
index eea9ee44f..4a26ff2e9 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcDuplicateName.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcDuplicateName.cs
@@ -1,6 +1,3 @@
-using System;
-using System.Collections;
-using UnityEngine;
using Mirror;
namespace WeaverNetworkBehaviourTests.NetworkBehaviourTargetRpcDuplicateName
@@ -8,9 +5,9 @@ namespace WeaverNetworkBehaviourTests.NetworkBehaviourTargetRpcDuplicateName
class NetworkBehaviourTargetRpcDuplicateName : NetworkBehaviour
{
[TargetRpc]
- public void TargetRpcCantHaveSameName(NetworkConnection monkeyCon, int abc) {}
+ public void TargetRpcCantHaveSameName(NetworkConnection monkeyCon, int abc) { }
[TargetRpc]
- public void TargetRpcCantHaveSameName(NetworkConnection monkeyCon, int abc, int def) {}
+ public void TargetRpcCantHaveSameName(NetworkConnection monkeyCon, int abc, int def) { }
}
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcGenericParam.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcGenericParam.cs
index e54c3015c..c37431d67 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcGenericParam.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcGenericParam.cs
@@ -1,6 +1,3 @@
-using System;
-using System.Collections;
-using UnityEngine;
using Mirror;
namespace WeaverNetworkBehaviourTests.NetworkBehaviourTargetRpcGenericParam
@@ -8,6 +5,6 @@ namespace WeaverNetworkBehaviourTests.NetworkBehaviourTargetRpcGenericParam
class NetworkBehaviourTargetRpcGenericParam : NetworkBehaviour
{
[TargetRpc]
- public void TargetRpcCantHaveGeneric() {}
+ public void TargetRpcCantHaveGeneric() { }
}
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcParamAbstract.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcParamAbstract.cs
index 6194d6294..fb8938fb3 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcParamAbstract.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcParamAbstract.cs
@@ -1,5 +1,3 @@
-using System;
-using UnityEngine;
using Mirror;
namespace WeaverNetworkBehaviourTests.NetworkBehaviourTargetRpcParamAbstract
@@ -12,6 +10,6 @@ public abstract class AbstractClass
}
[TargetRpc]
- public void TargetRpcCantHaveParamAbstract(NetworkConnection monkeyCon, AbstractClass monkeys) {}
+ public void TargetRpcCantHaveParamAbstract(NetworkConnection monkeyCon, AbstractClass monkeys) { }
}
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcParamComponent.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcParamComponent.cs
index e34b9c284..b2287761d 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcParamComponent.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcParamComponent.cs
@@ -1,5 +1,3 @@
-using System;
-using UnityEngine;
using Mirror;
namespace WeaverNetworkBehaviourTests.NetworkBehaviourTargetRpcParamComponent
@@ -12,6 +10,6 @@ public class ComponentClass : UnityEngine.Component
}
[TargetRpc]
- public void TargetRpcCantHaveParamComponent(NetworkConnection monkeyCon, ComponentClass monkeyComp) {}
+ public void TargetRpcCantHaveParamComponent(NetworkConnection monkeyCon, ComponentClass monkeyComp) { }
}
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcParamNetworkConnection.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcParamNetworkConnection.cs
index 45a552a17..9b5559176 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcParamNetworkConnection.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcParamNetworkConnection.cs
@@ -5,6 +5,6 @@ namespace WeaverNetworkBehaviourTests.NetworkBehaviourTargetRpcParamNetworkConne
class NetworkBehaviourTargetRpcParamNetworkConnection : NetworkBehaviour
{
[TargetRpc]
- public void TargetRpcCantHaveParamOptional(NetworkConnection monkeyCon) {}
+ public void TargetRpcCantHaveParamOptional(NetworkConnection monkeyCon) { }
}
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcParamNetworkConnectionNotFirst.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcParamNetworkConnectionNotFirst.cs
index 708764e0d..38466a3b8 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcParamNetworkConnectionNotFirst.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcParamNetworkConnectionNotFirst.cs
@@ -5,6 +5,6 @@ namespace WeaverNetworkBehaviourTests.NetworkBehaviourTargetRpcParamNetworkConne
class NetworkBehaviourTargetRpcParamNetworkConnectionNotFirst : NetworkBehaviour
{
[TargetRpc]
- public void TargetRpcCantHaveParamOptional(int abc, NetworkConnection monkeyCon) {}
+ public void TargetRpcCantHaveParamOptional(int abc, NetworkConnection monkeyCon) { }
}
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcParamOptional.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcParamOptional.cs
index 8f3a5801d..ea4655c52 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcParamOptional.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcParamOptional.cs
@@ -1,5 +1,3 @@
-using System;
-using UnityEngine;
using Mirror;
namespace WeaverNetworkBehaviourTests.NetworkBehaviourTargetRpcParamOptional
@@ -7,6 +5,6 @@ namespace WeaverNetworkBehaviourTests.NetworkBehaviourTargetRpcParamOptional
class NetworkBehaviourTargetRpcParamOptional : NetworkBehaviour
{
[TargetRpc]
- public void TargetRpcCantHaveParamOptional(NetworkConnection monkeyCon, int monkeys = 12) {}
+ public void TargetRpcCantHaveParamOptional(NetworkConnection monkeyCon, int monkeys = 12) { }
}
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcParamOut.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcParamOut.cs
index d1d0c0b81..0892aa1a7 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcParamOut.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcParamOut.cs
@@ -1,5 +1,3 @@
-using System;
-using UnityEngine;
using Mirror;
namespace WeaverNetworkBehaviourTests.NetworkBehaviourTargetRpcParamOut
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcParamRef.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcParamRef.cs
index b8c9b2c0f..3279878a0 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcParamRef.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcParamRef.cs
@@ -1,5 +1,3 @@
-using System;
-using UnityEngine;
using Mirror;
namespace WeaverNetworkBehaviourTests.NetworkBehaviourTargetRpcParamRef
@@ -7,6 +5,6 @@ namespace WeaverNetworkBehaviourTests.NetworkBehaviourTargetRpcParamRef
class NetworkBehaviourTargetRpcParamRef : NetworkBehaviour
{
[TargetRpc]
- public void TargetRpcCantHaveParamRef(NetworkConnection monkeyCon, ref int monkeys) {}
+ public void TargetRpcCantHaveParamRef(NetworkConnection monkeyCon, ref int monkeys) { }
}
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcVoidReturn.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcVoidReturn.cs
index a4a04170d..e44356aa1 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcVoidReturn.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourTargetRpcVoidReturn.cs
@@ -1,6 +1,3 @@
-using System;
-using System.Collections;
-using UnityEngine;
using Mirror;
namespace WeaverNetworkBehaviourTests.NetworkBehaviourTargetRpcVoidReturn
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourValid.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourValid.cs
index 4b998759e..bb9f6c975 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourValid.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverNetworkBehaviourTests~/NetworkBehaviourValid.cs
@@ -1,4 +1,3 @@
-using UnityEngine;
using Mirror;
namespace WeaverNetworkBehaviourTests.NetworkBehaviourValid
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionary.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionary.cs
index 29d6147d2..c2dd3e374 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionary.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionary.cs
@@ -1,4 +1,3 @@
-using UnityEngine;
using Mirror;
namespace WeaverSyncDictionaryTests.SyncDictionary
@@ -6,9 +5,9 @@ namespace WeaverSyncDictionaryTests.SyncDictionary
class SyncDictionaryValid : NetworkBehaviour
{
public class SyncDictionaryIntString : SyncDictionary { }
-
+
public SyncDictionaryIntString Foo;
}
-
+
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryErrorForGenericStructItem.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryErrorForGenericStructItem.cs
index 629c1da0d..3cb9df302 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryErrorForGenericStructItem.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryErrorForGenericStructItem.cs
@@ -4,14 +4,14 @@ namespace WeaverSyncDictionaryTests.SyncDictionaryErrorForGenericStructItem
{
class SyncDictionaryErrorForGenericStructItem : NetworkBehaviour
{
- struct MyGenericStruct
+ struct MyGenericStruct
{
T genericpotato;
}
class MyGenericStructDictionary : SyncDictionary> { };
-
+
MyGenericStructDictionary harpseals;
}
-
+
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryInheritance.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryInheritance.cs
index 9f8f64b97..3ff13497b 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryInheritance.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryInheritance.cs
@@ -1,4 +1,3 @@
-using UnityEngine;
using Mirror;
namespace WeaverSyncDictionaryTests.SyncDictionaryInheritance
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryStructItem.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryStructItem.cs
index 8cd352475..23116e387 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryStructItem.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryStructItem.cs
@@ -1,4 +1,3 @@
-using UnityEngine;
using Mirror;
namespace WeaverSyncDictionaryTests.SyncDictionaryStructItem
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryStructItemWithCustomDeserializeOnly.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryStructItemWithCustomDeserializeOnly.cs
index 871639d06..cde9bc572 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryStructItemWithCustomDeserializeOnly.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryStructItemWithCustomDeserializeOnly.cs
@@ -1,4 +1,3 @@
-using UnityEngine;
using Mirror;
namespace WeaverSyncDictionaryTests.SyncDictionaryStructItemWithCustomDeserializeOnly
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryStructItemWithCustomMethods.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryStructItemWithCustomMethods.cs
index d22f5f145..2ff8b0ffb 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryStructItemWithCustomMethods.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryStructItemWithCustomMethods.cs
@@ -1,4 +1,3 @@
-using UnityEngine;
using Mirror;
namespace WeaverSyncDictionaryTests.SyncDictionaryStructItemWithCustomMethods
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryStructItemWithCustomSerializeOnly.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryStructItemWithCustomSerializeOnly.cs
index 1986a4b10..205aa61e7 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryStructItemWithCustomSerializeOnly.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryStructItemWithCustomSerializeOnly.cs
@@ -1,4 +1,3 @@
-using UnityEngine;
using Mirror;
namespace WeaverSyncDictionaryTests.SyncDictionaryStructItemWithCustomSerializeOnly
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryStructKey.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryStructKey.cs
index 3f958dd90..af59ac878 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryStructKey.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryStructKey.cs
@@ -1,4 +1,3 @@
-using UnityEngine;
using Mirror;
namespace WeaverSyncDictionaryTests.SyncDictionaryStructKey
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryStructKeyWithCustomDeserializeOnly.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryStructKeyWithCustomDeserializeOnly.cs
index 5157f6a41..0cb3d1c05 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryStructKeyWithCustomDeserializeOnly.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryStructKeyWithCustomDeserializeOnly.cs
@@ -1,4 +1,3 @@
-using UnityEngine;
using Mirror;
namespace WeaverSyncDictionaryTests.SyncDictionaryStructKeyWithCustomDeserializeOnly
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryStructKeyWithCustomMethods.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryStructKeyWithCustomMethods.cs
index f0ee73bf3..381327b85 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryStructKeyWithCustomMethods.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryStructKeyWithCustomMethods.cs
@@ -1,4 +1,3 @@
-using UnityEngine;
using Mirror;
namespace WeaverSyncDictionaryTests.SyncDictionaryStructKeyWithCustomMethods
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryStructKeyWithCustomSerializeOnly.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryStructKeyWithCustomSerializeOnly.cs
index ff78a7a5c..6cb8d2142 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryStructKeyWithCustomSerializeOnly.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryStructKeyWithCustomSerializeOnly.cs
@@ -1,4 +1,3 @@
-using UnityEngine;
using Mirror;
namespace WeaverSyncDictionaryTests.SyncDictionaryStructKeyWithCustomSerializeOnly
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncList.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncList.cs
index 498b8638f..0416ac23b 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncList.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncList.cs
@@ -1,4 +1,3 @@
-using UnityEngine;
using Mirror;
namespace WeaverSyncListTests.SyncList
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListByteValid.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListByteValid.cs
index 9db77f0d9..20ac64789 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListByteValid.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListByteValid.cs
@@ -1,11 +1,10 @@
-using UnityEngine;
using Mirror;
namespace WeaverSyncListTests.SyncListByteValid
{
class SyncListByteValid : NetworkBehaviour
{
- class MyByteClass : SyncList {};
+ class MyByteClass : SyncList { };
MyByteClass Foo;
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListErrorForGenericStruct.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListErrorForGenericStruct.cs
index 4ca1cc3e9..3809172b4 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListErrorForGenericStruct.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListErrorForGenericStruct.cs
@@ -5,7 +5,7 @@ namespace WeaverSyncListTests.SyncListErrorForGenericStruct
class SyncListErrorForGenericStruct : NetworkBehaviour
{
MyGenericStructList harpseals;
-
+
struct MyGenericStruct
{
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListErrorForGenericStructWithCustomDeserializeOnly.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListErrorForGenericStructWithCustomDeserializeOnly.cs
index f12cbdc51..a326942c9 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListErrorForGenericStructWithCustomDeserializeOnly.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListErrorForGenericStructWithCustomDeserializeOnly.cs
@@ -5,7 +5,7 @@ namespace WeaverSyncListTests.SyncListErrorForGenericStructWithCustomDeserialize
class SyncListErrorForGenericStructWithCustomDeserializeOnly : NetworkBehaviour
{
MyGenericStructList harpseals;
-
+
struct MyGenericStruct
{
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListErrorForGenericStructWithCustomSerializeOnly.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListErrorForGenericStructWithCustomSerializeOnly.cs
index 78d504ad3..27008fece 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListErrorForGenericStructWithCustomSerializeOnly.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListErrorForGenericStructWithCustomSerializeOnly.cs
@@ -5,7 +5,7 @@ namespace WeaverSyncListTests.SyncListErrorForGenericStructWithCustomSerializeOn
class SyncListErrorForGenericStructWithCustomSerializeOnly : NetworkBehaviour
{
MyGenericStructList harpseals;
-
+
struct MyGenericStruct
{
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListErrorForInterface.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListErrorForInterface.cs
index 09c91478a..2e059b324 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListErrorForInterface.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListErrorForInterface.cs
@@ -1,4 +1,3 @@
-using UnityEngine;
using Mirror;
namespace WeaverSyncListTests.SyncListErrorForInterface
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListErrorWhenUsingGenericListInNetworkBehaviour.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListErrorWhenUsingGenericListInNetworkBehaviour.cs
index 9e2c5fa74..937ad9e49 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListErrorWhenUsingGenericListInNetworkBehaviour.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListErrorWhenUsingGenericListInNetworkBehaviour.cs
@@ -5,7 +5,7 @@ namespace WeaverSyncListTests.SyncListErrorWhenUsingGenericListInNetworkBehaviou
class SyncListErrorWhenUsingGenericListInNetworkBehaviour : NetworkBehaviour
{
readonly SomeList someList;
-
+
public class SomeList : SyncList { }
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListGenericAbstractInheritance.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListGenericAbstractInheritance.cs
index 2f2a28cbf..8821f81aa 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListGenericAbstractInheritance.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListGenericAbstractInheritance.cs
@@ -5,7 +5,7 @@ namespace WeaverSyncListTests.SyncListGenericAbstractInheritance
class SyncListGenericAbstractInheritance : NetworkBehaviour
{
readonly SomeListInt superSyncListString = new SomeListInt();
-
+
public abstract class SomeList : SyncList { }
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListGenericInheritance.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListGenericInheritance.cs
index a2f2718b3..5b1a56f86 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListGenericInheritance.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListGenericInheritance.cs
@@ -5,7 +5,7 @@ namespace WeaverSyncListTests.SyncListGenericInheritance
class SyncListGenericInheritance : NetworkBehaviour
{
readonly SomeListInt someList = new SomeListInt();
-
+
public class SomeList : SyncList { }
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListGenericInheritanceWithMultipleGeneric.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListGenericInheritanceWithMultipleGeneric.cs
index d6d45f51a..7fd51550b 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListGenericInheritanceWithMultipleGeneric.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListGenericInheritanceWithMultipleGeneric.cs
@@ -11,7 +11,7 @@ This test will fail
class SyncListGenericInheritanceWithMultipleGeneric : NetworkBehaviour
{
readonly SomeListInt someList = new SomeListInt();
-
+
public class SomeList : SyncList { }
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListGenericStructWithCustomMethods.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListGenericStructWithCustomMethods.cs
index 9b4e88454..7528a762e 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListGenericStructWithCustomMethods.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListGenericStructWithCustomMethods.cs
@@ -5,7 +5,7 @@ namespace WeaverSyncListTests.SyncListGenericStructWithCustomMethods
class SyncListGenericStructWithCustomMethods : NetworkBehaviour
{
MyGenericStructList harpseals;
-
+
struct MyGenericStruct
{
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListInheritance.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListInheritance.cs
index 6942a5de0..02f8908f3 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListInheritance.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListInheritance.cs
@@ -1,4 +1,3 @@
-using UnityEngine;
using Mirror;
namespace WeaverSyncListTests.SyncListInheritance
@@ -6,8 +5,8 @@ namespace WeaverSyncListTests.SyncListInheritance
class SyncListInheritance : NetworkBehaviour
{
readonly SuperSyncListString superSyncListString = new SuperSyncListString();
-
-
+
+
public class SuperSyncListString : SyncListString
{
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListInterfaceWithCustomMethods.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListInterfaceWithCustomMethods.cs
index d2334a9ca..173bfc094 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListInterfaceWithCustomMethods.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListInterfaceWithCustomMethods.cs
@@ -1,4 +1,3 @@
-using UnityEngine;
using Mirror;
namespace WeaverSyncListTests.SyncListInterfaceWithCustomMethods
@@ -7,17 +6,17 @@ class SyncListInterfaceWithCustomMethods : NetworkBehaviour
{
MyInterfaceList Foo;
}
-
+
interface IMyInterface
{
int someNumber { get; set; }
}
-
+
class MyUser : IMyInterface
{
public int someNumber { get; set; }
}
-
+
class MyInterfaceList : SyncList
{
protected override void SerializeItem(NetworkWriter writer, IMyInterface item)
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListMissingParamlessCtor.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListMissingParamlessCtor.cs
index b62eef58f..07da58647 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListMissingParamlessCtor.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListMissingParamlessCtor.cs
@@ -1,4 +1,3 @@
-using UnityEngine;
using Mirror;
namespace WeaverSyncListTests.SyncListMissingParamlessCtor
@@ -6,12 +5,12 @@ namespace WeaverSyncListTests.SyncListMissingParamlessCtor
class SyncListMissingParamlessCtor : NetworkBehaviour
{
public SyncListString2 Foo;
-
+
public class SyncListString2 : SyncList
{
- public SyncListString2(int phooey) {}
- protected override void SerializeItem(NetworkWriter w, string item) {}
+ public SyncListString2(int phooey) { }
+ protected override void SerializeItem(NetworkWriter w, string item) { }
protected override string DeserializeItem(NetworkReader r) => "";
}
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListMissingParamlessCtorManuallyInitialized.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListMissingParamlessCtorManuallyInitialized.cs
index 9ba31faca..b5376d7b4 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListMissingParamlessCtorManuallyInitialized.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListMissingParamlessCtorManuallyInitialized.cs
@@ -1,4 +1,3 @@
-using UnityEngine;
using Mirror;
namespace WeaverSyncListTests.SyncListMissingParamlessCtorManuallyInitialized
@@ -6,12 +5,12 @@ namespace WeaverSyncListTests.SyncListMissingParamlessCtorManuallyInitialized
class SyncListMissingParamlessCtorManuallyInitialized : NetworkBehaviour
{
public SyncListString2 Foo = new SyncListString2(20);
-
+
public class SyncListString2 : SyncList
{
- public SyncListString2(int phooey) {}
- protected override void SerializeItem(NetworkWriter w, string item) {}
+ public SyncListString2(int phooey) { }
+ protected override void SerializeItem(NetworkWriter w, string item) { }
protected override string DeserializeItem(NetworkReader r) => "";
}
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListNestedInAbstractClass.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListNestedInAbstractClass.cs
index 94d8cbd14..a9cb48fa3 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListNestedInAbstractClass.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListNestedInAbstractClass.cs
@@ -1,4 +1,3 @@
-using UnityEngine;
using Mirror;
namespace WeaverSyncListTests.SyncListNestedInAbstractClass
@@ -6,7 +5,7 @@ namespace WeaverSyncListTests.SyncListNestedInAbstractClass
class SyncListNestedStruct : NetworkBehaviour
{
SomeAbstractClass.MyNestedStructList Foo;
-
+
public abstract class SomeAbstractClass
{
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListNestedInAbstractClassWithInvalid.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListNestedInAbstractClassWithInvalid.cs
index 229f98f76..920e0b0f4 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListNestedInAbstractClassWithInvalid.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListNestedInAbstractClassWithInvalid.cs
@@ -1,12 +1,12 @@
-using UnityEngine;
using Mirror;
+using UnityEngine;
namespace WeaverSyncListTests.SyncListNestedInAbstractClassWithInvalid
{
class SyncListNestedStructWithInvalid : NetworkBehaviour
{
SomeAbstractClass.MyNestedStructList Foo;
-
+
public abstract class SomeAbstractClass
{
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListNestedInStruct.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListNestedInStruct.cs
index 81b9068ec..c19207576 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListNestedInStruct.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListNestedInStruct.cs
@@ -1,4 +1,3 @@
-using UnityEngine;
using Mirror;
namespace WeaverSyncListTests.SyncListNestedInStruct
@@ -6,9 +5,9 @@ namespace WeaverSyncListTests.SyncListNestedInStruct
class SyncListNestedStruct : NetworkBehaviour
{
SomeData.SyncList Foo;
-
- public struct SomeData
+
+ public struct SomeData
{
public int usefulNumber;
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListNestedInStructWithInvalid.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListNestedInStructWithInvalid.cs
index f4a8c7b55..b7ea1cfbf 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListNestedInStructWithInvalid.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListNestedInStructWithInvalid.cs
@@ -1,14 +1,14 @@
-using UnityEngine;
using Mirror;
+using UnityEngine;
namespace WeaverSyncListTests.SyncListNestedInStructWithInvalid
{
class SyncListNestedInStructWithInvalid : NetworkBehaviour
{
SomeData.SyncList Foo;
-
- public struct SomeData
+
+ public struct SomeData
{
public int usefulNumber;
public Object target;
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListNestedStruct.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListNestedStruct.cs
index 165514c1e..93cb46c8f 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListNestedStruct.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListNestedStruct.cs
@@ -1,4 +1,3 @@
-using UnityEngine;
using Mirror;
namespace WeaverSyncListTests.SyncListNestedStruct
@@ -6,7 +5,7 @@ namespace WeaverSyncListTests.SyncListNestedStruct
class SyncListNestedStruct : NetworkBehaviour
{
MyNestedStructList Foo;
-
+
struct MyNestedStruct
{
int potato;
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListStruct.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListStruct.cs
index 50950daba..9769a7874 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListStruct.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListStruct.cs
@@ -1,4 +1,3 @@
-using UnityEngine;
using Mirror;
namespace WeaverSyncListTests.SyncListStruct
@@ -6,7 +5,7 @@ namespace WeaverSyncListTests.SyncListStruct
class SyncListStruct : NetworkBehaviour
{
MyStructList Foo;
-
+
struct MyStruct
{
int potato;
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListStructWithCustomDeserializeOnly.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListStructWithCustomDeserializeOnly.cs
index 6540e7e52..81ba2b8e7 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListStructWithCustomDeserializeOnly.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListStructWithCustomDeserializeOnly.cs
@@ -1,4 +1,3 @@
-using UnityEngine;
using Mirror;
namespace WeaverSyncListTests.SyncListStructWithCustomDeserializeOnly
@@ -6,14 +5,14 @@ namespace WeaverSyncListTests.SyncListStructWithCustomDeserializeOnly
class SyncListStructWithCustomDeserializeOnly : NetworkBehaviour
{
MyStructList Foo;
-
+
struct MyStruct
{
int potato;
float floatingpotato;
double givemetwopotatoes;
}
- class MyStructList : SyncList
+ class MyStructList : SyncList
{
protected override MyStruct DeserializeItem(NetworkReader reader)
{
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListStructWithCustomMethods.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListStructWithCustomMethods.cs
index 93730bcc1..64e5d0305 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListStructWithCustomMethods.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListStructWithCustomMethods.cs
@@ -1,4 +1,3 @@
-using UnityEngine;
using Mirror;
namespace WeaverSyncListTests.SyncListStructWithCustomMethods
@@ -6,15 +5,15 @@ namespace WeaverSyncListTests.SyncListStructWithCustomMethods
class SyncListStructWithCustomMethods : NetworkBehaviour
{
MyStructList Foo;
-
+
struct MyStruct
{
int potato;
float floatingpotato;
double givemetwopotatoes;
}
- class MyStructList : SyncList
- {
+ class MyStructList : SyncList
+ {
protected override void SerializeItem(NetworkWriter writer, MyStruct item)
{
// write some stuff here
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListStructWithCustomSerializeOnly.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListStructWithCustomSerializeOnly.cs
index a755bde62..450c3c610 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListStructWithCustomSerializeOnly.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncListTests~/SyncListStructWithCustomSerializeOnly.cs
@@ -1,4 +1,3 @@
-using UnityEngine;
using Mirror;
namespace WeaverSyncListTests.SyncListStructWithCustomSerializeOnly
@@ -6,15 +5,15 @@ namespace WeaverSyncListTests.SyncListStructWithCustomSerializeOnly
class SyncListStructWithCustomSerializeOnly : NetworkBehaviour
{
MyStructList Foo;
-
+
struct MyStruct
{
int potato;
float floatingpotato;
double givemetwopotatoes;
}
- class MyStructList : SyncList
- {
+ class MyStructList : SyncList
+ {
protected override void SerializeItem(NetworkWriter writer, MyStruct item)
{
// write some stuff here
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncSetTests~/SyncSet.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncSetTests~/SyncSet.cs
index 3a2fe516c..1ff8f9317 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncSetTests~/SyncSet.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncSetTests~/SyncSet.cs
@@ -1,4 +1,3 @@
-using UnityEngine;
using Mirror;
namespace WeaverSyncSetTests.SyncSet
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncSetTests~/SyncSetByteValid.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncSetTests~/SyncSetByteValid.cs
index 2270c691e..5831655c6 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncSetTests~/SyncSetByteValid.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncSetTests~/SyncSetByteValid.cs
@@ -1,11 +1,10 @@
-using UnityEngine;
using Mirror;
namespace WeaverSyncSetTests.SyncSetByteValid
{
class SyncSetByteValid : NetworkBehaviour
{
- class MyByteClass : SyncHashSet {};
+ class MyByteClass : SyncHashSet { };
MyByteClass Foo;
}
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncSetTests~/SyncSetGenericAbstractInheritance.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncSetTests~/SyncSetGenericAbstractInheritance.cs
index 8d553153c..66ed33a12 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncSetTests~/SyncSetGenericAbstractInheritance.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncSetTests~/SyncSetGenericAbstractInheritance.cs
@@ -5,7 +5,7 @@ namespace WeaverSyncSetTests.SyncSetGenericAbstractInheritance
class SyncSetGenericAbstractInheritance : NetworkBehaviour
{
readonly SomeSetInt superSyncSetString = new SomeSetInt();
-
+
public abstract class SomeSet : SyncHashSet { }
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncSetTests~/SyncSetGenericInheritance.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncSetTests~/SyncSetGenericInheritance.cs
index 57a219780..15208882d 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncSetTests~/SyncSetGenericInheritance.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncSetTests~/SyncSetGenericInheritance.cs
@@ -5,7 +5,7 @@ namespace WeaverSyncSetTests.SyncSetGenericInheritance
class SyncSetGenericInheritance : NetworkBehaviour
{
readonly SomeSetInt someSet = new SomeSetInt();
-
+
public class SomeSet : SyncHashSet { }
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncSetTests~/SyncSetInheritance.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncSetTests~/SyncSetInheritance.cs
index d24356802..ef2522308 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncSetTests~/SyncSetInheritance.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncSetTests~/SyncSetInheritance.cs
@@ -1,4 +1,3 @@
-using UnityEngine;
using Mirror;
namespace WeaverSyncSetTests.SyncSetInheritance
@@ -6,7 +5,7 @@ namespace WeaverSyncSetTests.SyncSetInheritance
class SyncSetInheritance : NetworkBehaviour
{
readonly SuperSet superSet = new SuperSet();
-
+
public class SomeSet : SyncHashSet { }
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncSetTests~/SyncSetStruct.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncSetTests~/SyncSetStruct.cs
index 5758ea124..b389849c7 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncSetTests~/SyncSetStruct.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncSetTests~/SyncSetStruct.cs
@@ -1,4 +1,3 @@
-using UnityEngine;
using Mirror;
namespace WeaverSyncSetTests.SyncSetStruct
@@ -6,7 +5,7 @@ namespace WeaverSyncSetTests.SyncSetStruct
class SyncSetStruct : NetworkBehaviour
{
MyStructSet Foo;
-
+
struct MyStruct
{
int potato;
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncVarTests~/SyncVarsCantBeArray.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncVarTests~/SyncVarsCantBeArray.cs
index 149f116f0..d09ad7062 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncVarTests~/SyncVarsCantBeArray.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncVarTests~/SyncVarsCantBeArray.cs
@@ -1,6 +1,4 @@
-using UnityEngine;
using Mirror;
-using System.Collections.Generic;
namespace WeaverSyncVarTests.SyncVarsCantBeArray
{
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncVarTests~/SyncVarsDerivedNetworkBehaviour.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncVarTests~/SyncVarsDerivedNetworkBehaviour.cs
index 7325cbf01..7e3796307 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncVarTests~/SyncVarsDerivedNetworkBehaviour.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncVarTests~/SyncVarsDerivedNetworkBehaviour.cs
@@ -1,4 +1,3 @@
-using UnityEngine;
using Mirror;
namespace WeaverSyncVarTests.SyncVarsDerivedNetworkBehaviour
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncVarTests~/SyncVarsDifferentModule.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncVarTests~/SyncVarsDifferentModule.cs
index f5d887b95..5b23aecdc 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncVarTests~/SyncVarsDifferentModule.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncVarTests~/SyncVarsDifferentModule.cs
@@ -1,5 +1,5 @@
-using UnityEngine;
using Mirror;
+using UnityEngine;
namespace WeaverSyncVarTests.SyncVarsDifferentModule
{
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncVarTests~/SyncVarsGenericParam.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncVarTests~/SyncVarsGenericParam.cs
index 3b56f9f22..2deed1fbd 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncVarTests~/SyncVarsGenericParam.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncVarTests~/SyncVarsGenericParam.cs
@@ -1,4 +1,3 @@
-using UnityEngine;
using Mirror;
namespace WeaverSyncVarTests.SyncVarsGenericParam
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncVarTests~/SyncVarsInterface.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncVarTests~/SyncVarsInterface.cs
index 9746f218d..e4a232fe2 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncVarTests~/SyncVarsInterface.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncVarTests~/SyncVarsInterface.cs
@@ -1,4 +1,3 @@
-using UnityEngine;
using Mirror;
namespace WeaverSyncVarTests.SyncVarsInterface
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncVarTests~/SyncVarsMoreThan63.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncVarTests~/SyncVarsMoreThan63.cs
index 06dbd9c5b..e66b721a4 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncVarTests~/SyncVarsMoreThan63.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncVarTests~/SyncVarsMoreThan63.cs
@@ -1,4 +1,3 @@
-using UnityEngine;
using Mirror;
namespace WeaverSyncVarTests.SyncVarsMoreThan63
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncVarTests~/SyncVarsStatic.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncVarTests~/SyncVarsStatic.cs
index 6cb87825f..cf2fbaa1d 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncVarTests~/SyncVarsStatic.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncVarTests~/SyncVarsStatic.cs
@@ -1,4 +1,3 @@
-using UnityEngine;
using Mirror;
namespace WeaverSyncVarTests.SyncVarsStatic
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncVarTests~/SyncVarsSyncList.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncVarTests~/SyncVarsSyncList.cs
index c38f5c305..5da49882e 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncVarTests~/SyncVarsSyncList.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncVarTests~/SyncVarsSyncList.cs
@@ -1,4 +1,3 @@
-using UnityEngine;
using Mirror;
namespace WeaverSyncVarTests.SyncVarsSyncList
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncVarTests~/SyncVarsValid.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncVarTests~/SyncVarsValid.cs
index 02bbc8409..710181819 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncVarTests~/SyncVarsValid.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverSyncVarTests~/SyncVarsValid.cs
@@ -1,4 +1,3 @@
-using UnityEngine;
using Mirror;
namespace WeaverSyncVarTests.SyncVarsValid
diff --git a/Assets/Mirror/Tests/Editor/Weaver/WeaverTargetRpcTests~/TargetRpcValid.cs b/Assets/Mirror/Tests/Editor/Weaver/WeaverTargetRpcTests~/TargetRpcValid.cs
index 4da9d4396..38e046054 100644
--- a/Assets/Mirror/Tests/Editor/Weaver/WeaverTargetRpcTests~/TargetRpcValid.cs
+++ b/Assets/Mirror/Tests/Editor/Weaver/WeaverTargetRpcTests~/TargetRpcValid.cs
@@ -1,6 +1,3 @@
-using System;
-using System.Collections;
-using UnityEngine;
using Mirror;
namespace WeaverTargetRpcTests.TargetRpcValid
@@ -8,6 +5,6 @@ namespace WeaverTargetRpcTests.TargetRpcValid
class TargetRpcValid : NetworkBehaviour
{
[TargetRpc]
- void TargetThatIsTotallyValid(NetworkConnection nc) {}
+ void TargetThatIsTotallyValid(NetworkConnection nc) { }
}
}