> For the complete documentation index, see [llms.txt](https://sdk.twelite.info/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sdk.twelite.info/en/twelite-net-api-expl/twenet-fur/yzaibentofur.md).

# flow: User-defined event processing function

![](/files/-LB498Z5QBeSh5j4L0q9)

* 開始: Start
* 定義済み関数の処理が全て完了？: All predefined functions have been processed?
* ユーザ定義イベント処理実行(発生イベント): Execution of user-defined event processing (passed a generated event)
* 状態が遷移した?: Has the state transitioned?
* ユーザー定義イベント処理関数の実行 `E_EVENT_NEW_STATE`: Execution of a user-defined event handling function by passing `E_EVENT_NEW_STATE.`
* 終了: End
* ※ ユーザ定義イベントの処理が呼び出された時には、状態が遷移する限りは連続的にユーザ定義イベント処理関数が呼び出されます。これはいったん制御をシステムのメインループに戻すことは無く、システム内の一関数呼び出し内でし実施されます。: When user-defined event processing is called, the user-defined event processing function is called continuously as long as the state transitions. This is done within a single function call in the system, without returning control to the main system loop.
* ※ システム内から呼び出される場合も、アプリケーション側から `ToCoNet_Event_Process()`により呼び出す場合も同じ振る舞いをします。: It behaves the same whether it is called from within the system or from the application side by `ToCoNet_Event_Process()`


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sdk.twelite.info/en/twelite-net-api-expl/twenet-fur/yzaibentofur.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
