RuneDeciderParam 参数模块
更多...
#include <rmvlpara/decider/rune_decider.h>
◆ load()
bool rm::para::RuneDeciderParam::load |
( |
const std::string & | path | ) |
|
|
inline |
◆ read()
bool rm::para::RuneDeciderParam::read |
( |
const std::string & | path | ) |
|
从指定 YAML
文件中加载,并读取至 RuneDeciderParam
中
- 注解
YAML
文件的后缀允许是 *.yml
和 *.yaml
- 参数
-
- 返回
- 是否读取成功
◆ write()
bool rm::para::RuneDeciderParam::write |
( |
const std::string & | path | ) |
const |
◆ DISTURB_RADIUS_RATIO
float rm::para::RuneDeciderParam::DISTURB_RADIUS_RATIO = 4.f |
干扰模式时射击半径比值(以神符旋转中心为基准)
- 注解
- 默认值:
4.f
◆ INIT_FREQUENCY
float rm::para::RuneDeciderParam::INIT_FREQUENCY = 0.17f |
◆ MISS_FREQUENCY
float rm::para::RuneDeciderParam::MISS_FREQUENCY = 0.65f |
◆ NORMAL_RADIUS_RATIO
float rm::para::RuneDeciderParam::NORMAL_RADIUS_RATIO = 1.5f |
普通模式时射击半径比值(以神符旋转中心为基准)
- 注解
- 默认值:
1.5f
该结构体的文档由以下文件生成: