mirror of
https://github.com/Relintai/entity_spell_system.git
synced 2025-02-24 17:24:57 +01:00
33 lines
528 B
C++
33 lines
528 B
C++
#ifndef ENTITY_RESOURCE_DATA_H
|
|
#define ENTITY_RESOURCE_DATA_H
|
|
|
|
#include "core/resource.h"
|
|
|
|
#include "core/ustring.h"
|
|
|
|
class EntityResource;
|
|
|
|
class EntityResourceData : public Resource {
|
|
GDCLASS(EntityResourceData, Resource);
|
|
|
|
public:
|
|
int get_id();
|
|
void set_id(int value);
|
|
|
|
String get_text_description();
|
|
void set_text_description(String value);
|
|
|
|
Ref<EntityResource> get_entity_resource_instance();
|
|
|
|
EntityResourceData();
|
|
|
|
protected:
|
|
static void _bind_methods();
|
|
|
|
private:
|
|
int _id;
|
|
String _text_description;
|
|
};
|
|
|
|
#endif
|