Skip to content

Commit

Permalink
feat: Implement IReadOnlyList<T> in SyncLists (#903)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalPetryka authored and paulpach committed Jun 14, 2019
1 parent 9d81d49 commit 3eaaa77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Mirror/Runtime/SyncList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class SyncListSTRUCT<T> : SyncList<T> where T : struct
}

[EditorBrowsable(EditorBrowsableState.Never)]
public abstract class SyncList<T> : IList<T>, SyncObject
public abstract class SyncList<T> : IList<T>, IReadOnlyList<T>, SyncObject
{
public delegate void SyncListChanged(Operation op, int itemIndex, T item);

Expand Down

0 comments on commit 3eaaa77

Please sign in to comment.