Spaces:
Runtime error
Runtime error
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; | |
} | |