cocos-engine
cocos-engine copied to clipboard
support dispatching event on native platform
Re: #
Changelog
Continuous Integration
This pull request:
- [ ] needs automatic test cases check.
Manual trigger with
@cocos-robot run test casesafterward. - [ ] does not change any runtime related code or build configuration
If any reviewer thinks the CI checks are needed, please uncheck this option, then close and reopen the issue.
Compatibility Check
This pull request:
- [ ] changes public API, and have ensured backward compatibility with deprecated features.
- [ ] affects platform compatibility, e.g. system version, browser version, platform sdk version, platform toolchain, language version, hardware compatibility etc.
- [ ] affects file structure of the build package or build configuration which requires user project upgrade.
- [ ] introduces breaking changes, please list all changes, affected features and the scope of violation.
Interface Check Report
! WARNING this pull request has changed these public interfaces:
@@ -28925,9 +28925,9 @@
/**
* @param eventType - The type of the event
* @param bubbles - Indicate whether the event bubbles up through the hierarchy or not.
*/
- constructor(eventType: __private._cocos_input_types_event_enum__SystemEventTypeUnion, bubbles?: boolean, prevLoc?: math.Vec2);
+ constructor(eventType: __private._cocos_input_types_event_enum__SystemEventTypeUnion, bubbles?: boolean, prevLoc?: math.Vec2, windowId?: number);
/**
* @en Sets scroll data of the mouse.
* @zh 设置鼠标滚轮的滚动数据。
* @param scrollX - The scroll value on x axis
@PPpro, Please check the result of run test cases:
- Test Platform: macOS
- Editor Version: V3.7.0-20221108-f21439b
- Task Result: FAIL
- Task URL: http://lan-jenkins.cocos.org/job/CocosGitHub/job/PR_Action/job/mac/1187/
- GitHub Action: https://github.com/cocos/cocos-engine/actions/runs/3433126967
Task Details
| Platform | build | runned | result | crashScene | FailScene |
|---|---|---|---|---|---|
| ios_release | PASS | PASS | FAIL | single-compress | compressWithGray |
| Mac_debug | PASS | PASS | PASS | NA | |
| WebMobile_debug | PASS | PASS | FAIL | NA | compressWithGray,single-compress |
@PPpro, Please check the result of run test cases:
- Test Platform: Windows
- Editor Version: V3.7.0-20221108-f21439b
- Task Result: FAIL
- Task URL: http://lan-jenkins.cocos.org/job/CocosGitHub/job/PR_Action/job/windows/1278/
- GitHub Action: https://github.com/cocos/cocos-engine/actions/runs/3433126967
Task Details
| Platform | build | runned | result | crashScene | FailScene |
|---|---|---|---|---|---|
| WebDesktop_release | PASS | PASS | PASS | NA | |
| WebMobile_release | PASS | PASS | PASS | NA | |
| Win32_release | PASS | PASS | PASS | NA | |
| Android_debug | PASS | PASS | FAIL | NA | Hexa |
自动化测试结果是已知问题