mirror of
https://github.com/Relintai/entity_spell_system.git
synced 2025-02-24 17:24:57 +01:00
28 lines
492 B
C++
28 lines
492 B
C++
|
#include "LootDataAttributeHelper.h"
|
||
|
|
||
|
int LootDataAttributeHelper::getItemId(){
|
||
|
return this->itemId;
|
||
|
}
|
||
|
|
||
|
void LootDataAttributeHelper::setItemId(int value)
|
||
|
{
|
||
|
this->itemId = value;
|
||
|
}
|
||
|
|
||
|
float LootDataAttributeHelper::getPercent()
|
||
|
{
|
||
|
return this->percent;
|
||
|
}
|
||
|
|
||
|
void LootDataAttributeHelper::setPercent(float value)
|
||
|
{
|
||
|
this->percent = value;
|
||
|
}
|
||
|
|
||
|
LootDataAttributeHelper::LootDataAttributeHelper(int itemId, float percent)
|
||
|
{
|
||
|
this->setItemId(itemId);
|
||
|
this->setPercent(percent);
|
||
|
}
|
||
|
|