载入中...
搜索中...
未找到
eve::rpg::SkillDefinition结构体 参考
#include <Skill.h>
Public 成员函数 | |
| bool | hasTag (const std::string &tag) const |
Public 属性 | |
| std::string | id |
| float | cooldown = 0.f |
| float | castTime = 0.f |
| 0 = 瞬发 | |
| std::string | targetType = "self" |
| std::vector< SkillCostSpec > | costs |
| std::vector< std::string > | grantedEffects |
| 命中/释放后施加给目标的效果 id 列表 | |
| std::vector< std::string > | tags |
| std::unordered_map< std::string, std::string > | extra |
| 游戏自定义附加数据 | |
详细描述
成员函数说明
◆ hasTag()
| bool eve::rpg::SkillDefinition::hasTag | ( | const std::string & | tag | ) | const |
类成员变量说明
◆ castTime
| float eve::rpg::SkillDefinition::castTime = 0.f |
◆ cooldown
| float eve::rpg::SkillDefinition::cooldown = 0.f |
被这些函数引用 eve::rpg::SkillSystem::beginCast().
◆ costs
| std::vector<SkillCostSpec> eve::rpg::SkillDefinition::costs |
◆ extra
| std::unordered_map<std::string, std::string> eve::rpg::SkillDefinition::extra |
◆ grantedEffects
| std::vector<std::string> eve::rpg::SkillDefinition::grantedEffects |
◆ id
| std::string eve::rpg::SkillDefinition::id |
◆ tags
◆ targetType
该结构体的文档由以下文件生成: