entity_spell_system/loot/loot_data_base.h

27 lines
384 B
C++

#ifndef LOOT_DATA_BASE_H
#define LOOT_DATA_BASE_H
#include "core/array.h"
#include "../data/item_template.h"
class LootDataBase : public Resource {
GDCLASS(LootDataBase, Resource);
public:
float get_chance() const;
void set_chance(const float value);
void get_loot(Array into);
LootDataBase();
protected:
static void _bind_methods();
private:
float _chance;
};
#endif