Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
component:chunkloader:zh [2023/10/21 16:42]
hfsr created
component:chunkloader:zh [2023/10/21 16:47]
hfsr [Component: Chunkloader]
Line 1: Line 1:
-Component: Chunkloader+组件:区块加载器
 ==================== ====================
-This component is provided by the [[item:​chunkloader_upgrade|chunkloader upgrade]].+此组件由[[item:​chunkloader_upgrade:zh|区块载入升级]]提供。
  
-Component name: `chunkloader`.  ​ +组件名:`chunkloader` 
-Callbacks:+ 
 +回调函数:
  
 - `isActive():​boolean`  ​ - `isActive():​boolean`  ​
-  ​Returns whether the chunkloader is currently active.+  ​返回区块加载器当前是否激活。
 - `setActive(enabled:​boolean):​boolean`  ​ - `setActive(enabled:​boolean):​boolean`  ​
-  ​Enables or disables the chunkloader. Returns the new state, which may be false if no chunk loading ticket ​could be acquired.+  ​启用或停用区块加载器。返回新的状态,无法获取到chunk loading ticket时可能会返回false。
  
 +目录
 ---- ----
  
-{{page>​component:​contents&​noheader&​noeditbutton&​nouser&​nofooter}}+{{page>​component:​contents:zh&​noheader&​noeditbutton&​nouser&​nofooter}}