提交 ac4058d0 作者: 黄程泽

三国文档

上级 3a11f093
## GameSDKV1.0文档接入使用
## GameSDKV1.0文档接入使用
......@@ -448,18 +448,21 @@ public void showPay(CustomPayParam payParam, OnPaymentListener paymentListener)
> |         server_name | true | String | - | 区服名称 |
> |         cp_role_id | true | String | - | 游戏方角色ID |
> |         role_name | true | String | - | 游戏角色名称 |
> |         role_level | true | Int | 0 | 角色等级 |
> |         power | true | String | "" | 国家 | |
> |         main_city_level | true | Int | 0 | 最新官邸等级 |
> |         chapter_index | true | Int | 0 | 最新章节等级 |
> |         role_vip | false | Int | 0 | 最新角色VIP等级 |
> |         role_level | false | Int | 0 | 角色等级 |
> |         combat_num | false | Int | 0 | 最新角色战力 |
> |         reiki_num | false | Int | 0 | 最新角色灵符值 |
> |         reiki_num | false | Int | 0 | 最新元宝数量 |
> |         attack | false | Int | 0 | 攻击力 |
> |         gang_name | false | String | - | 帮会(行会)名称
> |         role_level | false | Int | 0 | 角色等级 |
> |         gang_name | false | String | - | 帮会(联盟)名称
###### 角色上线 online 角色下线 offline
###### 角色上线 online
###### 角色下线 offline
> | 参数 | 必选 | 类型 | 默认值 | 说明 |
> | :---------------------------------------------------------- | :---- | :----- | :----- | :----------- |
......@@ -469,18 +472,19 @@ public void showPay(CustomPayParam payParam, OnPaymentListener paymentListener)
> |         cp_role_id | true | String | - | 游戏方角色ID |
> |         role_name | true | String | - | 游戏角色名称 |
> |         power | true | String | "" | 国家 |
> |         main_city_level | true | Int | 0 | 最新官邸等级 |
> |         chapter_index | true | Int | 0 | 最新章节等级 |
> |         role_level | true | Int | 0 | 角色等级 |
> |         main_city_level | true | Int | 0 | 最新官邸等级(online, offline线务必上传) |
> |         chapter_index | true | Int | 0 | 最新章节等级(online, offline线务必上传) |
> |         role_vip | false | Int | 0 | 最新角色VIP等级 |
> |         gang_name | false | String | - | 帮会(行会)名称 | |
> |         role_level | false | Int | 0 | 角色等级 |
> |         combat_num | false | Int | 0 | 最新角色战力 |
> |         reiki_num | false | Int | 0 | 最新角色灵符值 |
> |         reiki_num | false | Int | 0 | 最新元宝数量 |
> |         online_time | false | Int | 0 | 本次在线时长 |
> |         attack | false | Int | 0 | 攻击力 |
> |         gang_name | false | String | - | 帮会(行会)名称 | |
> |         gang_name | false | String | - | 帮会(联盟)名称 |
###### 角色升级 level_up
> | 参数 | 必选 | 类型 | 默认值 | 说明 |
> | :---------------------------------------------------------- | :---- | :----- | :----- | :----------- |
> |         event | true | String | - | 事件类型 |
......@@ -488,17 +492,19 @@ public void showPay(CustomPayParam payParam, OnPaymentListener paymentListener)
> |         server_name | true | String | - | 区服名称 |
> |         cp_role_id | true | String | - | 游戏方角色ID |
> |         role_name | true | String | - | 游戏角色名称 |
> |         role_level | true | Int | 0 | 角色等级 |
> |         power | true | String | "" | 国家 |
> |         main_city_level | true | Int | 0 | 最新官邸等级 |
> |         chapter_index | true | Int | 0 | 最新章节等级 |
> |         role_vip | false | Int | 0 | 最新角色VIP等级 |
> |         role_level | false | Int | 0 | 角色等级 |
> |         combat_num | false | Int | 0 | 最新角色战力 |
> |         online_time | false | Int | 0 | 本次在线时长 |
> |         attack | false | Int | 0 | 攻击力 |
> |         gang_name | false | String | - | 帮会(行会)名称 | |
> |         gang_name | false | String | - | 帮会(联盟)名称 |
###### 官邸升级事件 main_city_upgrade
> | 参数 | 必选 | 类型 | 默认值 | 说明 |
> | :---------------------------------------------------------- | :---- | :----- | :----- | :----------- |
> |         event | true | String | - | 事件类型 |
......@@ -506,12 +512,14 @@ public void showPay(CustomPayParam payParam, OnPaymentListener paymentListener)
> |         server_name | true | String | - | 区服名称 |
> |         cp_role_id | true | String | - | 游戏方角色ID |
> |         role_name | true | String | - | 游戏角色名称 |
> |         role_level | true | Int | 0 | 角色等级 |
> |         power | true | String | "" | 国家 |
> |         main_city_level | true | Int | 0 | 最新官邸等级 |
> |         role_level | false | Int | 0 | 角色等级 |
###### 章节完成事件 chapter_complete
> | 参数 | 必选 | 类型 | 默认值 | 说明 |
> | :---------------------------------------------------------- | :---- | :----- | :----- | :----------- |
> |         event | true | String | - | 事件类型 |
......@@ -519,9 +527,11 @@ public void showPay(CustomPayParam payParam, OnPaymentListener paymentListener)
> |         server_name | true | String | - | 区服名称 |
> |         cp_role_id | true | String | - | 游戏方角色ID |
> |         role_name | true | String | - | 游戏角色名称 |
> |         role_level | false | Int | 0 | 角色等级 |
> |         power | true | String | "" | 国家 |
> |         chapter_index | true | Int | 0 | 最新章节等级 |
> |         role_level | false | Int | 0 | 角色等级 |
###### 删除角色 delete
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论