Add user played work stats for puzzle and big fish
Some checks failed
CI / verify (pull_request) Has been cancelled
Some checks failed
CI / verify (pull_request) Has been cancelled
This commit is contained in:
@@ -17,6 +17,19 @@
|
||||
4. 入口必须在移动端单手可点,不遮挡舞台主体。
|
||||
5. 规则内容只做说明,不参与任何前端裁决;真实规则仍以后端运行快照为准。
|
||||
|
||||
## 游玩统计规则
|
||||
|
||||
所有作品都需要对自身以及用户做游玩统计。
|
||||
|
||||
大鱼吃小鱼正式运行时必须遵守:
|
||||
|
||||
1. 正式开始游玩已发布作品时,更新作品自身播放统计。
|
||||
2. 已登录用户写入 `profile_played_world`,`world_key = big-fish:{session_id}`。
|
||||
3. `profile_id` 保存大鱼作品号/会话号,`world_type = BIG_FISH`。
|
||||
4. `world_title` 使用玩法草稿标题,`world_subtitle` 优先使用副标题,其次使用核心乐趣。
|
||||
5. `owner_user_id` 使用大鱼作品归属用户 ID。
|
||||
6. 退出或结算上报 `elapsedMs` 后,后端按增量刷新 `profile_dashboard_state.total_play_time_ms` 和明细中的 `last_observed_play_time_ms`。
|
||||
|
||||
## 落地范围
|
||||
|
||||
1. `src/components/big-fish-runtime/BigFishRuntimeShell.tsx`
|
||||
|
||||
Reference in New Issue
Block a user