载入中...
搜索中...
未找到
卡牌类型定义(registerCardsFromJson 注册)。 更多...
#include <CardTypes.h>
Public 属性 | |
| std::string | id |
| std::string | name |
| std::string | kind = "creature" |
| int | cost = 0 |
| int | attack = 0 |
| int | health = 0 |
| glm::vec3 | tint {0.62f, 0.50f, 0.40f} |
| eve::decision::Condition | playCondition |
| Side-effect-free condition tree required before this card can play. | |
| std::vector< std::string > | tags |
| Definition tags available to HasTag nodes. | |
详细描述
卡牌类型定义(registerCardsFromJson 注册)。
在文件 CardTypes.h 第 79 行定义.
类成员变量说明
◆ attack
| int eve::card::CardDefinition::attack = 0 |
在文件 CardTypes.h 第 84 行定义.
◆ cost
| int eve::card::CardDefinition::cost = 0 |
在文件 CardTypes.h 第 83 行定义.
◆ health
| int eve::card::CardDefinition::health = 0 |
在文件 CardTypes.h 第 85 行定义.
◆ id
| std::string eve::card::CardDefinition::id |
在文件 CardTypes.h 第 80 行定义.
◆ kind
| std::string eve::card::CardDefinition::kind = "creature" |
在文件 CardTypes.h 第 82 行定义.
◆ name
| std::string eve::card::CardDefinition::name |
在文件 CardTypes.h 第 81 行定义.
◆ playCondition
| eve::decision::Condition eve::card::CardDefinition::playCondition |
Side-effect-free condition tree required before this card can play.
在文件 CardTypes.h 第 88 行定义.
◆ tags
| std::vector<std::string> eve::card::CardDefinition::tags |
Definition tags available to HasTag nodes.
在文件 CardTypes.h 第 90 行定义.
◆ tint
| glm::vec3 eve::card::CardDefinition::tint {0.62f, 0.50f, 0.40f} |
在文件 CardTypes.h 第 86 行定义.
该结构体的文档由以下文件生成:
- src/modules/card/CardTypes.h