forked from MirageNet/Mirage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: move collections to Mirage.Collections (MirageNet#698)
Following .net example, the collections have been moved to a folder and a namespace. BREAKING CHANGE: collections moved to Mirage.Collections
- Loading branch information
Showing
62 changed files
with
77 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
Assets/Mirage/Runtime/ISyncObject.cs → ...Mirage/Runtime/Collections/ISyncObject.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
...Runtime/Serializers/SyncDictionaryTest.cs → ...Runtime/Collections/SyncDictionaryTest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
1 change: 1 addition & 0 deletions
1
.../Runtime/Serializers/SyncListClassTest.cs → .../Runtime/Collections/SyncListClassTest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
using System.Linq; | ||
using Mirage.Collections; | ||
using NUnit.Framework; | ||
|
||
namespace Mirage.Tests | ||
|
File renamed without changes.
1 change: 1 addition & 0 deletions
1
...Runtime/Serializers/SyncListStructTest.cs → ...Runtime/Collections/SyncListStructTest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
using Mirage.Collections; | ||
using NUnit.Framework; | ||
|
||
namespace Mirage.Tests | ||
|
File renamed without changes.
1 change: 1 addition & 0 deletions
1
...Tests/Runtime/Serializers/SyncListTest.cs → ...Tests/Runtime/Collections/SyncListTest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
1 change: 1 addition & 0 deletions
1
.../Tests/Runtime/Serializers/SyncSetTest.cs → .../Tests/Runtime/Collections/SyncSetTest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
using Mirage.Collections; | ||
using NUnit.Framework; | ||
using UnityEngine; | ||
|
||
|
1 change: 1 addition & 0 deletions
1
Assets/Tests/Runtime/Serializers/NetworkBehaviourSerializeTest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
using System.Collections.Generic; | ||
using Mirage.Collections; | ||
using NUnit.Framework; | ||
using UnityEngine; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
Assets/Tests/Weaver/MonoBehaviourTests~/MonoBehaviourSyncList.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
using Mirage; | ||
using Mirage.Collections; | ||
using UnityEngine; | ||
|
||
namespace MonoBehaviourTests.MonoBehaviourSyncList | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
using Mirage; | ||
using Mirage.Collections; | ||
|
||
namespace SyncDictionaryTests.SyncDictionary | ||
{ | ||
|
1 change: 1 addition & 0 deletions
1
Assets/Tests/Weaver/SyncDictionaryTests~/SyncDictionaryErrorForGenericStructItem.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
using Mirage; | ||
using Mirage.Collections; | ||
|
||
namespace SyncDictionaryTests.SyncDictionaryErrorForGenericStructItem | ||
{ | ||
|
1 change: 1 addition & 0 deletions
1
Assets/Tests/Weaver/SyncDictionaryTests~/SyncDictionaryErrorForGenericStructKey.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
using Mirage; | ||
using Mirage.Collections; | ||
|
||
namespace SyncDictionaryTests.SyncDictionaryErrorForGenericStructKey | ||
{ | ||
|
1 change: 1 addition & 0 deletions
1
...ests/Weaver/SyncDictionaryTests~/SyncDictionaryErrorWhenUsingGenericInNetworkBehaviour.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
Assets/Tests/Weaver/SyncDictionaryTests~/SyncDictionaryGenericAbstractInheritance.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
Assets/Tests/Weaver/SyncDictionaryTests~/SyncDictionaryGenericInheritance.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
using Mirage; | ||
using Mirage.Collections; | ||
|
||
namespace SyncDictionaryTests.SyncDictionaryGenericInheritance | ||
{ | ||
|
1 change: 1 addition & 0 deletions
1
Assets/Tests/Weaver/SyncDictionaryTests~/SyncDictionaryInheritance.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
using Mirage; | ||
using Mirage.Collections; | ||
|
||
namespace SyncDictionaryTests.SyncDictionaryInheritance | ||
{ | ||
|
1 change: 1 addition & 0 deletions
1
Assets/Tests/Weaver/SyncDictionaryTests~/SyncDictionaryStructItem.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
using Mirage; | ||
using Mirage.Collections; | ||
|
||
namespace SyncDictionaryTests.SyncDictionaryStructItem | ||
{ | ||
|
1 change: 1 addition & 0 deletions
1
Assets/Tests/Weaver/SyncDictionaryTests~/SyncDictionaryStructKey.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
using Mirage; | ||
using Mirage.Collections; | ||
|
||
namespace SyncDictionaryTests.SyncDictionaryStructKey | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
using Mirage; | ||
using Mirage.Collections; | ||
|
||
namespace SyncListTests.SyncList | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
using Mirage; | ||
using Mirage.Collections; | ||
|
||
namespace SyncListTests.SyncListByteValid | ||
{ | ||
|
1 change: 1 addition & 0 deletions
1
Assets/Tests/Weaver/SyncListTests~/SyncListErrorForGenericStruct.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
using Mirage; | ||
using Mirage.Collections; | ||
|
||
namespace SyncListTests.SyncListErrorForGenericStruct | ||
{ | ||
|
1 change: 1 addition & 0 deletions
1
Assets/Tests/Weaver/SyncListTests~/SyncListErrorForInterface.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
using Mirage; | ||
using Mirage.Collections; | ||
|
||
namespace SyncListTests.SyncListErrorForInterface | ||
{ | ||
|
1 change: 1 addition & 0 deletions
1
Assets/Tests/Weaver/SyncListTests~/SyncListErrorWhenUsingGenericListInNetworkBehaviour.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
Assets/Tests/Weaver/SyncListTests~/SyncListGenericAbstractInheritance.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
using Mirage; | ||
using Mirage.Collections; | ||
|
||
namespace SyncListTests.SyncListGenericAbstractInheritance | ||
{ | ||
|
1 change: 1 addition & 0 deletions
1
Assets/Tests/Weaver/SyncListTests~/SyncListGenericInheritance.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
using Mirage; | ||
using Mirage.Collections; | ||
|
||
namespace SyncListTests.SyncListGenericInheritance | ||
{ | ||
|
1 change: 1 addition & 0 deletions
1
Assets/Tests/Weaver/SyncListTests~/SyncListGenericInheritanceWithMultipleGeneric.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
using Mirage; | ||
using Mirage.Collections; | ||
|
||
namespace SyncListTests.SyncListGenericInheritanceWithMultipleGeneric | ||
{ | ||
|
1 change: 1 addition & 0 deletions
1
Assets/Tests/Weaver/SyncListTests~/SyncListGenericStructWithCustomMethods.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
using Mirage; | ||
using Mirage.Collections; | ||
|
||
namespace SyncListTests.SyncListGenericStructWithCustomMethods | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
using Mirage; | ||
using Mirage.Collections; | ||
|
||
namespace SyncListTests.SyncListInheritance | ||
{ | ||
|
1 change: 1 addition & 0 deletions
1
Assets/Tests/Weaver/SyncListTests~/SyncListNestedInAbstractClass.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
using Mirage; | ||
using Mirage.Collections; | ||
|
||
namespace SyncListTests.SyncListNestedInAbstractClass | ||
{ | ||
|
1 change: 1 addition & 0 deletions
1
Assets/Tests/Weaver/SyncListTests~/SyncListNestedInAbstractClassWithInvalid.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
using Mirage; | ||
using Mirage.Collections; | ||
|
||
namespace SyncListTests.SyncListNestedStruct | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
using Mirage; | ||
using Mirage.Collections; | ||
|
||
namespace SyncListTests.SyncListStruct | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
using Mirage; | ||
using Mirage.Collections; | ||
|
||
namespace SyncSetTests.SyncSetByteValid | ||
{ | ||
|
1 change: 1 addition & 0 deletions
1
Assets/Tests/Weaver/SyncSetTests~/SyncSetGenericAbstractInheritance.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
using Mirage; | ||
using Mirage.Collections; | ||
|
||
namespace SyncSetTests.SyncSetGenericAbstractInheritance | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
using Mirage; | ||
using Mirage.Collections; | ||
|
||
namespace SyncSetTests.SyncSetGenericInheritance | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
using Mirage; | ||
using Mirage.Collections; | ||
|
||
namespace SyncSetTests.SyncSetInheritance | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
using Mirage; | ||
using Mirage.Collections; | ||
|
||
namespace SyncSetTests.SyncSetStruct | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
using Mirage; | ||
using Mirage.Collections; | ||
|
||
namespace SyncVarTests.SyncVarsSyncList | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.