mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-04-30 03:03:24 +08:00
82 lines
2.7 KiB
Markdown
82 lines
2.7 KiB
Markdown
# API 列表
|
|
|
|
新样板的所有 API 列表(不包括插件和第三方库)
|
|
|
|
## 系统 API
|
|
|
|
- [`Mota.require`](./system.md#require)
|
|
- [`Mota.requireAll`](./system.md#requireall)
|
|
- [`Mota.rewrite`](./system.md#rewrite)
|
|
- [`Mota.r`](./system.md#r)
|
|
- [`Mota.rf`](./system.md#rf)
|
|
- [`Mota.Plugin`](./system.md#plugin)
|
|
- [`Mota.Package`](./system.md#package)
|
|
|
|
## 类
|
|
|
|
- [`EventEmitter`](./class/event-emitter.md)
|
|
- [`IndexedEventEmitter`](./class/indexed-event-emitter.md)
|
|
- [`Disposable`](./class/disposable.md)
|
|
- [`GameStorage`](./class/game-storage.md)
|
|
- [`MotaSetting`](./class/mota-setting.md)
|
|
- [`SettingDisplayer`](./class/setting-displayer.md)
|
|
- [`Focus`](./class/focus.md)
|
|
- [`GameUi`](./class/game-ui.md)
|
|
- [`UiController`](./class/ui-controller.md)
|
|
- [`Hotkey`](./class/hotkey.md)
|
|
- [`Keyboard`](./class/keyboard.md)
|
|
- [`CustomToolbar`](./class/custom-toolbar.md)
|
|
- [`AudioPlayer`](./class/audio-player.md)
|
|
- [`SoundEffect`](./class/sound-effect.md)
|
|
- [`SoundController`](./class/sound-controller.md)
|
|
- [`BgmController`](./class/bgm-controller.md)
|
|
- [`ResourceController`](./class/resource-controller.md)
|
|
- [`MComponent`](./class/m-component.md)
|
|
- [`Range`](./class/range.md)
|
|
- [`EnemyCollection`](./class/enemy-collection.md)
|
|
- [`DamageEnemy`](./class/damage-enemy.md)
|
|
|
|
## 函数
|
|
|
|
- [`getHeroStatusOn`](./function#getherostatuson)
|
|
- [`getHeroStatusOf`](./function#getherostatusof)
|
|
- [`getEnemy`](./function#getenemy)
|
|
- [`m`](./function#m)
|
|
- [`unwrapBinary`](./function#unwrapbinary)
|
|
- [`checkAssist`](./function#checkassist)
|
|
- [`isAssist`](./function#isassist)
|
|
- [`generateKeyboardEvent`](./function#generatekeyboardevent)
|
|
- [`addAnimate`](./function#addanimate)
|
|
- [`removeAnimate`](./function#removeanimate)
|
|
|
|
## 变量
|
|
|
|
- [`loading`](./var#loading)
|
|
- [`hook`](./var#hook)
|
|
- [`gameListener`](./var#gamelistener)
|
|
- [`mainSetting`](./var#mainsetting)
|
|
- [`gameKey`](./var#gamekey)
|
|
- [`mainUi`](./var#mainui)
|
|
- [`fixedUi`](./var#fixedui)
|
|
- [`KeyCode`](./var#keycode)
|
|
- [`ScanCode`](./var#scancode)
|
|
- [`bgm`](./var#bgm)
|
|
- [`sound`](./var#sound)
|
|
- [`settingStorage`](./var#settingstorage)
|
|
- [`status`](./var#status)
|
|
- [`enemySpecials`](./var#enemyspecials)
|
|
|
|
## 模块
|
|
|
|
- [`CustomComponents`](./module/custom-components.md)
|
|
- [`Use`](./module/use.md)
|
|
- [`Mark`](./module/mark.md)
|
|
- [`KeyCodes`](./module/key-codes.md)
|
|
- [`UITools`](./module/ui-tools.md)
|
|
- [`Damage`](./module/damage.md)
|
|
- [`UI`](./module/ui.md)
|
|
- [`UIComponents`](./module/ui-components.md)
|
|
- [`MCGenerator`](./module/mc-generator.md)
|
|
- [`RenderUtils](./module/render-utils.md)
|
|
- [`MiscComponents`](./module/misc-components.md)
|