mirror of
https://github.com/Relintai/entity_spell_system.git
synced 2025-02-22 17:18:12 +01:00
28 lines
426 B
C++
28 lines
426 B
C++
#ifndef LOOT_DATA_ITEM_H
|
|
#define LOOT_DATA_ITEM_H
|
|
|
|
#include "core/math/math_funcs.h"
|
|
|
|
#include "loot_data_base.h"
|
|
|
|
|
|
class LootDataItem : public LootDataBase {
|
|
GDCLASS(LootDataItem, LootDataBase);
|
|
|
|
public:
|
|
Ref<ItemTemplate> get_item() const;
|
|
void set_item(const Ref<ItemTemplate> item);
|
|
|
|
void _get_loot(Array into);
|
|
|
|
LootDataItem();
|
|
|
|
protected:
|
|
static void _bind_methods();
|
|
|
|
private:
|
|
Ref<ItemTemplate> _item;
|
|
};
|
|
|
|
#endif
|