summaryrefslogtreecommitdiff
path: root/ROUNDS/Photon.Compression.Internal/IPackVector3.cs
blob: fb9140cc9643d8b45d998ec3e21327d70dd20aa1 (plain)
1
2
3
4
5
6
7
8
9
10
11
using UnityEngine;

namespace Photon.Compression.Internal;

[PackSupportedTypes(typeof(Vector3))]
public interface IPackVector3
{
	SerializationFlags Pack(ref Vector3 value, Vector3 preValue, byte[] buffer, ref int bitposition, int frameId, SerializationFlags writeFlags);

	SerializationFlags Unpack(ref Vector3 value, byte[] buffer, ref int bitposition, int frameId, SerializationFlags writeFlags);
}