Showing
4 changed files
with
5 additions
and
1 deletions
No preview for this file type
| ... | @@ -252,6 +252,9 @@ public class AppActivity extends Activity { | ... | @@ -252,6 +252,9 @@ public class AppActivity extends Activity { |
| 252 | login(); | 252 | login(); |
| 253 | } else if (view == yaEnterGameBt) { | 253 | } else if (view == yaEnterGameBt) { |
| 254 | setContentView(getRedIdByName("public_sdk_self_game", "layout"));// (R.layout.game); | 254 | setContentView(getRedIdByName("public_sdk_self_game", "layout"));// (R.layout.game); |
| 255 | + //模拟调用聊天接口: | ||
| 256 | + //PoolSdkHelper.reportChat("content", "世界", "roleId", "roleName", 10, "serverId", "serverName"); | ||
| 257 | + | ||
| 255 | initGameView(); | 258 | initGameView(); |
| 256 | } else if (view == yaPayBt) { | 259 | } else if (view == yaPayBt) { |
| 257 | pay(); | 260 | pay(); | ... | ... |
| ... | @@ -523,11 +523,12 @@ | ... | @@ -523,11 +523,12 @@ |
| 523 | 523 | ||
| 524 | 2.17、聊天统计 | 524 | 2.17、聊天统计 |
| 525 | 说明:在用户发送聊天信息时调用改接口 | 525 | 说明:在用户发送聊天信息时调用改接口 |
| 526 | - 方法:public static void reportChat(final String content, final String accountId,final String accountName, final int level, final String serverId,final String serverName) | 526 | + 方法:public static void reportChat(final String content,String type, final String accountId,final String accountName, final int level, final String serverId,final String serverName) |
| 527 | 参数说明: | 527 | 参数说明: |
| 528 | 参数 |说明 | 528 | 参数 |说明 |
| 529 | ------------ | ------------- | 529 | ------------ | ------------- |
| 530 | content | 聊天内容 | 530 | content | 聊天内容 |
| 531 | +type | 聊天类型(世界,私聊等) | ||
| 531 | accountId | 角色ID | 532 | accountId | 角色ID |
| 532 | accountName | 角色名称 | 533 | accountName | 角色名称 |
| 533 | level | 角色等级 | 534 | level | 角色等级 | ... | ... |
No preview for this file type
-
Please register or login to post a comment