企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持知识库和私有化部署方案 广告
### 4.6.4 实时推送 * 数据变化推送、数据新增推送 * 每次推送全量数据 ``` { "game_id": 3, "channel": "live", "push_type":"update", //推送场景(update更新/create或者new新增) "data": { "game_id": 3, "match_id": 4354, "race_id": 5010, "stage": 3, "finished": 0, //小局是否完成(1完成/0未完成) "time": 618, "teams": [ { "team_id": 102001, "team": { "id": 102001, "name": "南京Hero久竞", "abbr": "", "logo": ".png" }, "side": 2,1蓝色2 红色 "win": 0, "score": 0, "gold": 0, "gold_diff": 0, "kills": 6, "deaths": 3, "assists": 11, "tower_kills": 4, "baron_kills": 1, "dragon_kills": 3, "special_kill": { "first_blood": 0, "first_drakes": 1, "first_nashors": 0, "first_towers": 1, "five_kills": 1, "ten_kills": 0 }, "ban": [ { "id": 102661, "name": "鲨之猎刃", "logo": "https://esports-cdn.namitiyu.com/kog/hero/2e61a6a7e6ad5b5e043d9bd99c7e715a.png" }, 。。。 ], "pick": [ { "id": 102643, "name": "镜", "logo": "https://esports-cdn.namitiyu.com/kog/hero/1bf53a1ba29f2b162bb5c86beb203e4b.png" } 。。。 ], "players": [ { "player_id": 108676, "player": { "id": 108676, "name": "星痕", "logo": "https://esports-cdn.namitiyu.com/kog/player/3fe87d089e0cd6e54e29978a1ec9cc82.png", "position": "top" }, "role": { "id": 102636, "name": "廉颇", "logo": "https://esports-cdn.namitiyu.com/kog/hero/5eb173730134a762b029fc803395a400.png" }, "equipments": null, "skills": null, "level": 12, "cs": 0, "kills": 0, "deaths": 0, "assists": 2, "kda": "2.0", "team_fight": "33", "gold_earned": 0 }, 。。。 ] } ``` | 参数 | 类型 | 描述 | 备注 | | ------------- | ------ | -------------------------------- | ---- | | game_id | int | | | | match_id | int | 一场比赛 id | | | race_id | int | 一局比赛 id | | | stage | int | 一场比赛的第几局,和 RaceId 对应 | | | finished | bool | 比赛是否完成 | | | time | int | 当前小局进行时长 | | | teams | | 队伍 | | | economic_diff | | 经济差 | | | team_id | int | 队伍 id | | | team | | 队伍基本信息 | | | side | int | 阵营 1 红 2 蓝 | | | win | int | 是否胜利 1 胜利 | | | score | int | 比分 | | | gold | int | 经济 | | | kills | int | 击杀 | | | deaths | int | 死亡 | | | assists | int | 助攻 | | | tower_kills | int | 推塔数 | | | baron_kills | int | 击杀主宰数 | | | dragon_kills | int | 击杀暴君数 | | | special_kill | | 关键事件(一血、一塔、首龙等) | | | ban | | 禁用的英雄 | | | pick | | 选择的英雄 | | | first_blood | int | 是否一血 | | | first_drakes | int | 是否首暴君 | | | first_nashors | int | 是否首主宰 | | | first_towers | int | 是否首塔 | | | five_kills | int | 是否首先获得 5 个击杀 | | | ten_kills | int | 是否首先获得 10 个击杀 | | | player_id | int | 选手 id | | | player | | 选手基本信息 | | | role | | 使用的英雄 | | | equipments | | 装备 | | | skills | | 技能 | | | level | int | 等级 | | | kills | int | 击杀 | | | deaths | int | 死亡 | | | assists | int | 助攻 | | | kda | string | KDA | | | team_fight | string | 参团率 | | | gold_earned | int | 经济 | | | time | | 时间(横坐标) | | | diff | | 经济差(纵坐标) | | | abbr | string | 简称 | | | id | int | | | | name | string | 名称 | | | logo | string | 图标 | | | position | string | 位置 | |