# 客户端接入

* [导入资源](/project/you-xi-jie-ru-wen-dang/ji-shu-dui-jie/ke-hu-duan-dui-jie/dao-ru-zi-yuan.md)
* [调用接口](/project/you-xi-jie-ru-wen-dang/ji-shu-dui-jie/ke-hu-duan-dui-jie/tiao-yong-jie-kou.md)

## 非对战游戏接口调用时序图如下： <img src="/files/-LZch3YIPjMwXctr8IVQ" alt="" data-size="original">&#x20;

说明：

1\. 游戏客户端调用平台客户端init命令进行SDK初始化

2\. 游戏客户端通过onInit回调接口获得init函数的返回的用户信息结果&#x20;

3\. 游戏客户端调用平台客户端quit命令，结束游戏


---

# Agent Instructions: 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://gamebox.gitbook.io/project/you-xi-jie-ru-wen-dang/ji-shu-dui-jie/ke-hu-duan-dui-jie.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.
