This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
component:robot:zh [2023/11/26 16:25] hfsr created |
component:robot:zh [2023/12/10 16:14] (current) hfsr [用于外部容器的方法] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | Component: Robot | + | 组件:机器人 |
---- | ---- | ||
- | This component is provided by the [[block:robot|Robot]]. The functions below can be called in the Lua interpreter using `=component.robot.function()`. To make robot function calls more intuitive, a [[api:robot|Robot API]] exists as a wrapper around the component functions, providing additional functionality (which is summarized in the API page). | + | 此组件由[[block:robot:zh|机器人]]提供。 |
+ | 下列函数可在Lua解释器中使用`=component.robot.function()`的写法调用。想要以更直观的方式来调用机器人函数的话,可以使用[[api:robot:zh|Robot(机器人) API]]。它是组件函数的封装版本,还提供了额外的功能(在API页面中总结)。 | ||
- | Component name: `robot`. | + | 组件名:`robot`。 |
- | ==== Base Methods ==== | + | ====基础方法==== |
- | {{page>component:agent#Robot Component API&noheader&nofooter}} | + | {{page>component:agent:zh#硬件实体特性API&noheader&nofooter}} |
- | {{page>component:agent#Agent Trait API&noheader&nofooter}} | + | {{page>component:agent:zh#世界控制特性API&noheader&nofooter}} |
+ | {{page>component:agent:zh#机器人组件API&noheader&nofooter}} | ||
- | ==== Internal Inventory Methods ==== | ||
- | {{page>component:agent#InventoryController Trait API&noheader&nofooter}} | ||
- | {{page>component:agent#TankControl Trait API&noheader&nofooter}} | ||
- | ==== External Inventory Methods ==== | + | ====用于内部容器的方法==== |
- | {{page>component:agent#WorldControl Trait API&noheader&nofooter}} | + | #### 物品栏 |
- | {{page>component:agent#TankWorldControl Trait API&noheader&nofooter}} | + | {{page>component:agent:zh#物品栏控制器特性API&noheader&nofooter}} |
- | {{page>component:agent#InventoryWorldController trait API&noheader&nofooter}} | + | #### 流体储罐 |
+ | {{page>component:agent:zh#储罐控制器特性API&noheader&nofooter}} | ||
+ | |||
+ | ====用于外部容器的方法==== | ||
+ | #### 物品容器 | ||
+ | {{page>component:agent:zh#世界物品栏控制器特性API&noheader&nofooter}} | ||
+ | #### 流体储罐 | ||
+ | {{page>component:agent:zh#世界储罐控制器特性API&noheader&nofooter}} | ||
目录 | 目录 | ||
---- | ---- | ||
{{page>component:contents:zh&noheader&noeditbutton&nouser&nofooter}} | {{page>component:contents:zh&noheader&noeditbutton&nouser&nofooter}} |