robot抓包接口

This commit is contained in:
huangxiaolei committed 2023-06-16 19:32:29 +08:00
1 parent bd504e5fe5
commit 2a4f75d188
4 files changed
+142 -19

No files matched your search

+19 -17
View File
@@ -57,23 +57,25 @@ type Hk4e struct {
// Hk4eRobot 原神机器人
type Hk4eRobot struct {
RegionListUrl string `toml:"region_list_url"` // 一级dispatch地址
RegionListParam string `toml:"region_list_param"` // 一级dispatch的url参数
SelectRegionIndex int32 `toml:"select_region_index"` // 选择的二级dispatch索引
CurRegionUrl string `toml:"cur_region_url"` // 二级dispatch地址 可强制指定 为空则使用一级dispatch获取的地址
CurRegionParam string `toml:"cur_region_param"` // 二级dispatch的url参数
KeyId string `toml:"key_id"` // 客户端密钥编号
LoginSdkUrl string `toml:"login_sdk_url"` // sdk登录服务器地址
Account string `toml:"account"` // 帐号
Password string `toml:"password"` // base64编码的rsa公钥加密后的密码
ClientVersion string `toml:"client_version"` // 客户端版本号
DosEnable bool `toml:"dos_enable"` // 是否开启压力测试
DosTotalNum int32 `toml:"dos_total_num"` // 压力测试总并发数量 帐号自动添加后缀编号
DosBatchNum int32 `toml:"dos_batch_num"` // 压力测试每批登录并发数量
DosLoopLogin bool `toml:"dos_loop_login"` // 压力测试是否循环登录退出
ClientMoveEnable bool `toml:"client_move_enable"` // 是否开启客户端模拟移动
ClientMoveSpeed int32 `toml:"client_move_speed"` // 客户端模拟移动速度
ClientMoveRangeExt int32 `toml:"client_move_range_ext"` // 客户端模拟移动区域半径
RegionListUrl string `toml:"region_list_url"` // 一级dispatch地址
RegionListParam string `toml:"region_list_param"` // 一级dispatch的url参数
SelectRegionIndex int32 `toml:"select_region_index"` // 选择的二级dispatch索引
CurRegionUrl string `toml:"cur_region_url"` // 二级dispatch地址 可强制指定 为空则使用一级dispatch获取的地址
CurRegionParam string `toml:"cur_region_param"` // 二级dispatch的url参数
KeyId string `toml:"key_id"` // 客户端密钥编号
LoginSdkUrl string `toml:"login_sdk_url"` // sdk登录服务器地址
Account string `toml:"account"` // 帐号
Password string `toml:"password"` // base64编码的rsa公钥加密后的密码
ClientVersion string `toml:"client_version"` // 客户端版本号
DosEnable bool `toml:"dos_enable"` // 是否开启压力测试
DosTotalNum int32 `toml:"dos_total_num"` // 压力测试总并发数量 帐号自动添加后缀编号
DosBatchNum int32 `toml:"dos_batch_num"` // 压力测试每批登录并发数量
DosLoopLogin bool `toml:"dos_loop_login"` // 压力测试是否循环登录退出
ClientMoveEnable bool `toml:"client_move_enable"` // 是否开启客户端模拟移动
ClientMoveSpeed int32 `toml:"client_move_speed"` // 客户端模拟移动速度
ClientMoveRangeExt int32 `toml:"client_move_range_ext"` // 客户端模拟移动区域半径
ForwardChecksum string `toml:"forward_checksum"` // 转发模式强制指定校验和
ForwardChecksumClientVersion string `toml:"forward_checksum_client_version"` // 转发模式强制指定校验和客户端版本
}
// MQ 消息队列