summaryrefslogtreecommitdiff
path: root/Runtime/Export/Serialization/ISerializedStateReader.cs
blob: cc96a7b5e36f2b973cf88ef57fce855cd9fd38db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
using System.Collections.Generic;

namespace UnityEngine
{
#if ENABLE_SERIALIZATION_BY_CODEGENERATION
	public interface ISerializedStateReader
	{
		void Align();
		byte ReadByte();
		int ReadInt32();
		float ReadSingle();
		double ReadDouble();
		bool ReadBoolean();
		string ReadString();
		object ReadUnityEngineObject();
		object ReadAnimationCurve();
		object ReadGradient();
		object ReadGUIStyle();
		object ReadRectOffset();

		byte[] ReadArrayOfByte();
		List<byte> ReadListOfByte();
	}
#endif
}