diff options
Diffstat (limited to 'Net.cs')
| -rw-r--r-- | Net.cs | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -46,6 +46,11 @@ public static class NetExtensions float Y = reader.GetFloat(); return new Vector2(X, Y); } + + public static void ResetReader(this NetDataReader reader) + { + reader.SetPosition(PacketInfo.SizeOf+1); + } } public enum PacketType : byte |
