Commit 67d73ad1 authored by haiyoucuv's avatar haiyoucuv

init

parent e6cbff6f
{"ver":"1.2.0","importer":"directory","imported":true,"uuid":"0fb560f4-2a23-4e45-a0b8-487e45f4e585","files":[],"subMetas":{},"userData":{"isBundle":true}}
This diff is collapsed.
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "862cb80a-d17c-46c5-ab4b-02874ee2915e",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "OpenLuckyPanel"
}
}
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "281b3728-da7b-4249-aca7-2727cbe7a868",
"files": [],
"subMetas": {},
"userData": {}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "a2682367-47f0-4766-9086-ef3276d50cfc",
"files": [
".jpg",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "a2682367-47f0-4766-9086-ef3276d50cfc@6c48a",
"displayName": "bg",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "a2682367-47f0-4766-9086-ef3276d50cfc",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "a2682367-47f0-4766-9086-ef3276d50cfc@f9941",
"displayName": "bg",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1624,
"height": 750,
"rawWidth": 1624,
"rawHeight": 750,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-812,
-375,
0,
812,
-375,
0,
-812,
375,
0,
812,
375,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
750,
1624,
750,
0,
0,
1624,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-812,
-375,
0
],
"maxPos": [
812,
375,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "a2682367-47f0-4766-9086-ef3276d50cfc@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": false,
"fixAlphaTransparencyArtifacts": false,
"redirect": "a2682367-47f0-4766-9086-ef3276d50cfc@6c48a"
}
}
{"ver":"1.2.0","importer":"directory","imported":true,"uuid":"8df59efa-2d0d-44f6-8931-1743aa66cd80","files":[],"subMetas":{},"userData":{}}
{
"ver": "1.0.8",
"importer": "auto-atlas",
"imported": true,
"uuid": "b5b15748-64af-423e-ba6b-a24f18f70004",
"files": [
".json"
],
"subMetas": {},
"userData": {
"maxWidth": 2048,
"maxHeight": 2048,
"padding": 2,
"allowRotation": true,
"forceSquared": false,
"powerOfTwo": false,
"algorithm": "MaxRects",
"format": "png",
"quality": 80,
"contourBleed": true,
"paddingBleed": true,
"filterUnused": false,
"removeTextureInBundle": true,
"removeImageInBundle": true,
"removeSpriteAtlasInBundle": true,
"compressSettings": {},
"textureSetting": {
"wrapModeS": "repeat",
"wrapModeT": "repeat",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
}
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "a29ee445-fb60-49eb-b22f-1888690aa391",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "a29ee445-fb60-49eb-b22f-1888690aa391@6c48a",
"displayName": "diamond",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "a29ee445-fb60-49eb-b22f-1888690aa391",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "a29ee445-fb60-49eb-b22f-1888690aa391@f9941",
"displayName": "diamond",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 389,
"height": 451,
"rawWidth": 389,
"rawHeight": 451,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-194.5,
-225.5,
0,
194.5,
-225.5,
0,
-194.5,
225.5,
0,
194.5,
225.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
451,
389,
451,
0,
0,
389,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-194.5,
-225.5,
0
],
"maxPos": [
194.5,
225.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "a29ee445-fb60-49eb-b22f-1888690aa391@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "a29ee445-fb60-49eb-b22f-1888690aa391@6c48a"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "888a14ee-95f9-40fc-b06e-f7f4ae4a228b",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "888a14ee-95f9-40fc-b06e-f7f4ae4a228b@6c48a",
"displayName": "five_btn",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "888a14ee-95f9-40fc-b06e-f7f4ae4a228b",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "888a14ee-95f9-40fc-b06e-f7f4ae4a228b@f9941",
"displayName": "five_btn",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 240,
"height": 88,
"rawWidth": 240,
"rawHeight": 88,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-120,
-44,
0,
120,
-44,
0,
-120,
44,
0,
120,
44,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
88,
240,
88,
0,
0,
240,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-120,
-44,
0
],
"maxPos": [
120,
44,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "888a14ee-95f9-40fc-b06e-f7f4ae4a228b@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "888a14ee-95f9-40fc-b06e-f7f4ae4a228b@6c48a"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "ec4feeb0-970f-4c53-a438-8d8ce4d3bc59",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "ec4feeb0-970f-4c53-a438-8d8ce4d3bc59@6c48a",
"displayName": "gold",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "ec4feeb0-970f-4c53-a438-8d8ce4d3bc59",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "ec4feeb0-970f-4c53-a438-8d8ce4d3bc59@f9941",
"displayName": "gold",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 370,
"height": 433,
"rawWidth": 370,
"rawHeight": 433,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-185,
-216.5,
0,
185,
-216.5,
0,
-185,
216.5,
0,
185,
216.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
433,
370,
433,
0,
0,
370,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-185,
-216.5,
0
],
"maxPos": [
185,
216.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "ec4feeb0-970f-4c53-a438-8d8ce4d3bc59@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "ec4feeb0-970f-4c53-a438-8d8ce4d3bc59@6c48a"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "38a5f137-ebeb-428c-923a-f76aec12cfc4",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "38a5f137-ebeb-428c-923a-f76aec12cfc4@6c48a",
"displayName": "one_btn",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "38a5f137-ebeb-428c-923a-f76aec12cfc4",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "38a5f137-ebeb-428c-923a-f76aec12cfc4@f9941",
"displayName": "one_btn",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 240,
"height": 88,
"rawWidth": 240,
"rawHeight": 88,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-120,
-44,
0,
120,
-44,
0,
-120,
44,
0,
120,
44,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
88,
240,
88,
0,
0,
240,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-120,
-44,
0
],
"maxPos": [
120,
44,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "38a5f137-ebeb-428c-923a-f76aec12cfc4@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "38a5f137-ebeb-428c-923a-f76aec12cfc4@6c48a"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "406a705b-d498-412a-8326-3fd42feafd7e",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "406a705b-d498-412a-8326-3fd42feafd7e@6c48a",
"displayName": "open",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "406a705b-d498-412a-8326-3fd42feafd7e",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "406a705b-d498-412a-8326-3fd42feafd7e@f9941",
"displayName": "open",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 240,
"height": 88,
"rawWidth": 240,
"rawHeight": 88,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-120,
-44,
0,
120,
-44,
0,
-120,
44,
0,
120,
44,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
88,
240,
88,
0,
0,
240,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-120,
-44,
0
],
"maxPos": [
120,
44,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "406a705b-d498-412a-8326-3fd42feafd7e@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "406a705b-d498-412a-8326-3fd42feafd7e@6c48a"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "298ae8cb-2eb1-4e24-b835-1880c0187b46",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "298ae8cb-2eb1-4e24-b835-1880c0187b46@6c48a",
"displayName": "sliver",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "298ae8cb-2eb1-4e24-b835-1880c0187b46",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "298ae8cb-2eb1-4e24-b835-1880c0187b46@f9941",
"displayName": "sliver",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 370,
"height": 394,
"rawWidth": 370,
"rawHeight": 394,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-185,
-197,
0,
185,
-197,
0,
-185,
197,
0,
185,
197,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
394,
370,
394,
0,
0,
370,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-185,
-197,
0
],
"maxPos": [
185,
197,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "298ae8cb-2eb1-4e24-b835-1880c0187b46@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "298ae8cb-2eb1-4e24-b835-1880c0187b46@6c48a"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "5cba4ce7-1a42-4fc2-9b13-5009ef47d3b1",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "5cba4ce7-1a42-4fc2-9b13-5009ef47d3b1@6c48a",
"displayName": "think",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "5cba4ce7-1a42-4fc2-9b13-5009ef47d3b1",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "5cba4ce7-1a42-4fc2-9b13-5009ef47d3b1@f9941",
"displayName": "think",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 240,
"height": 88,
"rawWidth": 240,
"rawHeight": 88,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-120,
-44,
0,
120,
-44,
0,
-120,
44,
0,
120,
44,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
88,
240,
88,
0,
0,
240,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-120,
-44,
0
],
"maxPos": [
120,
44,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "5cba4ce7-1a42-4fc2-9b13-5009ef47d3b1@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "5cba4ce7-1a42-4fc2-9b13-5009ef47d3b1@6c48a"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "53cef085-d40e-4dae-9de7-5ec418a8d99a",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "53cef085-d40e-4dae-9de7-5ec418a8d99a@6c48a",
"displayName": "x5",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "53cef085-d40e-4dae-9de7-5ec418a8d99a",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "53cef085-d40e-4dae-9de7-5ec418a8d99a@f9941",
"displayName": "x5",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 84,
"height": 84,
"rawWidth": 84,
"rawHeight": 84,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-42,
-42,
0,
42,
-42,
0,
-42,
42,
0,
42,
42,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
84,
84,
84,
0,
0,
84,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-42,
-42,
0
],
"maxPos": [
42,
42,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "53cef085-d40e-4dae-9de7-5ec418a8d99a@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "53cef085-d40e-4dae-9de7-5ec418a8d99a@6c48a"
}
}
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "fa6f5230-97d1-4e00-8f84-c5d4bf7d510b",
"files": [],
"subMetas": {},
"userData": {}
}
{"ver":"1.0.0","importer":"*","imported":true,"uuid":"d8db21e4-8237-4d18-8afe-8e460175b323","files":[".json",".svga"],"subMetas":{},"userData":{}}
import Panel from "../../Module/Panel";
import { _decorator, Button, Node, Sprite, Label, SpriteFrame } from "cc";
import { observer } from "../store/decorators";
import { hidePanel, showPanel } from "db://assets/Module/UIFast";
import { sendWebNetWithToken, WebNetName } from "db://assets/Scripts/Utils/WebNet/WebNet";
import GetPrize from "db://assets/Scripts/Panels/GetPrize";
const { ccclass, property } = _decorator;
@observer
@ccclass("OpenLuckyPanel")
export default class OpenLuckyPanel extends Panel {
static bundle = "OpenLuckyPanel";
static skin = "OpenLuckyPanel";
@property(Node) open: Node = null;
@property(Node) cancel: Node = null;
@property(Node) bag: Node = null;
@property(Node) x5: Node = null;
@property(SpriteFrame) sliverBag: SpriteFrame = null;
@property(SpriteFrame) goldBag: SpriteFrame = null;
@property(SpriteFrame) diamondBag: SpriteFrame = null;
onLoad() {
this.open.on(Button.EventType.CLICK, this.clickOpen);
this.cancel.on(Button.EventType.CLICK, this.clickCancel);
}
start() {
const { type, num = 1 } = this.data;
this.bag.getComponent(Sprite).spriteFrame = {
"sliver": this.sliverBag,
"gold": this.goldBag,
"diamond": this.diamondBag,
}[type] || this.sliverBag;
this.x5.active = num == 5;
}
async clickOpen() {
const { type, num } = this.data;
const drawType = {
"sliver": 1,
"gold": 2,
"diamond": 3,
}[type];
const { success, data } = await sendWebNetWithToken(WebNetName.bagExchange, {
drawType,
drawCount: num,
});
if (!success) {
this.hidePanel();
return;
}
showPanel(GetPrize, data.prizeVOList);
}
clickCancel() {
this.hidePanel();
}
}
{"ver":"4.0.24","importer":"typescript","imported":true,"uuid":"16727cdf-dae6-4d93-ab87-02bb43881ad3","files":[],"subMetas":{},"userData":{}}
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "dd608f35-c09e-4a17-8580-17aa35650bce",
"files": [],
"subMetas": {},
"userData": {}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment