| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- $#include "Deserializer.h"
- class Deserializer
- {
- // virtual unsigned Read(void* dest, unsigned size);
- virtual unsigned Seek(unsigned position);
-
- virtual const String& GetName() const;
- virtual 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();
- 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;
- };
|