For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server-net/interfaces/PacketEventOptions.md.

Interface: PacketEventOptions experimental

event network

Beta

用于网络数据包触发事件的选项。

Options for events triggered by network packets.

Properties

ignoredPacketIds?

optional ignoredPacketIds?: PacketId[]

Beta

Remarks

如果提供该列表,则其中列出的数据包 ID 不会触发事件订阅。

If provided, packet IDs in this list will not trigger the event subscriptions.


monitoredPacketIds?

optional monitoredPacketIds?: PacketId[]

Beta

Remarks

如果提供该列表,则只有其中列出的数据包 ID 会触发事件订阅。

If provided only packet IDs in this list will trigger the event subscriptions.

同领域相关