mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00: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();
|
return reader.ReadString();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public sealed class SyncListFloat : SyncList<float>
|
public sealed class SyncListFloat : SyncList<float>
|
||||||
@ -31,7 +30,6 @@ protected override float DeserializeItem(NetworkReader reader)
|
|||||||
{
|
{
|
||||||
return reader.ReadSingle();
|
return reader.ReadSingle();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public class SyncListInt : SyncList<int>
|
public class SyncListInt : SyncList<int>
|
||||||
@ -45,7 +43,6 @@ protected override int DeserializeItem(NetworkReader reader)
|
|||||||
{
|
{
|
||||||
return (int)reader.ReadPackedUInt32();
|
return (int)reader.ReadPackedUInt32();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public class SyncListUInt : SyncList<uint>
|
public class SyncListUInt : SyncList<uint>
|
||||||
@ -59,7 +56,6 @@ protected override uint DeserializeItem(NetworkReader reader)
|
|||||||
{
|
{
|
||||||
return reader.ReadPackedUInt32();
|
return reader.ReadPackedUInt32();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public class SyncListBool : SyncList<bool>
|
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
|
// Original UNET name is SyncListStruct and original Weaver weavers anything
|
||||||
// that contains the name 'SyncListStruct', without considering the name-
|
// that contains the name 'SyncListStruct', without considering the name-
|
||||||
// space.
|
// space.
|
||||||
@ -139,7 +134,6 @@ struct Change
|
|||||||
|
|
||||||
SyncListChanged m_Callback;
|
SyncListChanged m_Callback;
|
||||||
|
|
||||||
|
|
||||||
protected abstract void SerializeItem(NetworkWriter writer, T item);
|
protected abstract void SerializeItem(NetworkWriter writer, T item);
|
||||||
protected abstract T DeserializeItem(NetworkReader reader);
|
protected abstract T DeserializeItem(NetworkReader reader);
|
||||||
|
|
||||||
@ -238,7 +232,6 @@ public void OnSerializeDelta(NetworkWriter writer)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void OnDeserializeAll(NetworkReader reader)
|
public void OnDeserializeAll(NetworkReader reader)
|
||||||
|
Loading…
Reference in New Issue
Block a user