Skip to content

Commit

Permalink
Add new event PlayerRetrieved
Browse files Browse the repository at this point in the history
  • Loading branch information
g-plane committed Apr 24, 2019
1 parent c21bfc3 commit 3f3409c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
14 changes: 14 additions & 0 deletions guide/backend-event.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,20 @@ $events->subscribe(Example\RenderSubscriber::class);

含义:角色实例

### PlayerRetrieved

::: tip 触发时机

从数据库中读取角色信息。

:::

#### player

类型:`App\Models\Player`

含义:角色实例

### PlayerWasAdded

::: tip 触发时机
Expand Down
4 changes: 4 additions & 0 deletions guide/migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ json('text', 0, ['abc' => 123]);

请您根据需要更改前端的代码。

### 事件

- 新添加了一个事件 `PlayerRetrieved`

## 从 3.5.0 迁移到 4.0.0

### 底层升级(影响度:高)
Expand Down

0 comments on commit 3f3409c

Please sign in to comment.