mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
remove blank lines
This commit is contained in:
parent
0fc75eb04d
commit
425289fd3d
@ -17,7 +17,6 @@ protected override string DeserializeItem(NetworkReader reader)
|
||||
{
|
||||
return reader.ReadString();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public sealed class SyncListFloat : SyncList<float>
|
||||
@ -31,7 +30,6 @@ protected override float DeserializeItem(NetworkReader reader)
|
||||
{
|
||||
return reader.ReadSingle();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public class SyncListInt : SyncList<int>
|
||||
@ -45,7 +43,6 @@ protected override int DeserializeItem(NetworkReader reader)
|
||||
{
|
||||
return (int)reader.ReadPackedUInt32();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public class SyncListUInt : SyncList<uint>
|
||||
@ -59,7 +56,6 @@ protected override uint DeserializeItem(NetworkReader reader)
|
||||
{
|
||||
return reader.ReadPackedUInt32();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public class SyncListBool : SyncList<bool>
|
||||
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user