-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix #17484: 修复tsx文件对象层自定义属性读取错误 #17641
Merged
minggo
merged 6 commits into
cocos:v3.8.5
from
Jerry457:v3.8.5-tiledmap-object-properties
Sep 18, 2024
Merged
fix #17484: 修复tsx文件对象层自定义属性读取错误 #17641
minggo
merged 6 commits into
cocos:v3.8.5
from
Jerry457:v3.8.5-tiledmap-object-properties
Sep 18, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Interface Check Report! WARNING this pull request has changed these public interfaces:
@@ -69415,9 +69415,8 @@
constructor();
getIndexData(k: _cocos_terrain_terrain_lod__TerrainLodKey): _cocos_terrain_terrain_lod__TerrainIndexData | null;
}
export type _cocos_tiledmap_tiled_types__GID = number;
- export type _cocos_tiledmap_tiled_types__MixedGID = number;
/**
* Size in pixels of the image
* @property {cc.Size} imageSize
*/
@@ -69464,9 +69463,9 @@
imageSize: math.Size;
tileOffset: math.Vec2;
_tileSize: math.Size;
collection: boolean;
- rectForGID(gid_: _cocos_tiledmap_tiled_types__MixedGID | _cocos_tiledmap_tiled_types__GID, result?: _cocos_tiledmap_tiled_types__TiledGrid): math.Rect | _cocos_tiledmap_tiled_types__TiledGrid;
+ rectForGID(gid_: number, result?: _cocos_tiledmap_tiled_types__TiledGrid): math.Rect | _cocos_tiledmap_tiled_types__TiledGrid;
}
export interface _cocos_tiledmap_tiled_types__TiledGrid {
tileset: _cocos_tiledmap_tiled_types__TMXTilesetInfo;
x: number;
@@ -69519,11 +69518,11 @@
export interface _cocos_tiledmap_tiled_map__ImageExtendedNode extends Node {
layerInfo: _cocos_tiledmap_tiled_types__TMXImageLayerInfo;
_offset: math.Vec2;
}
- export type _cocos_tiledmap_tiled_types__PropertiesInfo = {
+ export interface _cocos_tiledmap_tiled_types__PropertiesInfo {
[key: string]: number | string;
- };
+ }
/**
* @en The orientation of tiled map.
* @zh Tiled Map 地图方向。
* @enum TiledMap.Orientation
@@ -69554,8 +69553,9 @@
* @static
*/
ISO = 2
}
+ export type _cocos_tiledmap_tiled_types__MixedGID = number;
/**
* @en The render order of tiled map.
* @zh 地图的渲染顺序
* @enum TiledMap.RenderOrder
@@ -69631,8 +69631,9 @@
*/
TEXT = 5
}
export interface _cocos_tiledmap_tiled_types__TMXObject {
+ properties: _cocos_tiledmap_tiled_types__PropertiesInfo;
id: number | string;
name: string;
width: number;
height: number;
|
qiuguohua
reviewed
Sep 18, 2024
@cocos-robot run test cases |
@Jerry457, Please check the result of
Task Details
|
@Jerry457, Please check the result of
Task Details
|
@cocos-robot run test cases |
@Jerry457, Please check the result of
Task Details
|
@Jerry457, Please check the result of
Task Details
|
qiuguohua
approved these changes
Sep 18, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.