2019-09-11 15:06:30 +02:00
|
|
|
#ifndef ENTITY_DATA_CONTAINER_H
|
|
|
|
#define ENTITY_DATA_CONTAINER_H
|
|
|
|
|
2019-10-08 13:37:08 +02:00
|
|
|
#include "core/dictionary.h"
|
2020-01-09 04:27:19 +01:00
|
|
|
#include "core/reference.h"
|
2019-09-11 15:06:30 +02:00
|
|
|
|
|
|
|
class EntityDataContainer : public Reference {
|
|
|
|
GDCLASS(EntityDataContainer, Reference);
|
|
|
|
|
|
|
|
public:
|
2019-10-08 13:37:08 +02:00
|
|
|
Dictionary to_dict();
|
|
|
|
void from_dict(const Dictionary &dict);
|
|
|
|
|
|
|
|
Dictionary _to_dict();
|
|
|
|
void _from_dict(const Dictionary &dict);
|
|
|
|
|
2019-09-11 15:06:30 +02:00
|
|
|
EntityDataContainer();
|
|
|
|
~EntityDataContainer();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
static void _bind_methods();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|