feat(tsl-api-reference): index class and unit APIs

Migrate reference pages to declaration-line storage and rebuild the
13-column index.

Add qualified member lookup plus regression and end-to-end coverage.
This commit is contained in:
csh
2026-07-29 15:47:46 +08:00
parent 9edc8fc868
commit 13be5ea0aa
239 changed files with 39157 additions and 12846 deletions
@@ -2,6 +2,8 @@
## `addEvent(msg_type, msg_identy, code, id_list, user_id)`
声明:function
订购消息。
| 参数 | 类型 | 说明 |
@@ -16,6 +18,8 @@
## `getGlobalData(name)`
声明:function
取全局数据。
| 参数 | 类型 | 说明 |
@@ -26,18 +30,24 @@
## `listEvents()`
声明:function
获得当前设置的事件信息表。
返回:array
## `listGlobalData()`
声明:function
获得当前的全局数据信息列表。
返回:array
## `removeEvent(msg_identy)`
声明:function
取消消息钩子。
| 参数 | 类型 | 说明 |
@@ -48,6 +58,8 @@
## `removeGlobalData(name)`
声明:function
删除全局数据。
| 参数 | 类型 | 说明 |
@@ -58,6 +70,8 @@
## `scheduleEvent(call_out_time, identy, code, user_id)`
声明:function
调度事件。 备注:TimerEvent与ScheduleEvent的差异的ScheduleEvent只做一次,做完会自动取消,而TimerEvent则会不断间隔做。
| 参数 | 类型 | 说明 |
@@ -71,6 +85,8 @@
## `sendEvent(msg_type, id_list, value)`
声明:function
给消息队列发送事件,如果成功则返回真。
| 参数 | 类型 | 说明 |
@@ -83,6 +99,8 @@
## `setGlobalData(name, value)`
声明:function
设置全局数据。
| 参数 | 类型 | 说明 |
@@ -94,6 +112,8 @@
## `timerEvent(call_out_time, identy, code, user_id)`
声明:function
定时器事件。 备注:TimerEvent与ScheduleEvent的差异的ScheduleEvent只做一次,做完会自动取消,而TimerEvent则会不断间隔做。
| 参数 | 类型 | 说明 |