mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
style: remove redundant methods
This commit is contained in:
parent
b876e256eb
commit
e75d4b29dd
@ -46,8 +46,6 @@ public class SyncListBool : SyncList<bool>
|
||||
[Obsolete("Use SyncList<MyStruct> instead")]
|
||||
public class SyncListSTRUCT<T> : SyncList<T> where T : struct
|
||||
{
|
||||
protected override void SerializeItem(NetworkWriter writer, T item) {}
|
||||
protected override T DeserializeItem(NetworkReader reader) => new T();
|
||||
public T GetItem(int i) => base[i];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user