custom-chatbot / data /CardManager.qtn
fastx's picture
Upload 84 files
ce81a16
raw
history blame
573 Bytes
asset CardSettings;
[ExcludeFromPrototype]
component CardManager
{
Byte EmptySlots;
Byte QueueHeadIndex;
Byte QueueTailIndex;
FP CurrentEnergy;
FP EnergyFillRate;
FP MaxEnergy;
FP NextFillTime;
list<CardInfo> CardQueue;
list<CardInfo> AvailableCards;
}
struct CardInfo
{
AssetRefCardSettings CardSettings;
Byte Level;
}
[PreserveInPrototype]
enum ERarity : byte
{
Common,
Uncommon,
Rare,
Epic,
Legendary,
}
synced event CardsChanged
{
EntityRef Entity;
}