-
-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: You can use synclists directly (#366)
you had to write a class that extended synclist to make the weaver happy. Now the weaver does not need to generate code for synclists anymore, so you can use synclists as \<insert your deity\> intended. ## before ```cs class MyBehavior: NetworkBehaviour { // nonsense to make the weaver happy class SyncListMyType : SyncList<MyType> {} public readonly SyncListMyType mylist = new SyncListMyType(); } ``` ## after ```cs class MyBehavior: NetworkBehaviour { public readonly SyncList<MyType> mylist = new SyncList<MyType>(); } ``` BREAKING CHANGE: SyncList and other syncobjects no longer have override methods to serialize and deserialize data
- Loading branch information
Showing
48 changed files
with
84 additions
and
1,133 deletions.
There are no files selected for viewing
56 changes: 0 additions & 56 deletions
56
Assets/Mirror/Editor/Weaver/Processors/GenericArgumentResolver.cs
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
Assets/Mirror/Editor/Weaver/Processors/GenericArgumentResolver.cs.meta
This file was deleted.
Oops, something went wrong.
28 changes: 0 additions & 28 deletions
28
Assets/Mirror/Editor/Weaver/Processors/SyncDictionaryProcessor.cs
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
Assets/Mirror/Editor/Weaver/Processors/SyncDictionaryProcessor.cs.meta
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
Assets/Mirror/Editor/Weaver/Processors/SyncListProcessor.cs
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
Assets/Mirror/Editor/Weaver/Processors/SyncListProcessor.cs.meta
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.