summaryrefslogtreecommitdiff
path: root/ROUNDS/Photon.Compression.Internal/IPackVector2Int.cs
blob: fb1af5c2f66fb9c885027ca0b193a4dd4422b60c (plain)
1
2
3
4
5
6
7
8
9
10
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);
}