mirror of
https://github.com/Relintai/entity_spell_system.git
synced 2025-02-24 17:24:57 +01:00
27 lines
425 B
C
27 lines
425 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
|