| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- $#include "Deserializer.h"
- class Deserializer
- {
- unsigned Seek(unsigned position);
- const String& GetName() const;
- unsigned GetChecksum();
- unsigned GetPosition() const;
- unsigned GetSize() const;
- bool IsEof() const;
-
- int ReadInt();
- short ReadShort();
- signed char ReadByte();
- unsigned ReadUInt();
- unsigned short ReadUShort();
- unsigned char ReadUByte();
- bool ReadBool();
- float ReadFloat();
- IntRect ReadIntRect();
- IntVector2 ReadIntVector2();
- Rect ReadRect();
- Vector2 ReadVector2();
- Vector3 ReadVector3();
- Vector3 ReadPackedVector3(float maxAbsCoord);
- Vector4 ReadVector4();
- Quaternion ReadQuaternion();
- Quaternion ReadPackedQuaternion();
- Color ReadColor();
- BoundingBox ReadBoundingBox();
- String ReadString();
- String ReadFileID();
- StringHash ReadStringHash();
- ShortStringHash ReadShortStringHash();
-
- // PODVector<unsigned char> ReadBuffer();
- VectorBuffer ReadBuffer();
-
- ResourceRef ReadResourceRef();
- ResourceRefList ReadResourceRefList();
- Variant ReadVariant();
- Variant ReadVariant(VariantType type);
- VariantVector ReadVariantVector();
- VariantMap ReadVariantMap();
- unsigned ReadVLE();
- unsigned ReadNetID();
- String ReadLine();
-
- tolua_readonly tolua_property__get_set String& name;
- tolua_readonly tolua_property__get_set unsigned checksum;
- tolua_readonly tolua_property__get_set unsigned position;
- tolua_readonly tolua_property__get_set unsigned size;
- tolua_readonly tolua_property__is_set bool eof;
- };
|