MCPcopy Create free account

hub / github.com/a1076559139/XForge / functions

Functions1,145 in github.com/a1076559139/XForge

MethodsetSpine
* 设置Spine资源 * @param params.bundle 默认为resources * @param params.path bundle下的相对路径 * * @example * setSpine({target:spine, pat
extensions/app/assets/manager/loader/LoaderManager.ts:328
MethodsetSpine
* 设置Spine资源 * @param params.bundle 默认为resources * @param params.path bundle下的相对路径 * * @example * setSpine({target:spine, pat
extensions/app/assets/manager/loader/LoaderManager.ts:805
MethodsetSprite
* 设置图片资源 * @param path UI的resources目录下的相对路径(必须以/spriteFrame结尾) * * @example * setSprite(sprite, 'img/a/spriteFrame', onComplete:(
extensions/app/assets/base/BaseView.ts:914
MethodsetSprite
(params: { target: Sprite, path?: string, bundle?: string, url?: string, ext?: string, onComplete?: (success:
extensions/app/assets/manager/loader/LoaderManager.ts:357
MethodsetSprite
(params: { target: Sprite, path?: string, bundle?: string, url?: string, ext?: string, onComplete?: (success:
extensions/app/assets/manager/loader/LoaderManager.ts:834
MethodsetTouchEnabled
* 设置是否可点击
extensions/app/assets/base/BaseView.ts:458
MethodsetTouchEnabled
* 设置触摸是否启用 * @param enabled 是否启用
extensions/app/assets/manager/ui/UIManager.ts:1549
MethodsetTransformToolName
* 改变Gizmo的操作工具 * @param name 变换工具名字
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:455
MethodsetUploadToServer
* This would normally be controlled by user preferences. This has no effect if * called before `start` is called. * **Note:** This method i
extensions/app/engine/@types/electron.d.ts:3697
MethodsetUserActivity
* Creates an `NSUserActivity` and sets it as the current activity. The activity is * eligible for Handoff to another device afterward. *
extensions/app/engine/@types/electron.d.ts:1382
MethodsetUserAgent
* Overrides the user agent for the guest page.
extensions/app/engine/@types/electron.d.ts:11520
MethodsetUserDefault
* Set the value of `key` in `NSUserDefaults`. * * Note that `type` should match actual type of `value`. An exception is thrown if * the
extensions/app/engine/@types/electron.d.ts:7912
MethodsetUserTasks
* Adds `tasks` to the Tasks category of the Jump List on Windows. * * `tasks` is an array of `Task` objects. * * Whether the call
extensions/app/engine/@types/electron.d.ts:1395
MethodsetVisualZoomLevelLimits
* Sets the maximum and minimum pinch-to-zoom level. * * > **NOTE**: Visual zoom is disabled by default in Electron. To re-enable it, *
extensions/app/engine/@types/electron.d.ts:10850
MethodsetVisualZoomLevelLimits
* Sets the maximum and minimum pinch-to-zoom level.
extensions/app/engine/@types/electron.d.ts:11524
MethodsetVolumeScale
(scale = 1)
extensions/app/assets/manager/sound/Audio.ts:96
MethodsetWeek
* 设置本周数据 [返回值为false代表调用失败] * @param {Function} cb 当已存在本周的数据时,会根据cb的返回决定是否存储,true代表存储
extensions/app/assets/lib/storage/storage.ts:162
MethodsetZoomFactor
* Changes the zoom factor to the specified factor. Zoom factor is zoom percent * divided by 100, so 300% = 3.0. The factor must be greater than
extensions/app/engine/@types/electron.d.ts:10857
MethodsetZoomFactor
* Changes the zoom factor to the specified factor. Zoom factor is zoom percent * divided by 100, so 300% = 3.0.
extensions/app/engine/@types/electron.d.ts:11529
MethodsetZoomLevel
* Changes the zoom level to the specified level. The original size is 0 and each * increment above or below represents zooming 20% larger or smal
extensions/app/engine/@types/electron.d.ts:10868
MethodsetZoomLevel
* Changes the zoom level to the specified level. The original size is 0 and each * increment above or below represents zooming 20% larger or smal
extensions/app/engine/@types/electron.d.ts:11541
Methodshade
()
extensions/app/assets/base/BaseView.ts:314
Functionshow
()
extensions/app/engine/src/panel/index.ts:15
Methodshow
(data?: any, attr?: IShowParamAttr, onShow?: IShowParamOnShow, onHide?: IShowParamOnHide, beforeShow?: IShowPa
extensions/app/assets/base/BaseView.ts:694
MethodshowAboutPanel
* Show the app's about panel options. These options can be overridden with * `app.setAboutPanelOptions(options)`.
extensions/app/engine/@types/electron.d.ts:1407
MethodshowAsync
* 展示一个UI * - 此流程一定是异步的
extensions/app/assets/manager/ui/UIManager.ts:1334
MethodshowCertificateTrustDialog
* resolves when the certificate trust dialog is shown. * * On macOS, this displays a modal dialog that shows a message and certificate
extensions/app/engine/@types/electron.d.ts:3927
MethodshowDefinitionForSelection
* Shows pop-up dictionary that searches the selected word on the page. * * @platform darwin
extensions/app/engine/@types/electron.d.ts:11547
MethodshowEmojiPanel
* Show the platform's native emoji picker. * * @platform darwin,win32
extensions/app/engine/@types/electron.d.ts:1413
MethodshowErrorBox
* Displays a modal dialog that shows an error message. * * This API can be called safely before the `ready` event the `app` module emits,
extensions/app/engine/@types/electron.d.ts:3954
MethodshowItemInFolder
* Show the given file in a file manager. If possible, select the file.
extensions/app/engine/@types/electron.d.ts:7506
MethodshowMessageBox
* resolves with a promise containing the following properties: * * * `response` Number - The index of the clicked button. * * `checkbox
extensions/app/engine/@types/electron.d.ts:3967
MethodshowMessageBoxSync
* the index of the clicked button. * * Shows a message box, it will block the process until the message box is closed. * It returns the
extensions/app/engine/@types/electron.d.ts:3991
MethodshowMiniViews
* 展示子界面
extensions/app/assets/base/BaseView.ts:532
MethodshowOpenDialog
* Resolve with an object containing the following: * * * `canceled` Boolean - whether or not the dialog was canceled. * * `filePaths` S
extensions/app/engine/@types/electron.d.ts:4028
MethodshowOpenDialogSync
* the file paths chosen by the user; if the dialog is cancelled it returns * `undefined`. * * The `browserWindow` argument allows the d
extensions/app/engine/@types/electron.d.ts:4073
MethodshowSaveDialog
* Resolve with an object containing the following: * * * `canceled` Boolean - whether or not the dialog was canceled. * * `filePath` St
extensions/app/engine/@types/electron.d.ts:4113
MethodshowSaveDialogSync
* the path of the file chosen by the user; if the dialog is cancelled it returns * `undefined`. * * The `browserWindow` argument allows
extensions/app/engine/@types/electron.d.ts:4145
Methodsingleton
()
extensions/app/assets/base/BaseView.ts:255
Methodsize
* 任务数量 * @returns
extensions/app/assets/lib/task/task.ts:36
Methodsize
* 任务数量 * @returns
extensions/app/assets/lib/task/task.ts:186
Methodsize
* 任务数量 * @returns
extensions/app/assets/lib/task/task.ts:337
Methodsize
()
extensions/app/assets/base/BaseControl.ts:19
Methodsize
()
extensions/app/assets/base/BaseController.ts:23
Methodsize
()
extensions/app/assets/manager/ui/comp/UIMgrToast.ts:52
Methodslots
()
extensions/app/vue/types/options.d.ts:140
Methodsnapshot
* 保存一次操作记录
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:281
MethodsoftReloadScene
* 软刷新场景
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:44
Methodspeed
()
extensions/app/assets/manager/ui/comp/UIMgrShade.ts:36
Methodsprite
()
extensions/app/assets/manager/ui/comp/UIMgrShade.ts:47
Functionstart
* [可以重写] 默认start调用startInit,可以重写后自定义时机
extensions/app/assets/base/BaseAppInit.ts:252
Methodstart
* 开始执行所有任务 * @param finish 执行完毕回调 * @returns
extensions/app/assets/lib/task/task.ts:56
Methodstart
* 开始执行所有任务 * @param finish 执行完毕回调 * @returns
extensions/app/assets/lib/task/task.ts:210
Methodstart
* 开始执行所有任务 * @param finish 执行完毕回调 * @returns
extensions/app/assets/lib/task/task.ts:362
Methodstart
* This method must be called before using any other `crashReporter` APIs. Once * initialized this way, the crashpad handler collects crashes from
extensions/app/engine/@types/electron.d.ts:3723
Methodstart
* The blocker ID that is assigned to this power blocker. * * Starts preventing the system from entering lower-power mode. Returns an integer
extensions/app/engine/@types/electron.d.ts:6063
MethodstartAccessingSecurityScopedResource
* This function **must** be called once you have finished accessing the security * scoped file. If you do not remember to stop accessing the book
extensions/app/engine/@types/electron.d.ts:1427
FunctionstartInit
* [避免重写] 开始初始化
extensions/app/assets/base/BaseAppInit.ts:49
MethodstartLogging
* resolves when the net log has begun recording. * Starts recording network events to `path`.
extensions/app/engine/@types/electron.d.ts:5691
MethodstartRecording
* resolved once all child processes have acknowledged the `startRecording` * request. * * Start recording on all processes. *
extensions/app/engine/@types/electron.d.ts:3442
Methodstop
* 停止所有任务 * @returns
extensions/app/assets/lib/task/task.ts:74
Methodstop
* 停止所有任务 * @returns
extensions/app/assets/lib/task/task.ts:234
Methodstop
* 停止所有任务 * @returns
extensions/app/assets/lib/task/task.ts:371
Methodstop
(audioID: number)
extensions/app/assets/manager/sound/AudioEngine.ts:217
Methodstop
()
extensions/app/assets/manager/sound/Audio.ts:60
Methodstop
* Stops the specified power save blocker.
extensions/app/engine/@types/electron.d.ts:6067
Methodstop
* Stops any pending navigation.
extensions/app/engine/@types/electron.d.ts:11551
MethodstopAll
()
extensions/app/assets/manager/sound/AudioEngine.ts:251
MethodstopAllEffects
* 停止所有音效 * @returns
extensions/app/assets/manager/sound/SoundManager.ts:458
MethodstopEffect
* 停止音效 * @param id * @returns
extensions/app/assets/manager/sound/SoundManager.ts:450
MethodstopFindInPage
* Stops any `findInPage` request for the `webview` with the provided `action`.
extensions/app/engine/@types/electron.d.ts:11555
MethodstopLogging
* resolves when the net log has been flushed to disk. * * Stops recording network events. If not called, net logging will automatically
extensions/app/engine/@types/electron.d.ts:5698
MethodstopParticle
* 停止播放选中的粒子 * @param uuid 粒子组件的 uuid
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:734
MethodstopPropagation
(event: EventTouch)
extensions/app/assets/base/BaseView.ts:471
MethodstopPropagation
(event: Event)
extensions/app/assets/manager/ui/UIManager.ts:384
MethodstopRecording
* resolves with a path to a file that contains the traced data once all child * processes have acknowledged the `stopRecording` request *
extensions/app/engine/@types/electron.d.ts:3459
FunctionstringCase
* 将串式命名转成驼峰命名 * @param str 串式字符串 * @param lower 首字母是否小写(默认大写) * @returns
extensions/app/assets/manager/ui/UIManager.ts:136
MethodsubscribeLocalNotification
* The ID of this subscription * * Same as `subscribeNotification`, but uses `NSNotificationCenter` for local * defaults. This is necess
extensions/app/engine/@types/electron.d.ts:7922
MethodsubscribeNotification
* The ID of this subscription * * Subscribes to native notifications of macOS, `callback` will be called with * `callback(event, userIn
extensions/app/engine/@types/electron.d.ts:7945
MethodsubscribeWorkspaceNotification
* The ID of this subscription * * Same as `subscribeNotification`, but uses * `NSWorkspace.sharedWorkspace.notificationCenter`. This is
extensions/app/engine/@types/electron.d.ts:7955
Methodsuccess
* 用于输出成功信息
extensions/app/assets/lib/logger/logger.ts:70
MethodsysMgrCount
* 框架内置Manager的数量 * @private
extensions/app/assets/base/BaseManager.ts:188
MethodtakeHeapSnapshot
* Indicates whether the snapshot has been created successfully. * Takes a V8 heap snapshot and saves it to `filePath`.
extensions/app/engine/@types/electron.d.ts:15984
MethodtargetOff
(target: any)
extensions/app/assets/Core.ts:131
MethodtargetOff
(target?: unknown)
extensions/app/assets/base/BaseControl.ts:99
MethodtargetOff
(target: any)
extensions/app/assets/base/BaseControl.ts:159
MethodtargetOff
(target?: unknown)
extensions/app/assets/base/BaseController.ts:103
MethodtargetOff
(target: any)
extensions/app/assets/base/BaseController.ts:164
MethodtargetOffUserInterface
* 在2DUI根节点上处理事件
extensions/app/assets/manager/ui/UIManager.ts:1584
MethodtextInfo
()
extensions/app/engine/@types/packages/localization-editor/@types/intl/index.d.ts:109
MethodtrashItem
* Resolves when the operation has been completed. Rejects if there was an error * while deleting the requested item. * * This moves a p
extensions/app/engine/@types/electron.d.ts:7514
MethodtypeName
* 类型名字, 如PageHome => Page
extensions/app/assets/base/BaseView.ts:383
Methodundo
* Executes editing command `undo` in page.
extensions/app/engine/@types/electron.d.ts:11559
Methodundo
* 撤销一次操作记录
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:291
MethoduninterceptProtocol
* Whether the protocol was successfully unintercepted * Remove the interceptor installed for `scheme` and restore its original handler.
extensions/app/engine/@types/electron.d.ts:6367
MethodunlinkPrefab
(nodeUuid: string, removeNested: boolean)
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:692
Functionunload
()
extensions/app/engine/src/scene.ts:6
Functionunload
()
extensions/app/engine/src/main.ts:566
Functionunobservable
(owner: unknown, callback?: Function)
extensions/app/assets/lib/debug/debug.ts:23
Methodunregister
* 取消定时器 * @param callback * @param target
extensions/app/assets/manager/timer/TimerManager.ts:141
← previousnext →1,001–1,100 of 1,145, ranked by callers