Compare commits
No commits in common. "master" and "v0.0.97" have entirely different histories.
@ -19,9 +19,7 @@ jobs:
|
||||
echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
|
||||
- name: npm i
|
||||
run: |
|
||||
echo 'npm i'
|
||||
npm i
|
||||
echo "✅ npm i done"
|
||||
- name: build
|
||||
run: |
|
||||
echo 'build'
|
||||
|
||||
@ -2297,7 +2297,7 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "b2TwwhnxJH76Y+/zSWtZSA"
|
||||
"fileId": "474untOCpHWY6Qj2uP19E4"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
@ -2307,7 +2307,7 @@
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "52GkHtN/5AS7JAYzyjxbvh",
|
||||
"fileId": "efzaF4hS1OAbEp9UxbQNhx",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
@ -2338,7 +2338,7 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "f0saoipZVPOLhV1PCaWIGX"
|
||||
"fileId": "48ofa//m5Hf4E8JhtCsk6+"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
@ -2348,7 +2348,7 @@
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "a6QQ1UTPhNN4/aa8jgVZeu",
|
||||
"fileId": "27o3j6IIJG24V0Xxad//zY",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
@ -2379,7 +2379,7 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "d8Mt8viIVHw77SmyJfHbTR"
|
||||
"fileId": "e3b34tMDpOZoJpCyhYo3RW"
|
||||
},
|
||||
{
|
||||
"__type__": "5fc10Zl7lVO97/rr2J1uxWH",
|
||||
@ -2403,7 +2403,7 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "32hABGX/dEDoc6s+1MmJ59"
|
||||
"fileId": "5fdQKnOjZAh4VEnOf1rEO5"
|
||||
},
|
||||
{
|
||||
"__type__": "5fd13+Xa69CZogb3Q/F1lnC",
|
||||
@ -2576,7 +2576,7 @@
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "4aILCnwlBDB7hGZd2Ynl+M",
|
||||
"fileId": "3dG9T9DNxNB6z8vPiZ8WS5",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
@ -2601,7 +2601,7 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "0bV0tfQhRMN6d7H0ibKbjU"
|
||||
"fileId": "f9xc4vttJF+ZiFoGNX8W3t"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.UITransform",
|
||||
@ -2629,7 +2629,7 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "87cTvkTYVGTqO1G0zeapjf"
|
||||
"fileId": "9c05WFWAhONaMyr+/E7Shc"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Sprite",
|
||||
@ -2674,7 +2674,7 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "44VLxjV9lNEKL7m6QiTsDE"
|
||||
"fileId": "e8LlRd5StJW42FsulkvBfH"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
@ -2684,7 +2684,7 @@
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "c4E9QiWNFDkqphtp7wZDOk",
|
||||
"fileId": "bbBbOyMFZKXp7bHe6sD0It",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
@ -2939,7 +2939,7 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "0fboYHWHZNWIUbXhqazPsq"
|
||||
"fileId": "7cgElNnmNLbrQo6qMPvX6X"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
@ -2949,7 +2949,7 @@
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "13+ILSCshI/5ip7LS5/6gd",
|
||||
"fileId": "e3+r0W1kJL+I68GTF4669l",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
@ -2980,7 +2980,7 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "643B7cb2NAR7lSwMKp1GZj"
|
||||
"fileId": "289bKoj6dKKoydIRLpWT8a"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
@ -2990,7 +2990,7 @@
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "f1CeTHGZFMWbdUk44tM+2T",
|
||||
"fileId": "02JiBil/VJxLFib+gJ/Hn2",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
@ -3021,7 +3021,7 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "0faSbheTdNAbTHKkVHN7R9"
|
||||
"fileId": "baLsYJmt1M/oVztDdO2+37"
|
||||
},
|
||||
{
|
||||
"__type__": "45522uB1sdFu4FJAojtnha4",
|
||||
@ -3045,7 +3045,7 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "49BAFjRzlEg4a5w9VAFU5X"
|
||||
"fileId": "60/LhqfK5BfqSpHK4P9aGn"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
@ -3055,7 +3055,7 @@
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "56ysntvhREJaKGOpDwJobF",
|
||||
"fileId": "b7zQXb/W5BZYX1enrfDh9g",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
@ -3238,7 +3238,7 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "7e2ZjFsqBFP5cCRxgtmf+t"
|
||||
"fileId": "efX7nb1KxBN6kTlecwmxyQ"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
@ -3248,7 +3248,7 @@
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "d5i0MG52hKvZuSU8d8vmXq",
|
||||
"fileId": "20ADiwKhFChbm2P2F0w9Il",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
@ -3279,7 +3279,7 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "05jh2EoupN2aPTiwaWTAjx"
|
||||
"fileId": "897kQAzwdGuoFpmt9LgaS/"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
@ -3289,7 +3289,7 @@
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "a63qbKtfhIhpSE30CtElEi",
|
||||
"fileId": "51JVTg3FlN5oHObig3RB8A",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
@ -3320,7 +3320,7 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "d8zY+1i6FEZ6El4yQMl12s"
|
||||
"fileId": "ebRabvFaFK3ZgnED8umlfE"
|
||||
},
|
||||
{
|
||||
"__type__": "45522uB1sdFu4FJAojtnha4",
|
||||
@ -3344,7 +3344,7 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "a9L2Yr7FNKaLtD/OeYJdpl"
|
||||
"fileId": "25+Xa+ULpMMo9e4vyjjf8e"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
@ -3354,7 +3354,7 @@
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "73VyHT/BRFkZ59ltUPthmo",
|
||||
"fileId": "9ftuR3BMlMJL4Mg5nRqDXc",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
@ -3537,7 +3537,7 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "7bSXs34xBDiasIy27NQf9m"
|
||||
"fileId": "4atuG87wZMwrdJtBXBFg+m"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
@ -3547,7 +3547,7 @@
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "dcW1sfkKZFx6jT6RDiJ27s",
|
||||
"fileId": "2ctdSV8FdIJbEpemj2MuxK",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
@ -3578,7 +3578,7 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "0cNAqyRLRKUpmCNuxqJwEb"
|
||||
"fileId": "c0nsk6VwdFv5Nwtf1XNEeL"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
@ -3588,7 +3588,7 @@
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "fbN+xzJFhCn5xAwb6MbqzN",
|
||||
"fileId": "74Uk3fo/1BXLTkUB5LA0ZL",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
@ -3619,7 +3619,7 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "d7NfPm6CtPYYeTTMWVRPil"
|
||||
"fileId": "00Pb8xjclHJ4J5ruWvAJd0"
|
||||
},
|
||||
{
|
||||
"__type__": "45522uB1sdFu4FJAojtnha4",
|
||||
@ -3643,7 +3643,7 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "12uERD9oNHXLN9QrvPgXI6"
|
||||
"fileId": "c3mWpw8yBFOpOBYK/oJwlf"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
@ -3653,7 +3653,7 @@
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "43HdYUNGFN86ZboSc/0emO",
|
||||
"fileId": "154TYNxAVOR7ivZexIoW8U",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
@ -3836,7 +3836,7 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "4eCAoMvatGC5vK27lyKCm9"
|
||||
"fileId": "a9PsnIsy5NLZskGkfMRJs9"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
@ -3846,7 +3846,7 @@
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "20Mznl3ANNTbhTvg/jwte8",
|
||||
"fileId": "2eSknPaLxFFYWmAOdxXU8p",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
@ -3877,7 +3877,7 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "a22g2vYFpMMJ8r4Ihp9CXm"
|
||||
"fileId": "94MCkleqpKOY12qL5k2+N8"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
@ -3887,7 +3887,7 @@
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "36uPaDpHBEp5H4i69oODPH",
|
||||
"fileId": "50PK2GHFBPjqhgxoWTU/2r",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
@ -3918,7 +3918,7 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "ecY/RLiy9KXrOob/Nm1LuB"
|
||||
"fileId": "e9eDfNpyhCH5XstQIJ/OUz"
|
||||
},
|
||||
{
|
||||
"__type__": "45522uB1sdFu4FJAojtnha4",
|
||||
@ -3942,7 +3942,7 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "2a35GyhtZAgZ9DjzSY8bgq"
|
||||
"fileId": "08HhZYarpCwoZ9SmvwHyOI"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
@ -3952,7 +3952,7 @@
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "5eF6boi/BMpLeWgJjsEg9V",
|
||||
"fileId": "d7ES3kyGVE45RBIjyAxdo/",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
@ -4135,7 +4135,7 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "66/tk+89dDZa5IofR0CBit"
|
||||
"fileId": "49KFheyEpFk7j4ya66hie6"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
@ -4145,7 +4145,7 @@
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "b1Kt8U6O1Llb5RFWfQkqpv",
|
||||
"fileId": "2aMr/tAZ5CV6d4qvKHSwQI",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
@ -4176,7 +4176,7 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "13g74ECRNNKKl4iJWvGR4L"
|
||||
"fileId": "929eWEal9M85LSGHGEywvv"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
@ -4186,7 +4186,7 @@
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "276uwfYadGr4oCfabcgeOZ",
|
||||
"fileId": "f3tU5ZHclMkKnQ3/XZY4tU",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
@ -4217,7 +4217,7 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "fdhSoyjL1F3o1b4i8zFb70"
|
||||
"fileId": "2d8sr8UA5I1K3OiBNtBSXY"
|
||||
},
|
||||
{
|
||||
"__type__": "45522uB1sdFu4FJAojtnha4",
|
||||
@ -4241,7 +4241,7 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "26W0VFH9xEQozypOHq0Ug5"
|
||||
"fileId": "34H87vDfdN7Z5hiGu7bjqZ"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
@ -4251,7 +4251,7 @@
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "25KpT/kApLa6PlKB4IhT5H",
|
||||
"fileId": "ff+cG5ZfxAzaQAURuv01xe",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
@ -4434,7 +4434,7 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "e5KNNooddLGZiH55QvncHW"
|
||||
"fileId": "70cqz67q5A6bJsQryZ4Hx/"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
@ -4444,7 +4444,7 @@
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "dakDWuNY1ADIHfiLJm8UJW",
|
||||
"fileId": "4akmLWGeBMaaibtkhRlmgv",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
@ -4475,7 +4475,7 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "24McWfMrJLcqxUKt9UGpHf"
|
||||
"fileId": "9amAXvlCtDmpEeuhJmTneh"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
@ -4485,7 +4485,7 @@
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "55AiyhpyFMM4/5T7WaMbkT",
|
||||
"fileId": "17XhDfV3hJnLs0XiJirgCs",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
@ -4516,7 +4516,7 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "30oNT/7VZO2Ld7qaYmCHuj"
|
||||
"fileId": "c2ntGmdxJK1oi60EitYG/S"
|
||||
},
|
||||
{
|
||||
"__type__": "45522uB1sdFu4FJAojtnha4",
|
||||
@ -4540,7 +4540,7 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "eesfDh+utHbrgPkQrRt/EV"
|
||||
"fileId": "d5TH2t/gVMAINUEpnOn8r5"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
@ -4550,7 +4550,7 @@
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "bdHyNoSK5Bp5cfTzLh9Zth",
|
||||
"fileId": "9bj0pPQpNBMJxXrqKjLL84",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
@ -4575,7 +4575,7 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "d3Xjj6HBREYZO7V1V0hQqx"
|
||||
"fileId": "24OGdcXuxEwo5lQTl47pAy"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.UITransform",
|
||||
@ -4603,7 +4603,7 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "bb7+UzFSVNAarmXtxfafsl"
|
||||
"fileId": "f019yzablDZLKsgsLi4UUu"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Sprite",
|
||||
@ -4648,7 +4648,7 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "f6faqNpQ5J37X70yyvgg4k"
|
||||
"fileId": "60DBhD8shFl6Ld7QWyLMR+"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
@ -4658,7 +4658,7 @@
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "7dWyDbhk5Jc7rcq3h2kWJH",
|
||||
"fileId": "1bXEry42BMFouw5k3TWaG+",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
@ -23820,9 +23820,6 @@
|
||||
"__uuid__": "257442c9-fc68-435b-8fef-6c448a2d8885",
|
||||
"__expectedType__": "cc.Prefab"
|
||||
},
|
||||
"slotGame": {
|
||||
"__id__": 548
|
||||
},
|
||||
"tipSmall_turbo": {
|
||||
"__id__": 1021
|
||||
},
|
||||
|
||||
@ -1160,7 +1160,7 @@
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": -83.523,
|
||||
"y": -70,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
@ -1201,7 +1201,7 @@
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 167.19189453125,
|
||||
"height": 80
|
||||
"height": 54.18
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
@ -1243,7 +1243,7 @@
|
||||
"_fontSize": 43,
|
||||
"_fontFamily": "Arial",
|
||||
"_lineHeight": 43,
|
||||
"_overflow": 2,
|
||||
"_overflow": 0,
|
||||
"_enableWrapText": true,
|
||||
"_font": null,
|
||||
"_isSystemFontUsed": true,
|
||||
|
||||
@ -11,7 +11,6 @@ import { I18nManager } from '../../Loading/scripts/manager/I18nManager';
|
||||
import { LocalizedSprite } from '../../Loading/scripts/i18n/LocalizedSprite';
|
||||
import { AudioManager } from '../../Loading/scripts/manager/AudioManager';
|
||||
import { SpinAni } from './game/SpinAni';
|
||||
import { SlotGame } from './SlotGame';
|
||||
const { ccclass, property } = _decorator;
|
||||
|
||||
@ccclass('SlotBar')
|
||||
@ -23,9 +22,6 @@ export class SlotBar extends Component {
|
||||
@property({ type: Prefab })
|
||||
private autoSpinPanel: Prefab = null;
|
||||
|
||||
@property(SlotGame)
|
||||
private slotGame: SlotGame = null;
|
||||
|
||||
@property(Node)
|
||||
private tipSmall_turbo: Node = null;
|
||||
@property(Node)
|
||||
@ -416,33 +412,20 @@ export class SlotBar extends Component {
|
||||
if (this.isGetBalance) return
|
||||
this.isGetBalance = true;
|
||||
try {
|
||||
let balacneData = await this.refreshBalanceFromServer();
|
||||
this.setBalance(balacneData)
|
||||
return balacneData;
|
||||
let balacneData = await callGameBalanceApi({ GameId: getGameId() });
|
||||
this.setBalance(balacneData.Balance)
|
||||
return balacneData.Balance;
|
||||
} catch (err) {
|
||||
console.log('获取余额失败')
|
||||
return null;
|
||||
} finally {
|
||||
this.scheduleOnce(() => {
|
||||
this.isGetBalance = false;
|
||||
}, 0.5)
|
||||
}, 1)
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
async onConfirmErr2(): Promise<number | null> {
|
||||
try {
|
||||
let balacneData = await this.refreshBalanceFromServer();
|
||||
this.setBalance(balacneData)
|
||||
return balacneData;
|
||||
} catch (err) {
|
||||
console.log('获取余额失败')
|
||||
return null;
|
||||
} finally {
|
||||
this.isGetBalance = false;
|
||||
}
|
||||
}
|
||||
|
||||
private currentTipTween: Tween<Node> = null;
|
||||
private hideTimer: number = null;
|
||||
showTipSmall(str: string, openTurbo?: boolean) {
|
||||
@ -609,8 +592,6 @@ export class SlotBar extends Component {
|
||||
this.setBtnEnable(this.menuBtn, false);
|
||||
this.setBtnEnable(this.spinBtn, false);
|
||||
|
||||
this.slotGame.showFeatureBuy(true)
|
||||
|
||||
this.setBtnVisible(this.spinBtn, false);
|
||||
this.setBtnVisible(this.stopAutoBtn, true);
|
||||
|
||||
@ -631,7 +612,6 @@ export class SlotBar extends Component {
|
||||
this.setBtnVisible(this.spinBtn, true);
|
||||
this.setBtnVisible(this.stopAutoBtn, false);
|
||||
this.setBtnEnable(this.spinBtn, false);
|
||||
this.slotGame.showFeatureBuy(this.getBet() * this.gameInfo.BuyMul > this.gameInfo.MaxBuyBet)
|
||||
}
|
||||
|
||||
reconnectState(hasDelete: boolean = false) {
|
||||
@ -809,27 +789,5 @@ export class SlotBar extends Component {
|
||||
this.setBet(this.betGrade[this.betIndex], true);
|
||||
}
|
||||
}
|
||||
// private _refreshingBalance: boolean = false;
|
||||
async refreshBalanceFromServer(): Promise<number | null> {
|
||||
// if (this._refreshingBalance) return this.getBalance();
|
||||
// this._refreshingBalance = true;
|
||||
try {
|
||||
const res = await callGameBalanceApi({});
|
||||
const balance = Number(res.Balance);
|
||||
if (!Number.isFinite(balance)) {
|
||||
console.warn("[SlotBar] invalid balance response:", res);
|
||||
return this.getBalance();
|
||||
}
|
||||
this.setBalance(balance);
|
||||
return balance;
|
||||
} catch (err) {
|
||||
console.error("[SlotBar] refresh balance failed:", err);
|
||||
return this.getBalance();
|
||||
} finally {
|
||||
// this.scheduleOnce(() => {
|
||||
// this._refreshingBalance = false;
|
||||
// }, 1)
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -4,7 +4,7 @@ import { SlotBar } from './SlotBar';
|
||||
import { SlotGame } from './SlotGame';
|
||||
import { BigWinUI } from './game/BigWinUI';
|
||||
import { GameDataManager } from '../../Loading/scripts/manager/GameDataManager';
|
||||
import { callGameApi, callGameBalanceApi, getGameId, getIsFrom } from '../../Loading/scripts/comm';
|
||||
import { callGameApi, getIsFrom } from '../../Loading/scripts/comm';
|
||||
import { TipPanel } from './game/TipPanel';
|
||||
import { I18nManager } from '../../Loading/scripts/manager/I18nManager';
|
||||
import { TotalWin } from './game/TotalWin';
|
||||
@ -78,7 +78,6 @@ export class SlotScene extends Component {
|
||||
private lastSpinInfo: any = null;
|
||||
private spinData: any = null;
|
||||
private isReceiveMsg: boolean = false;
|
||||
private isErr2: boolean = false;
|
||||
|
||||
private objectId: string[] = [];
|
||||
|
||||
@ -124,6 +123,8 @@ export class SlotScene extends Component {
|
||||
this.lastSpinInfo = this.gameInfo;
|
||||
this.spinData = this.gameInfo.Data;
|
||||
|
||||
this.slotGame.showFeatureBuy(this.gameInfo.CloseBuyGame);
|
||||
|
||||
// 注册事件监听
|
||||
this.slotBar.node.on(SLOT_BAR_EVENT.ON_SPIN_CLICK, this.spinBtnClick, this);
|
||||
// this.slotBar.node.on(SLOT_BAR_EVENT.ON_TEST_SPIN_CLICK, this.spinBtnClick2, this);
|
||||
@ -239,15 +240,10 @@ export class SlotScene extends Component {
|
||||
this.slotBar.setWin(0);
|
||||
}
|
||||
|
||||
let curBalanceData = await this.slotBar.refreshBalanceFromServer()
|
||||
if (!curBalanceData) {
|
||||
curBalanceData = this.slotBar.getBalance()
|
||||
}
|
||||
if (curBalanceData < (isFeatureBuy ? this.slotBar.getBet() * this.gameInfo.BuyMul : this.slotBar.getBet()) && !isFreeSpin && !GameDataManager.instance.frb.Ongoing) {
|
||||
if (this.slotBar.getBalance() < (isFeatureBuy ? this.slotBar.getBet() * this.gameInfo.BuyMul : this.slotBar.getBet()) && !isFreeSpin && !GameDataManager.instance.frb.Ongoing) {
|
||||
//余额不足不经过服务器,在客户端拦截
|
||||
this.showErrorTip(2, () => { this.slotBar.onConfirmErr2() });
|
||||
this.handleErrSpin(true);
|
||||
this.isErr2 = true;
|
||||
this.showErrorTip(2, () => { this.slotBar.onClickBalance() });
|
||||
this.handleErrSpin();
|
||||
return
|
||||
}
|
||||
try {
|
||||
@ -382,7 +378,7 @@ export class SlotScene extends Component {
|
||||
this.slotGame.manualStop();
|
||||
}
|
||||
|
||||
private handleErrSpin(isErr2 = false) {
|
||||
private handleErrSpin() {
|
||||
this.spinInfo = this.lastSpinInfo;
|
||||
this.spinData = this.spinInfo.Data;
|
||||
this.slotGame.setRollerIconRule(this.spinData.Mode == 0 ? ROLLER_RULE : FREE_SPIN_ROLLER_RULE);
|
||||
@ -392,8 +388,8 @@ export class SlotScene extends Component {
|
||||
this.spinData.RoundInfo.AllScore = 0;
|
||||
}
|
||||
this.slotGame.stopScroll(this.spinData, false, null);
|
||||
// this.slotGame.manualStop();
|
||||
this.slotBar.setBalance(isErr2 ? this.slotBar.getBalance() : this.spinInfo.Balance);
|
||||
this.slotGame.manualStop();
|
||||
this.slotBar.setBalance(this.spinInfo.Balance);
|
||||
this.slotBar.closeAutoSpin();
|
||||
this.slotGame.setFeatureBuyInteractable(true)
|
||||
|
||||
@ -691,13 +687,8 @@ export class SlotScene extends Component {
|
||||
}
|
||||
|
||||
private async normalStop(isReconnect: boolean = false) {
|
||||
if (this.isErr2) {
|
||||
this.isErr2 = false;
|
||||
this.slotBar.setBalance(this.slotBar.getBalance());
|
||||
} else {
|
||||
this.slotBar.setBalance(this.spinData.Balance);
|
||||
|
||||
} let winType = this.slotGame.checkWinType(this.spinData.AllScore);
|
||||
this.slotBar.setBalance(this.spinData.Balance);
|
||||
let winType = this.slotGame.checkWinType(this.spinData.AllScore);
|
||||
|
||||
await this.handleWinResult(winType, isReconnect, false, () => {
|
||||
this.checkAutoSpin(winType !== WIN_TYPE.NONE, isReconnect);
|
||||
|
||||
@ -187,7 +187,7 @@
|
||||
"_priority": 0,
|
||||
"_fov": 45,
|
||||
"_fovAxis": 0,
|
||||
"_orthoHeight": 960,
|
||||
"_orthoHeight": 959.9999999999999,
|
||||
"_near": 0,
|
||||
"_far": 2000,
|
||||
"_color": {
|
||||
|
||||
@ -1,9 +1,7 @@
|
||||
import { _decorator, Node, Component, screen, view, ResolutionPolicy, Sprite, sys, Label, Widget, Vec3, UITransform } from 'cc';
|
||||
import { LocalizedLabel } from './i18n/LocalizedLabel';
|
||||
import { getLanguage } from './comm';
|
||||
import { installLabelAlignmentCenterFix } from 'common_tools';
|
||||
|
||||
installLabelAlignmentCenterFix();
|
||||
const { ccclass, property } = _decorator;
|
||||
export let SWITCH_PROTRAIT_MODE = {
|
||||
"da": "Skift venligst til portrættilstand",
|
||||
|
||||
@ -9,7 +9,7 @@ const qs = new URLSearchParams(location.search)
|
||||
|
||||
// let apiaddr = "https://rpgames-api.rpfafafahkdev.com";
|
||||
let apiaddr = "";
|
||||
let token = "eyJQIjoxMDA5NDksIkUiOjE3ODI3NjA2MTIsIlMiOjEwMDQsIkQiOiJycF8xMDAxMiJ9.f8r8mMsNIh9XSXq-Ni_h2KRw4EBDu9pTWIfwAQw7O7U";
|
||||
let token = "eyJQIjoxMDAwMDEsIkUiOjE3ODExMTY1NjYsIlMiOjEwMDIsIkQiOiJycF8xMDAxMiJ9.I2959bskgMea99B9N_7_Lbb083gZcuov9nTDZX0hjRQ";
|
||||
let language = "en"
|
||||
let currency = "THB"
|
||||
let isfrom = null
|
||||
|
||||
6
package-lock.json
generated
6
package-lock.json
generated
@ -9,15 +9,9 @@
|
||||
"version": "1.0.0",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"common_tools": "git+ssh://git@gitea.rpfafafahkdev.com:taotao/common_tools.git",
|
||||
"nosleep.js": "^0.12.0"
|
||||
}
|
||||
},
|
||||
"node_modules/common_tools": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "git+ssh://git@gitea.rpfafafahkdev.com:taotao/common_tools.git#c49bf2990a6f348489505ac4998683c814b58dde",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/nosleep.js": {
|
||||
"version": "0.12.0",
|
||||
"resolved": "https://registry.npmjs.org/nosleep.js/-/nosleep.js-0.12.0.tgz",
|
||||
|
||||
@ -14,7 +14,6 @@
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"common_tools": "git+ssh://git@gitea.rpfafafahkdev.com:taotao/common_tools.git",
|
||||
"nosleep.js": "^0.12.0"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user