diff options
Diffstat (limited to 'ROUNDS/Photon.Compression.Internal/IPackVector2Int.cs')
-rw-r--r-- | ROUNDS/Photon.Compression.Internal/IPackVector2Int.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ROUNDS/Photon.Compression.Internal/IPackVector2Int.cs b/ROUNDS/Photon.Compression.Internal/IPackVector2Int.cs new file mode 100644 index 0000000..fb1af5c --- /dev/null +++ b/ROUNDS/Photon.Compression.Internal/IPackVector2Int.cs @@ -0,0 +1,11 @@ +using UnityEngine; + +namespace Photon.Compression.Internal; + +[PackSupportedTypes(typeof(Vector2Int))] +public interface IPackVector2Int +{ + SerializationFlags Pack(ref Vector2Int value, Vector2Int preValue, byte[] buffer, ref int bitposition, int frameId, SerializationFlags writeFlags); + + SerializationFlags Unpack(ref Vector2Int value, byte[] buffer, ref int bitposition, int frameId, SerializationFlags writeFlags); +} |