From 02c3d799ceb8a9d02507157f8496c5dfa74a241b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9F=B3=E6=84=8F=E6=A2=A7=E6=83=85?= <52553268+liuyiwuqing@users.noreply.github.com> Date: Thu, 29 May 2025 21:13:06 +0800 Subject: [PATCH] docs: update document for UserLoginEvent and UserLogoutEvent (#497) --- docs/developer-guide/plugin/interaction/shared-events.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/developer-guide/plugin/interaction/shared-events.md b/docs/developer-guide/plugin/interaction/shared-events.md index d4b9cb9..2b1b37e 100644 --- a/docs/developer-guide/plugin/interaction/shared-events.md +++ b/docs/developer-guide/plugin/interaction/shared-events.md @@ -53,6 +53,11 @@ public class HaloEventListener { - UserConnectionDisconnectedEvent:用户解绑第三方登陆方式时触发的事件 +#### 用户 + +- UserLoginEvent:用户登录成功 +- UserLogoutEvent:用户登出成功 + ## 发布自定义共享事件 除了监听已有的共享事件,插件也可以定义和发布自定义的共享事件,使得其他依赖该插件的组件能够监听和响应。