Skip to content

Commit 2f936ef

Browse files
committed
update zh-hans docs
1 parent 6a5fdcd commit 2f936ef

File tree

816 files changed

+1468
-1550
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

816 files changed

+1468
-1550
lines changed

frontend/i18n/zh-Hans/docusaurus-plugin-content-docs/current/scripting/callbacks/OnClientMessage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ tags: []
1414

1515
该回调不会在玩家发送聊天消息时触发,相关功能请参阅[NPC:OnPlayerText](OnPlayerText)
1616

17-
| 参数 | 说明 |
17+
| 参数名 | 说明 |
1818
| ------ | ------------------ |
1919
| color | 客户端消息的颜色值 |
2020
| text[] | 实际消息内容 |

frontend/i18n/zh-Hans/docusaurus-plugin-content-docs/current/scripting/callbacks/OnNPCChangeNode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ tags: ["npc", "节点", "导航"]
1111

1212
当 NPC 在基于节点的移动过程中尝试从一个导航节点切换到另一个节点时调用此回调。这允许您控制是否应允许或拒绝节点切换。
1313

14-
| 名称 | 描述 |
14+
| 参数 | 说明 |
1515
| --------- | --------------------------- |
1616
| npcid | 尝试切换节点的 NPC 的 ID |
1717
| newnodeid | NPC 想要移动到的新节点的 ID |

frontend/i18n/zh-Hans/docusaurus-plugin-content-docs/current/scripting/callbacks/OnNPCCreate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ tags: ["npc"]
1111

1212
当 NPC 成功创建并添加到服务器时调用此回调。
1313

14-
| 名称 | 描述 |
14+
| 名称 | 说明 |
1515
| ----- | ------------------ |
1616
| npcid | 已创建的 NPC 的 ID |
1717

frontend/i18n/zh-Hans/docusaurus-plugin-content-docs/current/scripting/callbacks/OnNPCDeath.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ tags: ["npc"]
1111

1212
当 NPC 死亡时调用此回调。
1313

14-
| 名称 | 描述 |
14+
| 参数 | 说明 |
1515
| -------- | ----------------------------------------------------------- |
1616
| npcid | 死亡的 NPC 的 ID |
1717
| killerid | 击杀 NPC 的玩家/NPC 的 ID(如果没有则为 INVALID_PLAYER_ID) |

frontend/i18n/zh-Hans/docusaurus-plugin-content-docs/current/scripting/callbacks/OnNPCDestroy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ tags: ["npc"]
1111

1212
当 NPC 被销毁并从服务器移除时调用此回调。
1313

14-
| 名称 | 描述 |
14+
| 名称 | 说明 |
1515
| ----- | ------------------ |
1616
| npcid | 被销毁的 NPC 的 ID |
1717

frontend/i18n/zh-Hans/docusaurus-plugin-content-docs/current/scripting/callbacks/OnNPCFinishMove.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ tags: ["npc", "移动"]
1111

1212
当 NPC 完成移动到目标位置时调用此回调。
1313

14-
| 名称 | 描述 |
14+
| 名称 | 说明 |
1515
| ----- | -------------------- |
1616
| npcid | 完成移动的 NPC 的 ID |
1717

frontend/i18n/zh-Hans/docusaurus-plugin-content-docs/current/scripting/callbacks/OnNPCFinishMovePath.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ tags: ["npc", "移动", "路径"]
1111

1212
当 NPC 完成沿预定路径移动时调用此回调。
1313

14-
| 名称 | 描述 |
14+
| 参数名 | 说明 |
1515
| ------ | -------------------- |
1616
| npcid | 完成路径的 NPC 的 ID |
1717
| pathid | 已完成的路径的 ID |

frontend/i18n/zh-Hans/docusaurus-plugin-content-docs/current/scripting/callbacks/OnNPCFinishNode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ tags: ["npc", "节点", "导航"]
1111

1212
当 NPC 在基于节点的移动过程中完成导航一个完整节点时调用此回调。
1313

14-
| 名称 | 描述 |
14+
| 参数名 | 说明 |
1515
| ------ | -------------------- |
1616
| npcid | 完成节点的 NPC 的 ID |
1717
| nodeid | 已完成的节点的 ID |

frontend/i18n/zh-Hans/docusaurus-plugin-content-docs/current/scripting/callbacks/OnNPCFinishNodePoint.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ tags: ["npc", "节点", "导航"]
1111

1212
当 NPC 在基于节点的导航过程中到达特定点时调用此回调。
1313

14-
| 名称 | 描述 |
14+
| 参数 | 说明 |
1515
| ------- | ---------------------- |
1616
| npcid | 到达节点点的 NPC 的 ID |
1717
| nodeid | 正在导航的节点的 ID |

frontend/i18n/zh-Hans/docusaurus-plugin-content-docs/current/scripting/callbacks/OnNPCGiveDamage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ tags: ["npc", "伤害"]
1111

1212
当 NPC 对玩家造成伤害时调用此回调。
1313

14-
| 名称 | 描述 |
14+
| 参数 | 说明 |
1515
| --------- | ------------------------------------------ |
1616
| npcid | 造成伤害的 NPC 的 ID |
1717
| damagedid | 受到伤害的玩家的 ID |

0 commit comments

Comments
 (0)