diff --git a/Mirror/Runtime/SyncList.cs b/Mirror/Runtime/SyncList.cs index 08fb8d926..e97b87401 100644 --- a/Mirror/Runtime/SyncList.cs +++ b/Mirror/Runtime/SyncList.cs @@ -17,7 +17,6 @@ protected override string DeserializeItem(NetworkReader reader) { return reader.ReadString(); } - } public sealed class SyncListFloat : SyncList @@ -31,7 +30,6 @@ protected override float DeserializeItem(NetworkReader reader) { return reader.ReadSingle(); } - } public class SyncListInt : SyncList @@ -45,7 +43,6 @@ protected override int DeserializeItem(NetworkReader reader) { return (int)reader.ReadPackedUInt32(); } - } public class SyncListUInt : SyncList @@ -59,7 +56,6 @@ protected override uint DeserializeItem(NetworkReader reader) { return reader.ReadPackedUInt32(); } - } public class SyncListBool : SyncList @@ -75,7 +71,6 @@ protected override bool DeserializeItem(NetworkReader reader) } } - // Original UNET name is SyncListStruct and original Weaver weavers anything // that contains the name 'SyncListStruct', without considering the name- // space. @@ -139,7 +134,6 @@ struct Change SyncListChanged m_Callback; - protected abstract void SerializeItem(NetworkWriter writer, T item); protected abstract T DeserializeItem(NetworkReader reader); @@ -238,7 +232,6 @@ public void OnSerializeDelta(NetworkWriter writer) break; } } - } public void OnDeserializeAll(NetworkReader reader)