feat:上传mcguide-开发指南部份
This commit is contained in:
19
mcguide/20-玩法开发/13-模组SDK编程/2-Python脚本开发/4-系统简介.md
Normal file
19
mcguide/20-玩法开发/13-模组SDK编程/2-Python脚本开发/4-系统简介.md
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
front:
|
||||
hard: 入门
|
||||
time: 分钟
|
||||
---
|
||||
|
||||
# <span id="系统简介"></span>系统简介
|
||||
|
||||
系统System是我们的核心类,用于监听事件,使用组件,更新等。
|
||||
|
||||
获取自定义的System需要继承引擎的系统基类 ClientSystem/ServerSystem.
|
||||
```python
|
||||
import client.extraClientApi as clientApi
|
||||
ClientSystem = clientApi.GetClientSystemCls()
|
||||
import server.extraServerApi as serverApi
|
||||
ServerSystem = serverApi.GetServerSystemCls()
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user