mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
parent
90834d476b
commit
181bab6bd0
@ -183,39 +183,25 @@
|
|||||||
<Compile Include="WeaverNetworkBehaviourTests~\NetworkBehaviourValid.cs" />
|
<Compile Include="WeaverNetworkBehaviourTests~\NetworkBehaviourValid.cs" />
|
||||||
<Compile Include="WeaverSyncDictionaryTests~\SyncDictionary.cs" />
|
<Compile Include="WeaverSyncDictionaryTests~\SyncDictionary.cs" />
|
||||||
<Compile Include="WeaverSyncDictionaryTests~\SyncDictionaryErrorForGenericStructItem.cs" />
|
<Compile Include="WeaverSyncDictionaryTests~\SyncDictionaryErrorForGenericStructItem.cs" />
|
||||||
<Compile Include="WeaverSyncDictionaryTests~\SyncDictionaryErrorForGenericStructItemWithCustomDeserializeOnly.cs" />
|
|
||||||
<Compile Include="WeaverSyncDictionaryTests~\SyncDictionaryErrorForGenericStructItemWithCustomSerializeOnly.cs" />
|
|
||||||
<Compile Include="WeaverSyncDictionaryTests~\SyncDictionaryErrorForGenericStructKey.cs" />
|
<Compile Include="WeaverSyncDictionaryTests~\SyncDictionaryErrorForGenericStructKey.cs" />
|
||||||
<Compile Include="WeaverSyncDictionaryTests~\SyncDictionaryErrorForGenericStructKeyWithCustomDeserializeOnly.cs" />
|
<Compile Include="WeaverSyncDictionaryTests~\GenericSyncDictionaryCanBeUsed.cs" />
|
||||||
<Compile Include="WeaverSyncDictionaryTests~\SyncDictionaryErrorForGenericStructKeyWithCustomSerializeOnly.cs" />
|
|
||||||
<Compile Include="WeaverSyncDictionaryTests~\SyncDictionaryErrorWhenUsingGenericInNetworkBehaviour.cs" />
|
|
||||||
<Compile Include="WeaverSyncDictionaryTests~\SyncDictionaryGenericAbstractInheritance.cs" />
|
<Compile Include="WeaverSyncDictionaryTests~\SyncDictionaryGenericAbstractInheritance.cs" />
|
||||||
<Compile Include="WeaverSyncDictionaryTests~\SyncDictionaryGenericInheritance.cs" />
|
<Compile Include="WeaverSyncDictionaryTests~\SyncDictionaryGenericInheritance.cs" />
|
||||||
<Compile Include="WeaverSyncDictionaryTests~\SyncDictionaryGenericStructItemWithCustomMethods.cs" />
|
<Compile Include="WeaverSyncDictionaryTests~\SyncDictionaryGenericStructItemWithCustomMethods.cs" />
|
||||||
<Compile Include="WeaverSyncDictionaryTests~\SyncDictionaryGenericStructKeyWithCustomMethods.cs" />
|
<Compile Include="WeaverSyncDictionaryTests~\SyncDictionaryGenericStructKeyWithCustomMethods.cs" />
|
||||||
<Compile Include="WeaverSyncDictionaryTests~\SyncDictionaryInheritance.cs" />
|
<Compile Include="WeaverSyncDictionaryTests~\SyncDictionaryInheritance.cs" />
|
||||||
<Compile Include="WeaverSyncDictionaryTests~\SyncDictionaryStructItem.cs" />
|
<Compile Include="WeaverSyncDictionaryTests~\SyncDictionaryStructItem.cs" />
|
||||||
<Compile Include="WeaverSyncDictionaryTests~\SyncDictionaryStructItemWithCustomDeserializeOnly.cs" />
|
|
||||||
<Compile Include="WeaverSyncDictionaryTests~\SyncDictionaryStructItemWithCustomMethods.cs" />
|
|
||||||
<Compile Include="WeaverSyncDictionaryTests~\SyncDictionaryStructItemWithCustomSerializeOnly.cs" />
|
|
||||||
<Compile Include="WeaverSyncDictionaryTests~\SyncDictionaryStructKey.cs" />
|
<Compile Include="WeaverSyncDictionaryTests~\SyncDictionaryStructKey.cs" />
|
||||||
<Compile Include="WeaverSyncDictionaryTests~\SyncDictionaryStructKeyWithCustomDeserializeOnly.cs" />
|
|
||||||
<Compile Include="WeaverSyncDictionaryTests~\SyncDictionaryStructKeyWithCustomMethods.cs" />
|
|
||||||
<Compile Include="WeaverSyncDictionaryTests~\SyncDictionaryStructKeyWithCustomSerializeOnly.cs" />
|
|
||||||
<Compile Include="WeaverSyncEventTests~\MultipleSyncEvent.cs" />
|
|
||||||
<Compile Include="WeaverSyncListTests~\SyncList.cs" />
|
<Compile Include="WeaverSyncListTests~\SyncList.cs" />
|
||||||
<Compile Include="WeaverSyncListTests~\SyncListByteValid.cs" />
|
<Compile Include="WeaverSyncListTests~\SyncListByteValid.cs" />
|
||||||
<Compile Include="WeaverSyncListTests~\SyncListErrorForGenericStruct.cs" />
|
<Compile Include="WeaverSyncListTests~\SyncListErrorForGenericStruct.cs" />
|
||||||
<Compile Include="WeaverSyncListTests~\SyncListErrorForGenericStructWithCustomDeserializeOnly.cs" />
|
|
||||||
<Compile Include="WeaverSyncListTests~\SyncListErrorForGenericStructWithCustomSerializeOnly.cs" />
|
|
||||||
<Compile Include="WeaverSyncListTests~\SyncListErrorForInterface.cs" />
|
<Compile Include="WeaverSyncListTests~\SyncListErrorForInterface.cs" />
|
||||||
<Compile Include="WeaverSyncListTests~\SyncListErrorWhenUsingGenericListInNetworkBehaviour.cs" />
|
<Compile Include="WeaverSyncListTests~\GenericSyncListCanBeUsed.cs" />
|
||||||
<Compile Include="WeaverSyncListTests~\SyncListGenericAbstractInheritance.cs" />
|
<Compile Include="WeaverSyncListTests~\SyncListGenericAbstractInheritance.cs" />
|
||||||
<Compile Include="WeaverSyncListTests~\SyncListGenericInheritance.cs" />
|
<Compile Include="WeaverSyncListTests~\SyncListGenericInheritance.cs" />
|
||||||
<Compile Include="WeaverSyncListTests~\SyncListGenericInheritanceWithMultipleGeneric.cs" />
|
<Compile Include="WeaverSyncListTests~\SyncListGenericInheritanceWithMultipleGeneric.cs" />
|
||||||
<Compile Include="WeaverSyncListTests~\SyncListGenericStructWithCustomMethods.cs" />
|
<Compile Include="WeaverSyncListTests~\SyncListGenericStructWithCustomMethods.cs" />
|
||||||
<Compile Include="WeaverSyncListTests~\SyncListInheritance.cs" />
|
<Compile Include="WeaverSyncListTests~\SyncListInheritance.cs" />
|
||||||
<Compile Include="WeaverSyncListTests~\SyncListInheritanceWithOverrides.cs" />
|
|
||||||
<Compile Include="WeaverSyncListTests~\SyncListInterfaceWithCustomMethods.cs" />
|
<Compile Include="WeaverSyncListTests~\SyncListInterfaceWithCustomMethods.cs" />
|
||||||
<Compile Include="WeaverSyncListTests~\SyncListMissingParamlessCtor.cs" />
|
<Compile Include="WeaverSyncListTests~\SyncListMissingParamlessCtor.cs" />
|
||||||
<Compile Include="WeaverSyncListTests~\SyncListMissingParamlessCtorManuallyInitialized.cs" />
|
<Compile Include="WeaverSyncListTests~\SyncListMissingParamlessCtorManuallyInitialized.cs" />
|
||||||
@ -225,9 +211,6 @@
|
|||||||
<Compile Include="WeaverSyncListTests~\SyncListNestedInStructWithInvalid.cs" />
|
<Compile Include="WeaverSyncListTests~\SyncListNestedInStructWithInvalid.cs" />
|
||||||
<Compile Include="WeaverSyncListTests~\SyncListNestedStruct.cs" />
|
<Compile Include="WeaverSyncListTests~\SyncListNestedStruct.cs" />
|
||||||
<Compile Include="WeaverSyncListTests~\SyncListStruct.cs" />
|
<Compile Include="WeaverSyncListTests~\SyncListStruct.cs" />
|
||||||
<Compile Include="WeaverSyncListTests~\SyncListStructWithCustomDeserializeOnly.cs" />
|
|
||||||
<Compile Include="WeaverSyncListTests~\SyncListStructWithCustomMethods.cs" />
|
|
||||||
<Compile Include="WeaverSyncListTests~\SyncListStructWithCustomSerializeOnly.cs" />
|
|
||||||
<Compile Include="WeaverSyncSetTests~\SyncSet.cs" />
|
<Compile Include="WeaverSyncSetTests~\SyncSet.cs" />
|
||||||
<Compile Include="WeaverSyncSetTests~\SyncSetByteValid.cs" />
|
<Compile Include="WeaverSyncSetTests~\SyncSetByteValid.cs" />
|
||||||
<Compile Include="WeaverSyncSetTests~\SyncSetGenericAbstractInheritance.cs" />
|
<Compile Include="WeaverSyncSetTests~\SyncSetGenericAbstractInheritance.cs" />
|
||||||
@ -254,8 +237,6 @@
|
|||||||
<Compile Include="WeaverSyncVarTests~\SyncVarsStatic.cs" />
|
<Compile Include="WeaverSyncVarTests~\SyncVarsStatic.cs" />
|
||||||
<Compile Include="WeaverSyncVarTests~\SyncVarsSyncList.cs" />
|
<Compile Include="WeaverSyncVarTests~\SyncVarsSyncList.cs" />
|
||||||
<Compile Include="WeaverSyncVarTests~\SyncVarsValid.cs" />
|
<Compile Include="WeaverSyncVarTests~\SyncVarsValid.cs" />
|
||||||
<Compile Include="WeaverSyncEventTests~\ErrorWhenSyncEventUsesGenericParameter.cs" />
|
|
||||||
<Compile Include="WeaverSyncEventTests~\SyncEventValid.cs" />
|
|
||||||
<Compile Include="WeaverTargetRpcTests~\AbstractTargetRpc.cs" />
|
<Compile Include="WeaverTargetRpcTests~\AbstractTargetRpc.cs" />
|
||||||
<Compile Include="WeaverTargetRpcTests~\ErrorWhenTargetRpcIsStatic.cs" />
|
<Compile Include="WeaverTargetRpcTests~\ErrorWhenTargetRpcIsStatic.cs" />
|
||||||
<Compile Include="WeaverTargetRpcTests~\OverrideAbstractTargetRpc.cs" />
|
<Compile Include="WeaverTargetRpcTests~\OverrideAbstractTargetRpc.cs" />
|
||||||
|
@ -72,7 +72,7 @@ public void SyncDictionaryGenericStructItemWithCustomMethods()
|
|||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
public void SyncDictionaryErrorWhenUsingGenericInNetworkBehaviour()
|
public void GenericSyncDictionaryCanBeUsed()
|
||||||
{
|
{
|
||||||
IsSuccess();
|
IsSuccess();
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
using Mirror;
|
using Mirror;
|
||||||
|
|
||||||
namespace WeaverSyncDictionaryTests.SyncDictionaryErrorWhenUsingGenericInNetworkBehaviour
|
namespace WeaverSyncDictionaryTests.GenericSyncDictionaryCanBeUsed
|
||||||
{
|
{
|
||||||
class SyncDictionaryErrorWhenUsingGenericInNetworkBehaviour : NetworkBehaviour
|
class GenericSyncDictionaryCanBeUsed : NetworkBehaviour
|
||||||
{
|
{
|
||||||
readonly SomeSyncDictionary<int, string> someDictionary;
|
readonly SomeSyncDictionary<int, string> someDictionary;
|
||||||
|
|
@ -133,7 +133,7 @@ public void SyncListInterfaceWithCustomMethods()
|
|||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
public void SyncListErrorWhenUsingGenericListInNetworkBehaviour()
|
public void GenericSyncListCanBeUsed()
|
||||||
{
|
{
|
||||||
IsSuccess();
|
IsSuccess();
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,12 @@
|
|||||||
|
using Mirror;
|
||||||
|
|
||||||
|
namespace WeaverSyncListTests.GenericSyncListCanBeUsed
|
||||||
|
{
|
||||||
|
class GenericSyncListCanBeUsed : NetworkBehaviour
|
||||||
|
{
|
||||||
|
readonly SomeList<int> someList;
|
||||||
|
|
||||||
|
|
||||||
|
public class SomeList<T> : SyncList<T> { }
|
||||||
|
}
|
||||||
|
}
|
@ -1,12 +0,0 @@
|
|||||||
using Mirror;
|
|
||||||
|
|
||||||
namespace WeaverSyncListTests.SyncListErrorWhenUsingGenericListInNetworkBehaviour
|
|
||||||
{
|
|
||||||
class SyncListErrorWhenUsingGenericListInNetworkBehaviour : NetworkBehaviour
|
|
||||||
{
|
|
||||||
readonly SomeList<int> someList;
|
|
||||||
|
|
||||||
|
|
||||||
public class SomeList<T> : SyncList<T> { }
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user