29 #ifndef PACKED_DATA_CONTAINER_H 30 #define PACKED_DATA_CONTAINER_H 43 TYPE_ARRAY=0xFFFFFFFE,
49 bool operator<(
const DictKey& p_key)
const {
return hash < p_key.hash; }
60 Variant _iter_init_ofs(
const Array& p_iter,uint32_t p_offset);
61 Variant _iter_next_ofs(
const Array& p_iter,uint32_t p_offset);
69 Variant _key_at_ofs(uint32_t p_ofs,
const Variant& p_key,
bool &err)
const;
70 Variant _get_at_ofs(uint32_t p_ofs,
const uint8_t *p_buf,
bool &err)
const;
71 uint32_t _type_at_ofs(uint32_t p_ofs)
const;
72 int _size(uint32_t p_ofs)
const;
78 static void _bind_methods();
81 virtual Variant getvar(
const Variant& p_key,
bool *r_valid=NULL)
const;
82 Error pack(
const Variant& p_data);
97 static void _bind_methods();
104 bool _is_dictionary()
const;
107 virtual Variant getvar(
const Variant& p_key,
bool *r_valid=NULL)
const;
112 #endif // PACKED_DATA_CONTAINER_H Definition: packed_data_container.h:89
Definition: packed_data_container.h:37
Definition: reference.h:40
Definition: resource.h:89