mirror of
https://github.com/VickScarlet/lifeRestart.git
synced 2026-04-20 19:53:06 +08:00
Deploying to gh-pages from @ VickScarlet/lifeRestart@f12a147093 🚀
This commit is contained in:
@@ -0,0 +1 @@
|
||||
var e=class extends ui.view.CyberTheme.CyberAchievementUI{constructor(){super(),this.btnBack.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.MAIN)),this.#e={min:Math.min(this.btnAchievement.fontSize,this.btnStatistics.fontSize),max:Math.max(this.btnAchievement.fontSize,this.btnStatistics.fontSize)},this.btnStatistics.on(Laya.Event.CLICK,this,()=>this.switch(`statistics`)),this.btnAchievement.on(Laya.Event.CLICK,this,()=>this.switch(`achievement`)),this.btnRank.on(Laya.Event.CLICK,this,$$event,[`message`,[`M_NoRank`]]),this.listAchievements.renderHandler=new Laya.Handler(this,this.onRenderAchievement),this.listAchievements.scrollBar.elasticDistance=150,this.on(Laya.Event.RESIZE,this,()=>{this.boxPage.width=2*this.width,this.boxA.width=this.boxB.width=this.width,this.boxPage.x<0&&(this.boxPage.x=-this.width);let e=this.listAchievements?._itemRender?.props?.width;if(e){let t=Math.max(Math.floor((this.width-65)/e),1);this.listAchievements.width=t*e+(t-1)*(this.listAchievements.spaceY||0)+30}})}#e;#t;init(){this.switch(`statistics`,0);let{statistics:e,achievements:t,PropertyTypes:n}=core;this.listAchievements.array=t,this.labRemakeTimes.text=e[n.TMS].value,this.labRemakeTimesJudge.text=e[n.TMS].judge,this.labAchievementCountJudge.color=$ui.common.grade[e[n.TMS].grade],this.labAchievementCount.text=e[n.CACHV].value,this.labAchievementCountJudge.text=e[n.CACHV].judge,this.labAchievementCountJudge.color=$ui.common.grade[e[n.CACHV].grade],this.labEventRate.text=parseInt(e[n.REVT].value*100)+`%`,this.prgEventRate.value=e[n.REVT].value,this.labTalentRate.text=parseInt(e[n.RTLT].value*100)+`%`,this.prgTalentRate.value=e[n.RTLT].value}switch(e,t=300){switch(this.#t&&this.#t.forEach(e=>Laya.Tween.clear(e)),this.#t=[],e){case`statistics`:t=-this.boxPage.x/this.width*t,this.#t.push(Laya.Tween.to(this.boxPage,{x:0},t,Laya.Ease.backOut,Laya.Handler.create(this,()=>this.#t=null)),Laya.Tween.to(this.btnStatistics,{fontSize:this.#e.max,anchorX:.5,anchorY:1},t,Laya.Ease.backOut),Laya.Tween.to(this.btnAchievement,{fontSize:this.#e.min,anchorX:.5,anchorY:1},t,Laya.Ease.backOut));break;case`achievement`:t=(this.width+this.boxPage.x)/this.width*t,this.#t.push(Laya.Tween.to(this.boxPage,{x:-this.width},t,Laya.Ease.backOut,Laya.Handler.create(this,()=>this.#t=null)),Laya.Tween.to(this.btnStatistics,{fontSize:this.#e.min,anchorX:.5,anchorY:1},t,Laya.Ease.backOut),Laya.Tween.to(this.btnAchievement,{fontSize:this.#e.max,anchorX:.5,anchorY:1},t,Laya.Ease.backOut));break}}onRenderAchievement(e,t){let n=e.dataSource,r=e.getChildByName(`name`),i=e.getChildByName(`description`),a=e.getChildByName(`completed`),o=e.getChildByName(`uncomplete`);n.isAchieved?(r.text=n.name,i.text=n.description,a.visible=!0,o.visible=!1):(r.text=n.hide?`???`:n.name,i.text=n.hide?`???`:n.description,a.visible=!1,o.visible=!0),e.colorFilter=$ui.gradeFilter(n.grade)}};export{e as default};
|
||||
@@ -1 +0,0 @@
|
||||
class c extends ui.view.DefaultTheme.AchievementUI{constructor(){super(),this.btnBack.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.MAIN)),this.btnRank.on(Laya.Event.CLICK,this,$$event,["message",["M_NoRank"]]),this.listAchievements.renderHandler=new Laya.Handler(this,this.onRenderAchievement),this.listAchievements.scrollBar.elasticDistance=150}init(){const{statistics:e,achievements:a,PropertyTypes:t}=core;this.listAchievements.array=a,this.labRemakeTimes.text=$_.format($lang.F_RemakeTimes,e[t.TMS].value),this.labRemakeTimesJudge.text=e[t.TMS].judge,$_.deepMapSet(this.boxRemakeTimes,$ui.common.achievement[e[t.TMS].grade]),this.labAchievementCount.text=$_.format($lang.F_AchievementCount,e[t.CACHV].value),this.labAchievementCountJudge.text=e[t.CACHV].judge,$_.deepMapSet(this.boxAchievementCount,$ui.common.achievement[e[t.CACHV].grade]),this.labEventRate.text=parseInt(e[t.REVT].value*100)+"%",this.prgEventRate.scaleX=e[t.REVT].value,$_.deepMapSet(this.boxEventRate,$ui.common.achievement[e[t.REVT].grade]),this.labTalentRate.text=parseInt(e[t.RTLT].value*100)+"%",this.prgTalentRate.scaleX=e[t.RTLT].value,$_.deepMapSet(this.boxTalentRate,$ui.common.achievement[e[t.RTLT].grade])}onRenderAchievement(e){const a=e.dataSource,t=e.getChildByName("name"),i=e.getChildByName("description"),n=e.getChildByName("boxMask");$_.deepMapSet(e,$ui.common.achievement[a.grade]),t.color=i.color=$ui.common.defaultFontColor,a.isAchieved?(t.text=a.name,i.text=a.description,n.visible=!1):(t.text=a.hide?"???":a.name,i.text=a.hide?"???":a.description,n.visible=!0)}}export{c as default};
|
||||
@@ -0,0 +1 @@
|
||||
var e=class extends ui.view.DefaultTheme.AchievementUI{constructor(){super(),this.btnBack.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.MAIN)),this.btnRank.on(Laya.Event.CLICK,this,$$event,[`message`,[`M_NoRank`]]),this.listAchievements.renderHandler=new Laya.Handler(this,this.onRenderAchievement),this.listAchievements.scrollBar.elasticDistance=150}init(){let{statistics:e,achievements:t,PropertyTypes:n}=core;this.listAchievements.array=t,this.labRemakeTimes.text=$_.format($lang.F_RemakeTimes,e[n.TMS].value),this.labRemakeTimesJudge.text=e[n.TMS].judge,$_.deepMapSet(this.boxRemakeTimes,$ui.common.achievement[e[n.TMS].grade]),this.labAchievementCount.text=$_.format($lang.F_AchievementCount,e[n.CACHV].value),this.labAchievementCountJudge.text=e[n.CACHV].judge,$_.deepMapSet(this.boxAchievementCount,$ui.common.achievement[e[n.CACHV].grade]),this.labEventRate.text=parseInt(e[n.REVT].value*100)+`%`,this.prgEventRate.scaleX=e[n.REVT].value,$_.deepMapSet(this.boxEventRate,$ui.common.achievement[e[n.REVT].grade]),this.labTalentRate.text=parseInt(e[n.RTLT].value*100)+`%`,this.prgTalentRate.scaleX=e[n.RTLT].value,$_.deepMapSet(this.boxTalentRate,$ui.common.achievement[e[n.RTLT].grade])}onRenderAchievement(e){let t=e.dataSource,n=e.getChildByName(`name`),r=e.getChildByName(`description`),i=e.getChildByName(`boxMask`);$_.deepMapSet(e,$ui.common.achievement[t.grade]),n.color=r.color=$ui.common.defaultFontColor,t.isAchieved?(n.text=t.name,r.text=t.description,i.visible=!1):(n.text=t.hide?`???`:t.name,r.text=t.hide?`???`:t.description,i.visible=!0)}};export{e as default};
|
||||
@@ -1 +0,0 @@
|
||||
class o extends ui.view.CyberTheme.CyberAchievementUI{constructor(){super(),this.btnBack.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.MAIN));const e=Math.min(this.btnAchievement.fontSize,this.btnStatistics.fontSize),i=Math.max(this.btnAchievement.fontSize,this.btnStatistics.fontSize);this.#e={min:e,max:i},this.btnStatistics.on(Laya.Event.CLICK,this,()=>this.switch("statistics")),this.btnAchievement.on(Laya.Event.CLICK,this,()=>this.switch("achievement")),this.btnRank.on(Laya.Event.CLICK,this,$$event,["message",["M_NoRank"]]),this.listAchievements.renderHandler=new Laya.Handler(this,this.onRenderAchievement),this.listAchievements.scrollBar.elasticDistance=150,this.on(Laya.Event.RESIZE,this,()=>{this.boxPage.width=2*this.width,this.boxA.width=this.boxB.width=this.width,this.boxPage.x<0&&(this.boxPage.x=-this.width);const t=this.listAchievements?._itemRender?.props?.width;if(t){const s=Math.max(Math.floor((this.width-65)/t),1);this.listAchievements.width=s*t+(s-1)*(this.listAchievements.spaceY||0)+30}})}#e;#t;init(){this.switch("statistics",0);const{statistics:e,achievements:i,PropertyTypes:t}=core;this.listAchievements.array=i,this.labRemakeTimes.text=e[t.TMS].value,this.labRemakeTimesJudge.text=e[t.TMS].judge,this.labAchievementCountJudge.color=$ui.common.grade[e[t.TMS].grade],this.labAchievementCount.text=e[t.CACHV].value,this.labAchievementCountJudge.text=e[t.CACHV].judge,this.labAchievementCountJudge.color=$ui.common.grade[e[t.CACHV].grade],this.labEventRate.text=parseInt(e[t.REVT].value*100)+"%",this.prgEventRate.value=e[t.REVT].value,this.labTalentRate.text=parseInt(e[t.RTLT].value*100)+"%",this.prgTalentRate.value=e[t.RTLT].value}switch(e,i=300){switch(this.#t&&this.#t.forEach(t=>Laya.Tween.clear(t)),this.#t=[],e){case"statistics":i=-this.boxPage.x/this.width*i,this.#t.push(Laya.Tween.to(this.boxPage,{x:0},i,Laya.Ease.backOut,Laya.Handler.create(this,()=>this.#t=null)),Laya.Tween.to(this.btnStatistics,{fontSize:this.#e.max,anchorX:.5,anchorY:1},i,Laya.Ease.backOut),Laya.Tween.to(this.btnAchievement,{fontSize:this.#e.min,anchorX:.5,anchorY:1},i,Laya.Ease.backOut));break;case"achievement":i=(this.width+this.boxPage.x)/this.width*i,this.#t.push(Laya.Tween.to(this.boxPage,{x:-this.width},i,Laya.Ease.backOut,Laya.Handler.create(this,()=>this.#t=null)),Laya.Tween.to(this.btnStatistics,{fontSize:this.#e.min,anchorX:.5,anchorY:1},i,Laya.Ease.backOut),Laya.Tween.to(this.btnAchievement,{fontSize:this.#e.max,anchorX:.5,anchorY:1},i,Laya.Ease.backOut));break}}onRenderAchievement(e,i){const t=e.dataSource,s=e.getChildByName("name"),a=e.getChildByName("description"),h=e.getChildByName("completed"),n=e.getChildByName("uncomplete");t.isAchieved?(s.text=t.name,a.text=t.description,h.visible=!0,n.visible=!1):(s.text=t.hide?"???":t.name,a.text=t.hide?"???":t.description,h.visible=!1,n.visible=!0),e.colorFilter=$ui.gradeFilter(t.grade)}}export{o as default};
|
||||
@@ -0,0 +1 @@
|
||||
var e=class extends ui.view.CyberTheme.CyberAchievementPopupUI{constructor(){super()}async popup({achievement:e},t){Laya.Tween.clearAll(this),Laya.Tween.clearAll(this.boxBg),this.alpha=.8,this.labName.text=e.name,this.labName.color=$ui.common.grade[e.grade],this.x=-this.width,this.boxBg.x=this.boxBg.width,await Promise.all([Laya.promises.Tween.to(this,{x:0},300,Laya.Ease.strongOut),Laya.promises.Tween.to(this.boxBg,{x:0},300,Laya.Ease.strongOut,50)]),await Laya.promises.Tween.to(this,{alpha:0},3e3,Laya.Ease.strongIn)}};export{e as default};
|
||||
@@ -0,0 +1 @@
|
||||
var e=class extends ui.view.DefaultTheme.AchievementPopupUI{constructor(){super()}async popup({achievement:e},t){Laya.Tween.clearAll(this),Laya.Tween.clearAll(this.boxBg),this.alpha=.8,this.labName.text=e.name,this.labName.color=$ui.common.grade[e.grade],this.x=-this.width,this.boxBg.x=this.boxBg.width,await Promise.all([Laya.promises.Tween.to(this,{x:0},300,Laya.Ease.strongOut),Laya.promises.Tween.to(this.boxBg,{x:0},300,Laya.Ease.strongOut,50)]),await Laya.promises.Tween.to(this,{alpha:0},3e3,Laya.Ease.strongIn)}};export{e as default};
|
||||
@@ -1 +0,0 @@
|
||||
class s extends ui.view.CyberTheme.CyberAchievementPopupUI{constructor(){super()}async popup({achievement:a},t){Laya.Tween.clearAll(this),Laya.Tween.clearAll(this.boxBg),this.alpha=.8,this.labName.text=a.name,this.labName.color=$ui.common.grade[a.grade],this.x=-this.width,this.boxBg.x=this.boxBg.width,await Promise.all([Laya.promises.Tween.to(this,{x:0},300,Laya.Ease.strongOut),Laya.promises.Tween.to(this.boxBg,{x:0},300,Laya.Ease.strongOut,50)]),await Laya.promises.Tween.to(this,{alpha:0},3e3,Laya.Ease.strongIn)}}export{s as default};
|
||||
@@ -1 +0,0 @@
|
||||
class s extends ui.view.DefaultTheme.AchievementPopupUI{constructor(){super()}async popup({achievement:a},t){Laya.Tween.clearAll(this),Laya.Tween.clearAll(this.boxBg),this.alpha=.8,this.labName.text=a.name,this.labName.color=$ui.common.grade[a.grade],this.x=-this.width,this.boxBg.x=this.boxBg.width,await Promise.all([Laya.promises.Tween.to(this,{x:0},300,Laya.Ease.strongOut),Laya.promises.Tween.to(this.boxBg,{x:0},300,Laya.Ease.strongOut,50)]),await Laya.promises.Tween.to(this,{alpha:0},3e3,Laya.Ease.strongIn)}}export{s as default};
|
||||
@@ -1 +0,0 @@
|
||||
class u extends ui.view.CyberTheme.CelebrityUI{constructor(){super(),this.btnRetry.on(Laya.Event.CLICK,this,()=>this.random()),this.btnNext.on(Laya.Event.CLICK,this,this.next),this.panelCharacter.vScrollBar.elasticDistance=150}#e;static#t=Laya.plugin.extractComponents(u.uiView,["boxCharacter","boxTalent","boxUniqueUnGenerate"]);#a(a,e){const{name:i,property:n,talent:o}=a,t=u.#t("boxCharacter"),s=t.getChildByName("vboxStates"),r=t.getChildByName("boxName");r.getChildByName("label").text=i;const c=$_.clone(n);for(const l in c)Math.abs(c[l]-Math.PI)<1e-7&&(c[l]="π");s.getChildByName("label").text=$_.format($lang.F_PropertyStr,c);for(const l of o){const h=u.#t("boxTalent");h.getChildByName("label").text=$_.format($lang.F_TalentSelection,l),h.y=s.height+s.space;let d=h.getChildByName(`grade${l.grade}`);d&&(d.visible=!0),s.addChild(h)}const C=new Laya.Box;return C.height=s.space,C.y=s.height,s.addChild(C),s.scaleY=0,t.dataSource=a,t.switch=l=>s.scaleY=l?1:0,t.click=(l,h)=>{r.offAll(Laya.Event.CLICK),r.on(Laya.Event.CLICK,h||this,l)},e&&t.click(e),t}#n(a){const e=u.#t("boxUniqueUnGenerate"),i=e.getChildByName("boxName"),n=e.getChildByName("vboxStates"),o=n.getChildByName("label"),s=n.getChildByName("boxBtn").getChildByName("btn");return o.event(Laya.Event.RESIZE),n.scaleY=0,e.dataSource=!1,e.switch=r=>n.scaleY=r?1:0,e.click=(r,c)=>{i.offAll(Laya.Event.CLICK),i.on(Laya.Event.CLICK,c||this,r)},e.generate=(r,c)=>{s.offAll(Laya.Event.CLICK),s.on(Laya.Event.CLICK,c||this,r)},a&&e.generate(a),e}init(){this.random()}close(){this.#e=null,this.vboxCharacter.destroyChildren(!0)}random(a){this.#e=null,this.vboxCharacter.destroyChildren(!0);const{unique:e,normal:i}=core.characterRandom(),n=[],o=this.generateUnique(e,()=>{core.generateUnique(),this.random(i)});o&&n.push(o),(a||i).forEach(t=>n.push(this.#a(t))),n.forEach((t,s)=>{t.y=s,this.vboxCharacter.addChild(t),t.click(()=>{this.#e&&this.#e.switch(!1),this.#e=t,t.switch(!0),t.event(Laya.Event.RESIZE)})}),a&&o&&(this.#e=o,o.switch(!0),o.event(Laya.Event.RESIZE))}generateUnique(a,e){return a?a.generate?(a.name=$lang.UI_UniqueWaTaShi,this.#a(a)):this.#n(e):null}next(){if(!this.#e)return $$event("message",["M_PleaseSelectOne"]);if(!this.#e.dataSource)return $$event("message",["M_UnGenerate"]);const{property:a,talent:e}=this.#e.dataSource,i=core.remake(e.map(n=>n.id));i.length>0&&$$event("message",[i.map(n=>["F_TalentReplace",n])]),$ui.switchView(UI.pages.TRAJECTORY,{propertyAllocate:a,talents:e,enableExtend:!1})}}export{u as default};
|
||||
@@ -0,0 +1 @@
|
||||
var e=class e extends ui.view.DefaultTheme.CelebrityUI{constructor(){super(),this.btnRetry.on(Laya.Event.CLICK,this,()=>this.random()),this.btnNext.on(Laya.Event.CLICK,this,this.next),this.panelCharacter.vScrollBar.elasticDistance=150}#e;static#t=Laya.plugin.extractComponents(e.uiView,[`boxCharacter`,`boxTalent`,`boxUniqueUnGenerate`]);#n(t,n){let{name:r,property:i,talent:a}=t,o=$ui.common.characterItem,s=e.#t(`boxCharacter`),c=s.getChildByName(`vboxStates`),l=s.getChildByName(`boxName`);l.label=r;let u=$_.clone(i);for(let e in u)Math.abs(u[e]-Math.PI)<1e-7&&(u[e]=`π`);c.label=$_.format($lang.F_PropertyStr,u),$_.deepMapSet(l,o.name),$_.deepMapSet(c,o.state);for(let t of a){let n=e.#t(`boxTalent`);n.label=$_.format($lang.F_TalentSelection,t),n.y=c.height+c.space,$_.deepMapSet(n,$ui.common.card[t.grade].normal),c.addChild(n)}let d=new Laya.Box;return d.height=c.space,d.y=c.height,c.addChild(d),c.scaleY=0,s.dataSource=t,s.switch=e=>c.scaleY=e?1:0,s.click=(e,t)=>{l.offAll(Laya.Event.CLICK),l.on(Laya.Event.CLICK,t||this,e)},n&&s.click(n),s}#r(t){let n=$ui.common.characterItem,r=e.#t(`boxUniqueUnGenerate`),i=r.getChildByName(`boxName`),a=r.getChildByName(`vboxStates`),o=a.getChildByName(`label`),s=a.getChildByName(`boxBtn`),c=s.getChildByName(`btn`);return $_.deepMapSet(i,n.name),$_.deepMapSet(a,n.state),$_.deepMapSet(c,n.name),s.y=o.height+a.space,o.event(Laya.Event.RESIZE),a.scaleY=0,r.dataSource=!1,r.switch=e=>a.scaleY=e?1:0,r.click=(e,t)=>{i.offAll(Laya.Event.CLICK),i.on(Laya.Event.CLICK,t||this,e)},r.generate=(e,t)=>{c.offAll(Laya.Event.CLICK),c.on(Laya.Event.CLICK,t||this,e)},t&&r.generate(t),r}init(){this.random()}close(){this.#e=null,this.vboxCharacter.destroyChildren(!0)}random(e){this.#e=null,this.vboxCharacter.destroyChildren(!0);let{unique:t,normal:n}=core.characterRandom(),r=[],i=this.generateUnique(t,()=>{core.generateUnique(),this.random(n)});i&&r.push(i),(e||n).forEach(e=>r.push(this.#n(e))),r.forEach((e,t)=>{e.y=t,this.vboxCharacter.addChild(e),e.click(()=>{this.#e&&this.#e.switch(!1),this.#e=e,e.switch(!0),e.event(Laya.Event.RESIZE)})}),e&&i&&(this.#e=i,i.switch(!0),i.event(Laya.Event.RESIZE))}generateUnique(e,t){return e?e.generate?(e.name=$lang.UI_UniqueWaTaShi,this.#n(e)):this.#r(t):null}next(){if(!this.#e)return $$event(`message`,[`M_PleaseSelectOne`]);if(!this.#e.dataSource)return $$event(`message`,[`M_UnGenerate`]);let{property:e,talent:t}=this.#e.dataSource,n=core.remake(t.map(e=>e.id));n.length>0&&$$event(`message`,[n.map(e=>[`F_TalentReplace`,e])]),$ui.switchView(UI.pages.TRAJECTORY,{propertyAllocate:e,talents:t,enableExtend:!1})}};export{e as default};
|
||||
@@ -1 +0,0 @@
|
||||
class u extends ui.view.DefaultTheme.CelebrityUI{constructor(){super(),this.btnRetry.on(Laya.Event.CLICK,this,()=>this.random()),this.btnNext.on(Laya.Event.CLICK,this,this.next),this.panelCharacter.vScrollBar.elasticDistance=150}#e;static#t=Laya.plugin.extractComponents(u.uiView,["boxCharacter","boxTalent","boxUniqueUnGenerate"]);#a(t,o){const{name:e,property:r,talent:a}=t,n=$ui.common.characterItem,i=u.#t("boxCharacter"),s=i.getChildByName("vboxStates"),c=i.getChildByName("boxName");c.label=e;const h=$_.clone(r);for(const l in h)Math.abs(h[l]-Math.PI)<1e-7&&(h[l]="π");s.label=$_.format($lang.F_PropertyStr,h),$_.deepMapSet(c,n.name),$_.deepMapSet(s,n.state);for(const l of a){const m=u.#t("boxTalent");m.label=$_.format($lang.F_TalentSelection,l),m.y=s.height+s.space,$_.deepMapSet(m,$ui.common.card[l.grade].normal),s.addChild(m)}const d=new Laya.Box;return d.height=s.space,d.y=s.height,s.addChild(d),s.scaleY=0,i.dataSource=t,i.switch=l=>s.scaleY=l?1:0,i.click=(l,m)=>{c.offAll(Laya.Event.CLICK),c.on(Laya.Event.CLICK,m||this,l)},o&&i.click(o),i}#n(t){const o=$ui.common.characterItem,e=u.#t("boxUniqueUnGenerate"),r=e.getChildByName("boxName"),a=e.getChildByName("vboxStates"),n=a.getChildByName("label"),i=a.getChildByName("boxBtn"),s=i.getChildByName("btn");return $_.deepMapSet(r,o.name),$_.deepMapSet(a,o.state),$_.deepMapSet(s,o.name),i.y=n.height+a.space,n.event(Laya.Event.RESIZE),a.scaleY=0,e.dataSource=!1,e.switch=c=>a.scaleY=c?1:0,e.click=(c,h)=>{r.offAll(Laya.Event.CLICK),r.on(Laya.Event.CLICK,h||this,c)},e.generate=(c,h)=>{s.offAll(Laya.Event.CLICK),s.on(Laya.Event.CLICK,h||this,c)},t&&e.generate(t),e}init(){this.random()}close(){this.#e=null,this.vboxCharacter.destroyChildren(!0)}random(t){this.#e=null,this.vboxCharacter.destroyChildren(!0);const{unique:o,normal:e}=core.characterRandom(),r=[],a=this.generateUnique(o,()=>{core.generateUnique(),this.random(e)});a&&r.push(a),(t||e).forEach(n=>r.push(this.#a(n))),r.forEach((n,i)=>{n.y=i,this.vboxCharacter.addChild(n),n.click(()=>{this.#e&&this.#e.switch(!1),this.#e=n,n.switch(!0),n.event(Laya.Event.RESIZE)})}),t&&a&&(this.#e=a,a.switch(!0),a.event(Laya.Event.RESIZE))}generateUnique(t,o){return t?t.generate?(t.name=$lang.UI_UniqueWaTaShi,this.#a(t)):this.#n(o):null}next(){if(!this.#e)return $$event("message",["M_PleaseSelectOne"]);if(!this.#e.dataSource)return $$event("message",["M_UnGenerate"]);const{property:t,talent:o}=this.#e.dataSource,e=core.remake(o.map(r=>r.id));e.length>0&&$$event("message",[e.map(r=>["F_TalentReplace",r])]),$ui.switchView(UI.pages.TRAJECTORY,{propertyAllocate:t,talents:o,enableExtend:!1})}}export{u as default};
|
||||
@@ -0,0 +1 @@
|
||||
var e=class e extends ui.view.CyberTheme.CelebrityUI{constructor(){super(),this.btnRetry.on(Laya.Event.CLICK,this,()=>this.random()),this.btnNext.on(Laya.Event.CLICK,this,this.next),this.panelCharacter.vScrollBar.elasticDistance=150}#e;static#t=Laya.plugin.extractComponents(e.uiView,[`boxCharacter`,`boxTalent`,`boxUniqueUnGenerate`]);#n(t,n){let{name:r,property:i,talent:a}=t,o=e.#t(`boxCharacter`),s=o.getChildByName(`vboxStates`),c=o.getChildByName(`boxName`);c.getChildByName(`label`).text=r;let l=$_.clone(i);for(let e in l)Math.abs(l[e]-Math.PI)<1e-7&&(l[e]=`π`);s.getChildByName(`label`).text=$_.format($lang.F_PropertyStr,l);for(let t of a){let n=e.#t(`boxTalent`);n.getChildByName(`label`).text=$_.format($lang.F_TalentSelection,t),n.y=s.height+s.space;let r=n.getChildByName(`grade${t.grade}`);r&&(r.visible=!0),s.addChild(n)}let u=new Laya.Box;return u.height=s.space,u.y=s.height,s.addChild(u),s.scaleY=0,o.dataSource=t,o.switch=e=>s.scaleY=e?1:0,o.click=(e,t)=>{c.offAll(Laya.Event.CLICK),c.on(Laya.Event.CLICK,t||this,e)},n&&o.click(n),o}#r(t){let n=e.#t(`boxUniqueUnGenerate`),r=n.getChildByName(`boxName`),i=n.getChildByName(`vboxStates`),a=i.getChildByName(`label`),o=i.getChildByName(`boxBtn`).getChildByName(`btn`);return a.event(Laya.Event.RESIZE),i.scaleY=0,n.dataSource=!1,n.switch=e=>i.scaleY=e?1:0,n.click=(e,t)=>{r.offAll(Laya.Event.CLICK),r.on(Laya.Event.CLICK,t||this,e)},n.generate=(e,t)=>{o.offAll(Laya.Event.CLICK),o.on(Laya.Event.CLICK,t||this,e)},t&&n.generate(t),n}init(){this.random()}close(){this.#e=null,this.vboxCharacter.destroyChildren(!0)}random(e){this.#e=null,this.vboxCharacter.destroyChildren(!0);let{unique:t,normal:n}=core.characterRandom(),r=[],i=this.generateUnique(t,()=>{core.generateUnique(),this.random(n)});i&&r.push(i),(e||n).forEach(e=>r.push(this.#n(e))),r.forEach((e,t)=>{e.y=t,this.vboxCharacter.addChild(e),e.click(()=>{this.#e&&this.#e.switch(!1),this.#e=e,e.switch(!0),e.event(Laya.Event.RESIZE)})}),e&&i&&(this.#e=i,i.switch(!0),i.event(Laya.Event.RESIZE))}generateUnique(e,t){return e?e.generate?(e.name=$lang.UI_UniqueWaTaShi,this.#n(e)):this.#r(t):null}next(){if(!this.#e)return $$event(`message`,[`M_PleaseSelectOne`]);if(!this.#e.dataSource)return $$event(`message`,[`M_UnGenerate`]);let{property:e,talent:t}=this.#e.dataSource,n=core.remake(t.map(e=>e.id));n.length>0&&$$event(`message`,[n.map(e=>[`F_TalentReplace`,e])]),$ui.switchView(UI.pages.TRAJECTORY,{propertyAllocate:e,talents:t,enableExtend:!1})}};export{e as default};
|
||||
@@ -0,0 +1,7 @@
|
||||
var e={UI_Next:`Next`,UI_Back:`Back`,UI_Skip:`Skip`,UI_Done:`Done`,UI_Cancel:`Cancel`,UI_Confirm:`Confirm`,UI_Retry:`Retry`,UI_Yes:`Yes`,UI_No:`No`,UI_OK:`OK`,UI_Close:`Close`,UI_Open:`Open`,UI_Search:`Search`,UI_Loading:`Now Loading`,UI_Error:`Error`,UI_Colon:`:`,UI_Times:`Times`,UI_Count:``,UI_Property_Charm:`CHR`,UI_Property_Intelligence:`INT`,UI_Property_Strength:`STR`,UI_Property_Money:`MNY`,UI_Property_Spirit:`SPR`,UI_Title_Remake:`Remake Simulate`,UI_Title_Subsequent:`The rubbish life doesn't want to stay for a second`,UI_Remake:`↻Remake Now`,UI_Thanks:`Thx`,UI_Achievement:`Achv`,UI_Cyber_Theme_Art_Design:`UI Design by 晰晰`,UI_Banner:`作者的新作《纸上谈亲》已上线小程序
|
||||
微信/抖音搜索“纸上谈亲”即可游玩~`,UI_Title_Talent:`Talent Draw`,UI_Talent_Draw:`!10 Pulls!`,UI_Talent_Select_Uncomplete:`Choose 3 Talents, Please.`,UI_Title_Property:`Property Allocate`,UI_Left_Property_Point:`Left Property Point`,UI_Selected_Talent:`Selected Talent`,UI_Random_Allocate:`Random Allocate`,UI_Make_New_Life:`Make New Life`,UI_Manual:`Manual`,UI_Auto:`Auto`,UI_Goto_Summary:`Goto Summary`,UI_Title_Summary:`Life Summary`,UI_Talent_Extend:`Talent, You can choose one to extend`,UI_Remake_Again:`Remake Again`,UI_Final_Age:`Age`,UI_Total_Judge:`Judge`,UI_Achievement_Count:`Achievement`,UI_Remake_Times:`Remake Times`,UI_Event_Collection_Rate:`Event Collection`,UI_Talent_Collection_Rate:`Talent Collection`,UI_Statistics:`Statistics`,UI_Rank:`Rank`,UI_Achievement_Achieve:`Achievement`,UI_Judge_Level_0:`Hell`,UI_Judge_Level_1:`Worse`,UI_Judge_Level_2:`Bad`,UI_Judge_Level_3:`Normal`,UI_Judge_Level_4:`Good`,UI_Judge_Level_5:`Great`,UI_Judge_Level_6:`Excellent`,UI_Judge_Level_7:`Perfect`,UI_Spirit_Judge_Level_0:`Hell`,UI_Spirit_Judge_Level_1:`Tortured`,UI_Spirit_Judge_Level_2:`Unlucky`,UI_Spirit_Judge_Level_3:`Normal`,UI_Spirit_Judge_Level_4:`Happy`,UI_Spirit_Judge_Level_5:`Blissful `,UI_Spirit_Judge_Level_6:`Paradise`,UI_AGE_Judge_Level_0:`Stillborn`,UI_AGE_Judge_Level_1:`Early`,UI_AGE_Judge_Level_2:`Young`,UI_AGE_Judge_Level_3:`Heyday`,UI_AGE_Judge_Level_4:`Middle`,UI_AGE_Judge_Level_5:`Sexagenarian`,UI_AGE_Judge_Level_6:`Septuagenarian`,UI_AGE_Judge_Level_7:`Octogenarian`,UI_AGE_Judge_Level_8:`Nonagenarian`,UI_AGE_Judge_Level_9:`不老`,UI_AGE_Judge_Level_10:`修仙`,UI_AGE_Judge_Level_11:`仙寿`,UI_Intelligence_Judge_Level_7:`识海`,UI_Intelligence_Judge_Level_8:`元神`,UI_Intelligence_Judge_Level_9:`仙魂`,UI_Strength_Judge_Level_7:`凝气`,UI_Strength_Judge_Level_8:`筑基`,UI_Strength_Judge_Level_9:`金丹`,UI_Strength_Judge_Level_10:`元婴`,UI_Strength_Judge_Level_11:`仙体`,UI_Remake_Times_Judge_Level_0:`Purple rate constant`,UI_Remake_Times_Judge_Level_1:`Purple rate double`,UI_Remake_Times_Judge_Level_2:`Purple rate triple`,UI_Remake_Times_Judge_Level_3:`Purple rate Quadruple`,UI_Remake_Times_Judge_Level_4:`Purple rate Quintuple`,UI_Remake_Times_Judge_Level_5:`Purple rate Sextuple`,UI_Achievement_Count_Judge_Level_0:`Orange rate constant`,UI_Achievement_Count_Judge_Level_1:`Orange rate double`,UI_Achievement_Count_Judge_Level_2:`Orange rate triple`,UI_Achievement_Count_Judge_Level_3:`Orange rate Quadruple`,UI_Achievement_Count_Judge_Level_4:`Orange rate Quintuple`,UI_Achievement_Count_Judge_Level_5:`Orange rate Sextuple`,UI_Support_Programmer:`Programmer`,UI_Support_Designer:`Designer`,UI_Save:`Save`,UI_Load:`Load`,UI_Read:`Copy`,UI_Write:`Paste`,UI_CopySuccess:`Copy to clipboard success`,UI_CopyFailed:`Copy to clipboard Failed`,UI_PasteSuccessDecodeSuccess:`Load Success!`,UI_PasteSuccessDecodeFailed:`Paste success, but load Failed!`,UI_PasteFailedDecodeSuccess:`Paste Failed, use input load success!`,UI_PasteFailedDecodeFailed:`Paste Failed, use input load Failed!`,UI_LoadSuccess:`Load Success!`,UI_LoadFailed:`Load Failed!`,UI_Title_Celebrity:`Past life was...`,UI_CustomMode:`Custom`,UI_CustomModeDescription:`10 Talent
|
||||
Custom property`,UI_CelebrityMode:`Celebrity`,UI_CelebrityModeDescription:`Past life is celebrity
|
||||
Rebirth to modern`,UI_AllNot:`↻All Not`,UI_UniqueWaTaShi:`Unique of mine`,UI_UniqueWaTaShiContent:`
|
||||
Unique character card different from other 60 million player
|
||||
All property, All talent, All random
|
||||
All has only one chance`,UI_GenerateNow:`Generate Now`,M_NoRank:`There is no rank`,M_PleaseSelectOne:`Please Select One`,M_UnGenerate:`Unique Character no generate`,M_DisableExtendTalent:`Celebrity mode can't extends talent`,F_RemakeTimes:`Remake {0} Times`,F_AchievementCount:`Achievement {0}`,F_TalentSelection:`{name} ({description})`,F_TalentConflict:`Conflict with talent ({0})`,F_TalentSelectLimit:`Talent select limit {0}`,F_TalentSelectNotComplect:`Please select {0} talent`,F_PropertyPointLeft:`You have left {0} property point`,F_TalentReplace:`Talent replace [{source.name}] -> [{target.name}]`,F_PropertyStr:`CHR{CHR} INT{INT} STR{STR} MNY{MNY}`};export{e as default};
|
||||
@@ -1,7 +0,0 @@
|
||||
const e={UI_Next:"Next",UI_Back:"Back",UI_Skip:"Skip",UI_Done:"Done",UI_Cancel:"Cancel",UI_Confirm:"Confirm",UI_Retry:"Retry",UI_Yes:"Yes",UI_No:"No",UI_OK:"OK",UI_Close:"Close",UI_Open:"Open",UI_Search:"Search",UI_Loading:"Now Loading",UI_Error:"Error",UI_Colon:":",UI_Times:"Times",UI_Count:"",UI_Property_Charm:"CHR",UI_Property_Intelligence:"INT",UI_Property_Strength:"STR",UI_Property_Money:"MNY",UI_Property_Spirit:"SPR",UI_Title_Remake:"Remake Simulate",UI_Title_Subsequent:"The rubbish life doesn't want to stay for a second",UI_Remake:"↻Remake Now",UI_Thanks:"Thx",UI_Achievement:"Achv",UI_Cyber_Theme_Art_Design:"UI Design by 晰晰",UI_Banner:`作者的新作《纸上谈亲》已上线小程序
|
||||
微信/抖音搜索“纸上谈亲”即可游玩~`,UI_Title_Talent:"Talent Draw",UI_Talent_Draw:"!10 Pulls!",UI_Talent_Select_Uncomplete:"Choose 3 Talents, Please.",UI_Title_Property:"Property Allocate",UI_Left_Property_Point:"Left Property Point",UI_Selected_Talent:"Selected Talent",UI_Random_Allocate:"Random Allocate",UI_Make_New_Life:"Make New Life",UI_Manual:"Manual",UI_Auto:"Auto",UI_Goto_Summary:"Goto Summary",UI_Title_Summary:"Life Summary",UI_Talent_Extend:"Talent, You can choose one to extend",UI_Remake_Again:"Remake Again",UI_Final_Age:"Age",UI_Total_Judge:"Judge",UI_Achievement_Count:"Achievement",UI_Remake_Times:"Remake Times",UI_Event_Collection_Rate:"Event Collection",UI_Talent_Collection_Rate:"Talent Collection",UI_Statistics:"Statistics",UI_Rank:"Rank",UI_Achievement_Achieve:"Achievement",UI_Judge_Level_0:"Hell",UI_Judge_Level_1:"Worse",UI_Judge_Level_2:"Bad",UI_Judge_Level_3:"Normal",UI_Judge_Level_4:"Good",UI_Judge_Level_5:"Great",UI_Judge_Level_6:"Excellent",UI_Judge_Level_7:"Perfect",UI_Spirit_Judge_Level_0:"Hell",UI_Spirit_Judge_Level_1:"Tortured",UI_Spirit_Judge_Level_2:"Unlucky",UI_Spirit_Judge_Level_3:"Normal",UI_Spirit_Judge_Level_4:"Happy",UI_Spirit_Judge_Level_5:"Blissful ",UI_Spirit_Judge_Level_6:"Paradise",UI_AGE_Judge_Level_0:"Stillborn",UI_AGE_Judge_Level_1:"Early",UI_AGE_Judge_Level_2:"Young",UI_AGE_Judge_Level_3:"Heyday",UI_AGE_Judge_Level_4:"Middle",UI_AGE_Judge_Level_5:"Sexagenarian",UI_AGE_Judge_Level_6:"Septuagenarian",UI_AGE_Judge_Level_7:"Octogenarian",UI_AGE_Judge_Level_8:"Nonagenarian",UI_AGE_Judge_Level_9:"不老",UI_AGE_Judge_Level_10:"修仙",UI_AGE_Judge_Level_11:"仙寿",UI_Intelligence_Judge_Level_7:"识海",UI_Intelligence_Judge_Level_8:"元神",UI_Intelligence_Judge_Level_9:"仙魂",UI_Strength_Judge_Level_7:"凝气",UI_Strength_Judge_Level_8:"筑基",UI_Strength_Judge_Level_9:"金丹",UI_Strength_Judge_Level_10:"元婴",UI_Strength_Judge_Level_11:"仙体",UI_Remake_Times_Judge_Level_0:"Purple rate constant",UI_Remake_Times_Judge_Level_1:"Purple rate double",UI_Remake_Times_Judge_Level_2:"Purple rate triple",UI_Remake_Times_Judge_Level_3:"Purple rate Quadruple",UI_Remake_Times_Judge_Level_4:"Purple rate Quintuple",UI_Remake_Times_Judge_Level_5:"Purple rate Sextuple",UI_Achievement_Count_Judge_Level_0:"Orange rate constant",UI_Achievement_Count_Judge_Level_1:"Orange rate double",UI_Achievement_Count_Judge_Level_2:"Orange rate triple",UI_Achievement_Count_Judge_Level_3:"Orange rate Quadruple",UI_Achievement_Count_Judge_Level_4:"Orange rate Quintuple",UI_Achievement_Count_Judge_Level_5:"Orange rate Sextuple",UI_Support_Programmer:"Programmer",UI_Support_Designer:"Designer",UI_Save:"Save",UI_Load:"Load",UI_Read:"Copy",UI_Write:"Paste",UI_CopySuccess:"Copy to clipboard success",UI_CopyFailed:"Copy to clipboard Failed",UI_PasteSuccessDecodeSuccess:"Load Success!",UI_PasteSuccessDecodeFailed:"Paste success, but load Failed!",UI_PasteFailedDecodeSuccess:"Paste Failed, use input load success!",UI_PasteFailedDecodeFailed:"Paste Failed, use input load Failed!",UI_LoadSuccess:"Load Success!",UI_LoadFailed:"Load Failed!",UI_Title_Celebrity:"Past life was...",UI_CustomMode:"Custom",UI_CustomModeDescription:`10 Talent
|
||||
Custom property`,UI_CelebrityMode:"Celebrity",UI_CelebrityModeDescription:`Past life is celebrity
|
||||
Rebirth to modern`,UI_AllNot:"↻All Not",UI_UniqueWaTaShi:"Unique of mine",UI_UniqueWaTaShiContent:`
|
||||
Unique character card different from other 60 million player
|
||||
All property, All talent, All random
|
||||
All has only one chance`,UI_GenerateNow:"Generate Now",M_NoRank:"There is no rank",M_PleaseSelectOne:"Please Select One",M_UnGenerate:"Unique Character no generate",M_DisableExtendTalent:"Celebrity mode can't extends talent",F_RemakeTimes:"Remake {0} Times",F_AchievementCount:"Achievement {0}",F_TalentSelection:"{name} ({description})",F_TalentConflict:"Conflict with talent ({0})",F_TalentSelectLimit:"Talent select limit {0}",F_TalentSelectNotComplect:"Please select {0} talent",F_PropertyPointLeft:"You have left {0} property point",F_TalentReplace:"Talent replace [{source.name}] -> [{target.name}]",F_PropertyStr:"CHR{CHR} INT{INT} STR{STR} MNY{MNY}"};export{e as default};
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
||||
class e extends ui.view.LoadingUI{constructor(){super()}static load(){return["images/atlas/images/resource.atlas"]}show(){}onProgress(a){}}export{e as default};
|
||||
@@ -0,0 +1 @@
|
||||
var e=class extends ui.view.LoadingUI{constructor(){super()}static load(){return[`images/atlas/images/resource.atlas`]}show(){}onProgress(e){}};export{e as default};
|
||||
@@ -1 +0,0 @@
|
||||
class s extends ui.view.DefaultTheme.MainUI{constructor(){super(),this.btnRemake.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.MODE)),this.btnAchievement.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.ACHIEVEMENT)),this.btnThanks.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.THANKS)),this.btnGithub.on(Laya.Event.CLICK,this,goto,["github"]),this.btnDiscord.on(Laya.Event.CLICK,this,goto,["discord"]),this.btnThemes.on(Laya.Event.CLICK,this,()=>$ui.showDialog(UI.pages.THEMES)),this.btnSaveLoad.on(Laya.Event.CLICK,this,()=>$ui.showDialog(UI.pages.SAVELOAD))}static load(){return["images/atlas/images/icons.atlas"]}init(){this.banner.visible=this.btnDiscord.visible=this.btnAchievement.visible=this.btnThanks.visible=!!core.times;const t=this.labSubTitle.text;this.labSubTitle.text=" ",this.labSubTitle.text=t}}export{s as default};
|
||||
@@ -0,0 +1 @@
|
||||
var e=class extends ui.view.DefaultTheme.MainUI{constructor(){super(),this.btnRemake.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.MODE)),this.btnAchievement.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.ACHIEVEMENT)),this.btnThanks.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.THANKS)),this.btnGithub.on(Laya.Event.CLICK,this,goto,[`github`]),this.btnDiscord.on(Laya.Event.CLICK,this,goto,[`discord`]),this.btnThemes.on(Laya.Event.CLICK,this,()=>$ui.showDialog(UI.pages.THEMES)),this.btnSaveLoad.on(Laya.Event.CLICK,this,()=>$ui.showDialog(UI.pages.SAVELOAD))}static load(){return[`images/atlas/images/icons.atlas`]}init(){this.banner.visible=this.btnDiscord.visible=this.btnAchievement.visible=this.btnThanks.visible=!!core.times;let e=this.labSubTitle.text;this.labSubTitle.text=` `,this.labSubTitle.text=e}};export{e as default};
|
||||
@@ -0,0 +1 @@
|
||||
var e=class extends ui.view.CyberTheme.CyberMainUI{constructor(){super(),this.btnRemake.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.MODE)),this.btnAchievement.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.ACHIEVEMENT)),this.btnThanks.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.THANKS)),this.btnGithub.on(Laya.Event.CLICK,this,goto,[`github`]),this.btnDiscord.on(Laya.Event.CLICK,this,goto,[`discord`]),this.btnThemes.on(Laya.Event.CLICK,this,()=>$ui.showDialog(UI.pages.THEMES)),this.btnSaveLoad.on(Laya.Event.CLICK,this,()=>$ui.showDialog(UI.pages.SAVELOAD)),this.on(Laya.Event.RESIZE,this,()=>{let e=Math.max(this.width/this.imgBg.width,this.height/this.imgBg.height);this.imgBg.scale(e,e)})}static load(){return[`fonts/方正像素12.ttf`,`images/atlas/images/accessories.atlas`,`images/atlas/images/border.atlas`,`images/atlas/images/button.atlas`,`images/atlas/images/icons.atlas`,`images/atlas/images/progress.atlas`,`images/atlas/images/slider.atlas`]}init(){this.banner.visible=this.btnDiscord.visible=this.btnAchievement.visible=this.btnThanks.visible=!!core.times}};export{e as default};
|
||||
@@ -1 +0,0 @@
|
||||
class i extends ui.view.CyberTheme.CyberMainUI{constructor(){super(),this.btnRemake.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.MODE)),this.btnAchievement.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.ACHIEVEMENT)),this.btnThanks.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.THANKS)),this.btnGithub.on(Laya.Event.CLICK,this,goto,["github"]),this.btnDiscord.on(Laya.Event.CLICK,this,goto,["discord"]),this.btnThemes.on(Laya.Event.CLICK,this,()=>$ui.showDialog(UI.pages.THEMES)),this.btnSaveLoad.on(Laya.Event.CLICK,this,()=>$ui.showDialog(UI.pages.SAVELOAD)),this.on(Laya.Event.RESIZE,this,()=>{const s=Math.max(this.width/this.imgBg.width,this.height/this.imgBg.height);this.imgBg.scale(s,s)})}static load(){return["fonts/方正像素12.ttf","images/atlas/images/accessories.atlas","images/atlas/images/border.atlas","images/atlas/images/button.atlas","images/atlas/images/icons.atlas","images/atlas/images/progress.atlas","images/atlas/images/slider.atlas"]}init(){this.banner.visible=this.btnDiscord.visible=this.btnAchievement.visible=this.btnThanks.visible=!!core.times}}export{i as default};
|
||||
@@ -0,0 +1 @@
|
||||
var e=class extends ui.view.MessagePopupUI{constructor(){super(),this.left=this.right=0,this.boxBg.defaultColor=`#000000`,this.boxBg.hoverColor=`#000000`,this.boxBg.radius=20}async popup({message:e},t){this.message.text=e,this.message.commitMeasure(),this.height=this.message.height+this.boxBg.radius*2+this.message.fontSize,Laya.Tween.clearAll(this),this.alpha=0,this.y=-2*this.height,await Laya.promises.Tween.to(this,{y:0,alpha:1},300,Laya.Ease.backOut),await Laya.promises.Tween.to(this,{alpha:0},300,Laya.Ease.strongIn,3e3)}};export{e as default};
|
||||
@@ -1 +0,0 @@
|
||||
class t extends ui.view.MessagePopupUI{constructor(){super(),this.left=this.right=0,this.boxBg.defaultColor="#000000",this.boxBg.hoverColor="#000000",this.boxBg.radius=20}async popup({message:s},a){this.message.text=s,this.message.commitMeasure(),this.height=this.message.height+this.boxBg.radius*2+this.message.fontSize,Laya.Tween.clearAll(this),this.alpha=0,this.y=-2*this.height,await Laya.promises.Tween.to(this,{y:0,alpha:1},300,Laya.Ease.backOut),await Laya.promises.Tween.to(this,{alpha:0},300,Laya.Ease.strongIn,3e3)}}export{t as default};
|
||||
@@ -1 +0,0 @@
|
||||
class t extends ui.view.CyberTheme.ModeUI{constructor(){super(),this.btnCustom.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.TALENT)),this.btnCelebrity.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.CELEBRITY))}}export{t as default};
|
||||
@@ -0,0 +1 @@
|
||||
var e=class extends ui.view.DefaultTheme.ModeUI{constructor(){super(),this.btnCustom.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.TALENT)),this.btnCelebrity.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.CELEBRITY))}};export{e as default};
|
||||
@@ -0,0 +1 @@
|
||||
var e=class extends ui.view.CyberTheme.ModeUI{constructor(){super(),this.btnCustom.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.TALENT)),this.btnCelebrity.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.CELEBRITY))}};export{e as default};
|
||||
@@ -1 +0,0 @@
|
||||
class t extends ui.view.DefaultTheme.ModeUI{constructor(){super(),this.btnCustom.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.TALENT)),this.btnCelebrity.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.CELEBRITY))}}export{t as default};
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
var e=class extends ui.view.DefaultTheme.PropertyUI{constructor(){super();let e=this.#e=core.PropertyTypes;this.btnCharmIncrease.on(Laya.Event.CLICK,this,this.onPropertyAllocate,[e.CHR,1]),this.btnCharmReduce.on(Laya.Event.CLICK,this,this.onPropertyAllocate,[e.CHR,-1]),this.btnIntelligenceIncrease.on(Laya.Event.CLICK,this,this.onPropertyAllocate,[e.INT,1]),this.btnIntelligenceReduce.on(Laya.Event.CLICK,this,this.onPropertyAllocate,[e.INT,-1]),this.btnStrengthIncrease.on(Laya.Event.CLICK,this,this.onPropertyAllocate,[e.STR,1]),this.btnStrengthReduce.on(Laya.Event.CLICK,this,this.onPropertyAllocate,[e.STR,-1]),this.btnMoneyIncrease.on(Laya.Event.CLICK,this,this.onPropertyAllocate,[e.MNY,1]),this.btnMoneyReduce.on(Laya.Event.CLICK,this,this.onPropertyAllocate,[e.MNY,-1]),this.inputCharm.on(Laya.Event.INPUT,this,this.onPropertyAllocateInput,[e.CHR]),this.inputIntelligence.on(Laya.Event.INPUT,this,this.onPropertyAllocateInput,[e.INT]),this.inputStrength.on(Laya.Event.INPUT,this,this.onPropertyAllocateInput,[e.STR]),this.inputMoney.on(Laya.Event.INPUT,this,this.onPropertyAllocateInput,[e.MNY]);let t=({currentTarget:e})=>{e.text=``};this.inputCharm.on(Laya.Event.MOUSE_DOWN,this,t),this.inputIntelligence.on(Laya.Event.MOUSE_DOWN,this,t),this.inputStrength.on(Laya.Event.MOUSE_DOWN,this,t),this.inputMoney.on(Laya.Event.MOUSE_DOWN,this,t),this.btnRandomAllocate.on(Laya.Event.CLICK,this,this.random),this.btnNext.on(Laya.Event.CLICK,this,this.next),this.listSelectedTalents.renderHandler=Laya.Handler.create(this,this.renderTalent,null,!1)}#e;#t;#n;#r;init({talents:e}){this.listSelectedTalents.array=e;let t=core.remake(e.map(e=>e.id));t.length>0&&$$event(`message`,[t.map(e=>[`F_TalentReplace`,e])]),this.#t=core.getPropertyPoints(),this.#r=core.propertyAllocateLimit,this.labLeftPropertyPoint.text=this.#t,this.#n={[this.#e.CHR]:0,[this.#e.INT]:0,[this.#e.STR]:0,[this.#e.MNY]:0},this.updateAllocate()}next(){let e=this.#t-this.total;if(e>0)return $$event(`message`,[`F_PropertyPointLeft`,e]);$ui.switchView(UI.pages.TRAJECTORY,{propertyAllocate:this.#n,talents:this.listSelectedTalents.array,enableExtend:!0})}get total(){return this.#n[this.#e.CHR]+this.#n[this.#e.INT]+this.#n[this.#e.STR]+this.#n[this.#e.MNY]}updateAllocate(){let e=this.#n[this.#e.CHR],t=this.#n[this.#e.INT],n=this.#n[this.#e.STR],r=this.#n[this.#e.MNY];this.inputCharm.text=``+e,this.inputIntelligence.text=``+t,this.inputStrength.text=``+n,this.inputMoney.text=``+r,this.labLeftPropertyPoint.text=this.#t-this.total,this.btnCharmIncrease.disabled=this.btnCharmIncrease.gray=!1,this.btnCharmReduce.disabled=this.btnCharmReduce.gray=!1,this.btnIntelligenceIncrease.disabled=this.btnIntelligenceIncrease.gray=!1,this.btnIntelligenceReduce.disabled=this.btnIntelligenceReduce.gray=!1,this.btnStrengthIncrease.disabled=this.btnStrengthIncrease.gray=!1,this.btnStrengthReduce.disabled=this.btnStrengthReduce.gray=!1,this.btnMoneyIncrease.disabled=this.btnMoneyIncrease.gray=!1,this.btnMoneyReduce.disabled=this.btnMoneyReduce.gray=!1}check(e,t,n){return!(n<e||n>t)}random(){let e=this.#t,t=[,,,,].fill(this.#r[1]);for(;e>0;){let n=Math.round(Math.random()*(Math.min(e,this.#r[1])-1))+1;for(;;){let r=Math.floor(Math.random()*4)%4;if(!(t[r]-n<0)){t[r]-=n,e-=n;break}}}this.#n[this.#e.CHR]=this.#r[1]-t[0],this.#n[this.#e.INT]=this.#r[1]-t[1],this.#n[this.#e.STR]=this.#r[1]-t[2],this.#n[this.#e.MNY]=this.#r[1]-t[3],this.updateAllocate()}onPropertyAllocate(e,t){this.check(this.#r[0],this.#r[1],this.#n[e]+t)&&this.check(0,this.#t,this.total+t)&&(this.#n[e]+=t,this.updateAllocate())}onPropertyAllocateInput(e,t){let n=parseInt(t.text)||0,r=this.total;r+n<0?n=this.#r[0]*4-r:r+n>this.#t&&(n=this.#t-r),n<this.#r[0]?n=this.#r[0]:n>this.#r[1]&&(n=this.#r[1]);let i=n-this.#n[e];i?this.onPropertyAllocate(e,i):this.updateAllocate()}renderTalent(e){let t=e.dataSource;e.label=$_.format($lang.F_TalentSelection,t);let n=$ui.common.card[t.grade].normal;$_.deepMapSet(e,n)}};export{e as default};
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
||||
class h extends ui.view.DefaultTheme.PropertyUI{constructor(){super();const t=this.#t=core.PropertyTypes;this.btnCharmIncrease.on(Laya.Event.CLICK,this,this.onPropertyAllocate,[t.CHR,1]),this.btnCharmReduce.on(Laya.Event.CLICK,this,this.onPropertyAllocate,[t.CHR,-1]),this.btnIntelligenceIncrease.on(Laya.Event.CLICK,this,this.onPropertyAllocate,[t.INT,1]),this.btnIntelligenceReduce.on(Laya.Event.CLICK,this,this.onPropertyAllocate,[t.INT,-1]),this.btnStrengthIncrease.on(Laya.Event.CLICK,this,this.onPropertyAllocate,[t.STR,1]),this.btnStrengthReduce.on(Laya.Event.CLICK,this,this.onPropertyAllocate,[t.STR,-1]),this.btnMoneyIncrease.on(Laya.Event.CLICK,this,this.onPropertyAllocate,[t.MNY,1]),this.btnMoneyReduce.on(Laya.Event.CLICK,this,this.onPropertyAllocate,[t.MNY,-1]),this.inputCharm.on(Laya.Event.INPUT,this,this.onPropertyAllocateInput,[t.CHR]),this.inputIntelligence.on(Laya.Event.INPUT,this,this.onPropertyAllocateInput,[t.INT]),this.inputStrength.on(Laya.Event.INPUT,this,this.onPropertyAllocateInput,[t.STR]),this.inputMoney.on(Laya.Event.INPUT,this,this.onPropertyAllocateInput,[t.MNY]);const e=({currentTarget:s})=>{s.text=""};this.inputCharm.on(Laya.Event.MOUSE_DOWN,this,e),this.inputIntelligence.on(Laya.Event.MOUSE_DOWN,this,e),this.inputStrength.on(Laya.Event.MOUSE_DOWN,this,e),this.inputMoney.on(Laya.Event.MOUSE_DOWN,this,e),this.btnRandomAllocate.on(Laya.Event.CLICK,this,this.random),this.btnNext.on(Laya.Event.CLICK,this,this.next),this.listSelectedTalents.renderHandler=Laya.Handler.create(this,this.renderTalent,null,!1)}#t;#i;#e;#s;init({talents:t}){this.listSelectedTalents.array=t;const e=core.remake(t.map(s=>s.id));e.length>0&&$$event("message",[e.map(s=>["F_TalentReplace",s])]),this.#i=core.getPropertyPoints(),this.#s=core.propertyAllocateLimit,this.labLeftPropertyPoint.text=this.#i,this.#e={[this.#t.CHR]:0,[this.#t.INT]:0,[this.#t.STR]:0,[this.#t.MNY]:0},this.updateAllocate()}next(){const t=this.#i-this.total;if(t>0)return $$event("message",["F_PropertyPointLeft",t]);$ui.switchView(UI.pages.TRAJECTORY,{propertyAllocate:this.#e,talents:this.listSelectedTalents.array,enableExtend:!0})}get total(){return this.#e[this.#t.CHR]+this.#e[this.#t.INT]+this.#e[this.#t.STR]+this.#e[this.#t.MNY]}updateAllocate(){const t=this.#e[this.#t.CHR],e=this.#e[this.#t.INT],s=this.#e[this.#t.STR],i=this.#e[this.#t.MNY];this.inputCharm.text=""+t,this.inputIntelligence.text=""+e,this.inputStrength.text=""+s,this.inputMoney.text=""+i,this.labLeftPropertyPoint.text=this.#i-this.total,this.btnCharmIncrease.disabled=this.btnCharmIncrease.gray=!1,this.btnCharmReduce.disabled=this.btnCharmReduce.gray=!1,this.btnIntelligenceIncrease.disabled=this.btnIntelligenceIncrease.gray=!1,this.btnIntelligenceReduce.disabled=this.btnIntelligenceReduce.gray=!1,this.btnStrengthIncrease.disabled=this.btnStrengthIncrease.gray=!1,this.btnStrengthReduce.disabled=this.btnStrengthReduce.gray=!1,this.btnMoneyIncrease.disabled=this.btnMoneyIncrease.gray=!1,this.btnMoneyReduce.disabled=this.btnMoneyReduce.gray=!1}check(t,e,s){return!(s<t||s>e)}random(){let t=this.#i;const e=new Array(4).fill(this.#s[1]);for(;t>0;){const s=Math.round(Math.random()*(Math.min(t,this.#s[1])-1))+1;for(;;){const i=Math.floor(Math.random()*4)%4;if(!(e[i]-s<0)){e[i]-=s,t-=s;break}}}this.#e[this.#t.CHR]=this.#s[1]-e[0],this.#e[this.#t.INT]=this.#s[1]-e[1],this.#e[this.#t.STR]=this.#s[1]-e[2],this.#e[this.#t.MNY]=this.#s[1]-e[3],this.updateAllocate()}onPropertyAllocate(t,e){this.check(this.#s[0],this.#s[1],this.#e[t]+e)&&this.check(0,this.#i,this.total+e)&&(this.#e[t]+=e,this.updateAllocate())}onPropertyAllocateInput(t,e){let s=parseInt(e.text)||0;const i=this.total;i+s<0?s=this.#s[0]*4-i:i+s>this.#i&&(s=this.#i-i),s<this.#s[0]?s=this.#s[0]:s>this.#s[1]&&(s=this.#s[1]);const n=s-this.#e[t];n?this.onPropertyAllocate(t,n):this.updateAllocate()}renderTalent(t){const e=t.dataSource;t.label=$_.format($lang.F_TalentSelection,e);const s=$ui.common.card[e.grade].normal;$_.deepMapSet(t,s)}}export{h as default};
|
||||
@@ -0,0 +1,36 @@
|
||||
var e=class extends ui.view.SaveLoadUI{constructor(){super(),this.btnClose.on(Laya.Event.CLICK,this,async()=>{await this.close(),$ui.switchView(UI.pages.MAIN)}),this.btnRead.on(Laya.Event.CLICK,this,async()=>{let e=await $$copy(this.input.text=this.data);$$event(`message`,[e?`UI_CopySuccess`:`UI_CopyFailed`])}),this.btnWrite.on(Laya.Event.CLICK,this,async()=>{let e=await $$read();e==0?this.data=[this.input.text,`UI_PasteFailedDecodeSuccess`,`UI_PasteFailedDecodeFailed`]:(this.input.text=e,this.data=[e,`UI_PasteSuccessDecodeSuccess`,`UI_PasteSuccessDecodeFailed`])}),this.btnSave.on(Laya.Event.CLICK,this,()=>{let e=new Blob([this.data],{type:`application/json`});e=(e.slice||e.webkitSlice||e.mozSlice).call(e,0,e.size,`application/octet-stream`);let t=document.createElementNS(`http://www.w3.org/1999/xhtml`,`a`);t.href=URL.createObjectURL(e),t.download=`Remake_save_${new Date().toISOString().replace(`:`,`.`)}.json`,document.body.appendChild(t),t.click(),document.body.removeChild(t),URL.revokeObjectURL(t.href)}),this.btnLoad.on(Laya.Event.CLICK,this,()=>{let e=document.createElement(`input`);e.setAttribute(`type`,`file`),e.setAttribute(`name`,`file`),e.setAttribute(`accept`,`application/json`),e.setAttribute(`style`,`display: none;`),document.body.appendChild(e),e.click(),e.onchange=e=>{let t=e.target.files[0];if(!t)return;let n=new FileReader;n.onload=()=>this.data=[n.result],n.readAsText(t),document.body.removeChild(t)}}),this.input.on(Laya.Event.MOUSE_DOWN,this,()=>{this.input.setSelection(0,this.input.text.length)}),this.btnBackup.on(Laya.Event.CLICK,this,()=>{let e=document.createElement(`div`);document.body.appendChild(e),e.style=`
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
opacity: 0.95`;let t=document.createElement(`div`);t.style=`
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: #fff;
|
||||
opacity: 0.95`,document.body.appendChild(e),e.appendChild(t);let n=document.createElement(`textarea`);n.style=`position: absolute; width: ${window.innerWidth}px; height: ${window.innerHeight}px;`,n.value=JSON.stringify(JSON.parse(this.data),null,4),e.appendChild(n);let r=document.createElement(`div`);r.style=`
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background: red;
|
||||
font-size:100px;
|
||||
padding: 0;
|
||||
line-height: 100px;
|
||||
color: white;
|
||||
opacity: 0.7`,r.innerHTML=`×`,e.appendChild(r),r.onclick=()=>e.remove();let i=document.createElement(`div`);i.style=`
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background: limegreen;
|
||||
font-size: 35px;
|
||||
padding: 0;
|
||||
line-height: 50px;
|
||||
color: white;
|
||||
opacity: 0.7`,i.innerHTML=`LOAD<br>读取`,e.appendChild(i),i.onclick=()=>this.data=[n.value,`成功/success`,`失败/failed`,!0]})}static load(){return[`images/atlas/images/radio.atlas`]}init(){this.input.text=this.data}get data(){let e={};return Object.keys(localStorage).filter(e=>e.substr(0,4)!=`goog`).forEach(t=>e[t]=localStorage[t]),JSON.stringify(e)}set data([e,t=`UI_LoadSuccess`,n=`UI_LoadFailed`,r]){try{let n=JSON.parse(e);for(let e in n)localStorage.setItem(e,n[e]);r?alert(t):$$event(`message`,[t]),$ui.theme=$ui.theme,this.btnClose.event(Laya.Event.CLICK)}catch(e){console.error(e),r?alert(`${n}\n${e}`):$$event(`message`,[n])}}};export{e as default};
|
||||
@@ -1,37 +0,0 @@
|
||||
class c extends ui.view.SaveLoadUI{constructor(){super(),this.btnClose.on(Laya.Event.CLICK,this,async()=>{await this.close(),$ui.switchView(UI.pages.MAIN)}),this.btnRead.on(Laya.Event.CLICK,this,async()=>{const t=await $$copy(this.input.text=this.data);$$event("message",[t?"UI_CopySuccess":"UI_CopyFailed"])}),this.btnWrite.on(Laya.Event.CLICK,this,async()=>{const t=await $$read();t==!1?this.data=[this.input.text,"UI_PasteFailedDecodeSuccess","UI_PasteFailedDecodeFailed"]:(this.input.text=t,this.data=[t,"UI_PasteSuccessDecodeSuccess","UI_PasteSuccessDecodeFailed"])}),this.btnSave.on(Laya.Event.CLICK,this,()=>{let t=new Blob([this.data],{type:"application/json"});t=(t.slice||t.webkitSlice||t.mozSlice).call(t,0,t.size,"application/octet-stream");const e=document.createElementNS("http://www.w3.org/1999/xhtml","a");e.href=URL.createObjectURL(t),e.download=`Remake_save_${new Date().toISOString().replace(":",".")}.json`,document.body.appendChild(e),e.click(),document.body.removeChild(e),URL.revokeObjectURL(e.href)}),this.btnLoad.on(Laya.Event.CLICK,this,()=>{const t=document.createElement("input");t.setAttribute("type","file"),t.setAttribute("name","file"),t.setAttribute("accept","application/json"),t.setAttribute("style","display: none;"),document.body.appendChild(t),t.click(),t.onchange=a=>{const e=a.target.files[0];if(!e)return;const i=new FileReader;i.onload=()=>this.data=[i.result],i.readAsText(e),document.body.removeChild(e)}}),this.input.on(Laya.Event.MOUSE_DOWN,this,()=>{this.input.setSelection(0,this.input.text.length)}),this.btnBackup.on(Laya.Event.CLICK,this,()=>{const t=document.createElement("div");document.body.appendChild(t),t.style=`
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
opacity: 0.95`;const a=document.createElement("div");a.style=`
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: #fff;
|
||||
opacity: 0.95`,document.body.appendChild(t),t.appendChild(a);const e=document.createElement("textarea");e.style=`position: absolute; width: ${window.innerWidth}px; height: ${window.innerHeight}px;`,e.value=JSON.stringify(JSON.parse(this.data),null,4),t.appendChild(e);const i=document.createElement("div");i.style=`
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background: red;
|
||||
font-size:100px;
|
||||
padding: 0;
|
||||
line-height: 100px;
|
||||
color: white;
|
||||
opacity: 0.7`,i.innerHTML="×",t.appendChild(i),i.onclick=()=>t.remove();const o=document.createElement("div");o.style=`
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background: limegreen;
|
||||
font-size: 35px;
|
||||
padding: 0;
|
||||
line-height: 50px;
|
||||
color: white;
|
||||
opacity: 0.7`,o.innerHTML="LOAD<br>读取",t.appendChild(o),o.onclick=()=>this.data=[e.value,"成功/success","失败/failed",!0]})}static load(){return["images/atlas/images/radio.atlas"]}init(){this.input.text=this.data}get data(){const t={};return Object.keys(localStorage).filter(a=>a.substr(0,4)!="goog").forEach(a=>t[a]=localStorage[a]),JSON.stringify(t)}set data([t,a="UI_LoadSuccess",e="UI_LoadFailed",i]){try{const o=JSON.parse(t);for(const n in o)localStorage.setItem(n,o[n]);i?alert(a):$$event("message",[a]),$ui.theme=$ui.theme,this.btnClose.event(Laya.Event.CLICK)}catch(o){console.error(o),i?alert(`${e}
|
||||
${o}`):$$event("message",[e])}}}export{c as default};
|
||||
@@ -0,0 +1 @@
|
||||
var e=class extends ui.view.CyberTheme.CyberSummaryUI{constructor(){super(),this.listSelectedTalents.renderHandler=Laya.Handler.create(this,this.renderTalent,null,!1),this.btnAgain.on(Laya.Event.CLICK,this,this.onAgain)}#e;#t;onAgain(){core.talentExtend(this.#e),core.times++,$ui.switchView(UI.pages.MAIN)}init({talents:e,enableExtend:t}){let{summary:n,lastExtendTalent:r}=core;this.#t=t;let i=$ui.common.filter,a=$ui.common.grade,o=n[core.PropertyTypes.HAGE];this.labAge.text=``+o.value,this.labAgeJudge.text=o.judge,this.labAgeJudge.color=a[o.grade];let s=n[core.PropertyTypes.SUM];this.labTotal.text=``+s.value,this.labTotalJudge.text=s.judge,this.labTotalJudge.color=a[s.grade];let c=n[core.PropertyTypes.HCHR];this.labCharm.text=``+c.value,this.prgCharm.value=c.progress,this.labCharmJudge.text=c.judge,this.labCharmJudge.color=a[c.grade],this.boxCharmGrade.colorFilter=i[c.grade];let l=n[core.PropertyTypes.HINT];this.labIntelligence.text=``+l.value,this.prgIntelligence.value=l.progress,this.labIntelligenceJudge.text=l.judge,this.labIntelligenceJudge.color=a[l.grade],this.boxIntelligenceGrade.colorFilter=i[l.grade];let u=n[core.PropertyTypes.HSTR];this.labStrength.text=``+u.value,this.prgStrength.value=u.progress,this.labStrengthJudge.text=u.judge,this.labStrengthJudge.color=a[u.grade],this.boxStrengthGrade.colorFilter=i[u.grade];let d=n[core.PropertyTypes.HMNY];this.labMoney.text=``+d.value,this.prgMoney.value=d.progress,this.labMoneyJudge.text=d.judge,this.labMoneyJudge.color=a[d.grade],this.boxMoneyGrade.colorFilter=i[d.grade];let f=n[core.PropertyTypes.HSPR];this.labSpirit.text=``+f.value,this.prgSpirit.value=f.progress,this.labSpiritJudge.text=f.judge,this.labSpiritJudge.color=a[f.grade],this.boxSpiritGrade.colorFilter=i[f.grade],e.sort(({id:e,grade:t},{id:n,grade:i})=>e==r?-1:n==r?1:i-t),this.#t?this.#e=e[0].id:this.#e=r,this.listSelectedTalents.array=e}renderTalent(e){let t=e.dataSource,n=e.getChildByName(`labTitle`),r=e.getChildByName(`grade1`),i=e.getChildByName(`grade2`),a=e.getChildByName(`grade3`),o=e.getChildByName(`labDescription`),s=e.getChildByName(`selected`),c=e.getChildByName(`unselected`);switch(n.text=t.name,o.text=t.description,t.grade){case 1:r.visible=!0,i.visible=!1,a.visible=!1;break;case 2:r.visible=!1,i.visible=!0,a.visible=!1;break;case 3:r.visible=!1,i.visible=!1,a.visible=!0;break;default:r.visible=!1,i.visible=!1,a.visible=!1;break}s.visible=t.id==this.#e,c.visible=!s.visible,e.off(Laya.Event.CLICK,this,this.onSelectTalent),e.on(Laya.Event.CLICK,this,this.onSelectTalent,[t.id])}onSelectTalent(e){if(!this.#t)return $$event(`message`,[`M_DisableExtendTalent`]);e==this.#e?this.#e=null:this.#e=e,this.listSelectedTalents.refresh()}};export{e as default};
|
||||
@@ -1 +0,0 @@
|
||||
class d extends ui.view.DefaultTheme.SummaryUI{constructor(){super(),this.listSummary.renderHandler=Laya.Handler.create(this,this.renderSummary,null,!1),this.listSelectedTalents.renderHandler=Laya.Handler.create(this,this.renderTalent,null,!1),this.btnAgain.on(Laya.Event.CLICK,this,this.onAgain)}#e;#t;onAgain(){core.talentExtend(this.#e),core.times++,$ui.switchView(UI.pages.MAIN)}init({talents:e,enableExtend:t}){const{summary:r,lastExtendTalent:n}=core;this.#t=t,this.listSummary.array=[[core.PropertyTypes.HCHR,$lang.UI_Property_Charm],[core.PropertyTypes.HINT,$lang.UI_Property_Intelligence],[core.PropertyTypes.HSTR,$lang.UI_Property_Strength],[core.PropertyTypes.HMNY,$lang.UI_Property_Money],[core.PropertyTypes.HSPR,$lang.UI_Property_Spirit],[core.PropertyTypes.HAGE,$lang.UI_Final_Age],[core.PropertyTypes.SUM,$lang.UI_Total_Judge]].map(([l,s])=>{const a=r[l];return{label:`${s}${$lang.UI_Colon} ${a.value} ${$lang[a.judge]}`,grade:a.grade}}),e.sort(({id:l,grade:s},{id:a,grade:i})=>l==n?-1:a==n?1:i-s),this.#t?this.#e=e[0].id:this.#e=n,this.listSelectedTalents.array=e}renderSummary(e){const{label:t,grade:r}=e.dataSource;e.label=t,$_.deepMapSet(e,$ui.common.summary[r])}renderTalent(e){const t=e.dataSource;e.label=$_.format($lang.F_TalentSelection,t);const r=$ui.common.card[t.grade];$_.deepMapSet(e,t.id==this.#e?r.selected:r.normal),e.getChildByName("blank").pause=t.id!=this.#e,e.off(Laya.Event.CLICK,this,this.onSelectTalent),e.on(Laya.Event.CLICK,this,this.onSelectTalent,[t.id])}onSelectTalent(e){if(!this.#t)return $$event("message",["M_DisableExtendTalent"]);e==this.#e?this.#e=null:this.#e=e,this.listSelectedTalents.refresh()}}export{d as default};
|
||||
@@ -0,0 +1 @@
|
||||
var e=class extends ui.view.DefaultTheme.SummaryUI{constructor(){super(),this.listSummary.renderHandler=Laya.Handler.create(this,this.renderSummary,null,!1),this.listSelectedTalents.renderHandler=Laya.Handler.create(this,this.renderTalent,null,!1),this.btnAgain.on(Laya.Event.CLICK,this,this.onAgain)}#e;#t;onAgain(){core.talentExtend(this.#e),core.times++,$ui.switchView(UI.pages.MAIN)}init({talents:e,enableExtend:t}){let{summary:n,lastExtendTalent:r}=core;this.#t=t,this.listSummary.array=[[core.PropertyTypes.HCHR,$lang.UI_Property_Charm],[core.PropertyTypes.HINT,$lang.UI_Property_Intelligence],[core.PropertyTypes.HSTR,$lang.UI_Property_Strength],[core.PropertyTypes.HMNY,$lang.UI_Property_Money],[core.PropertyTypes.HSPR,$lang.UI_Property_Spirit],[core.PropertyTypes.HAGE,$lang.UI_Final_Age],[core.PropertyTypes.SUM,$lang.UI_Total_Judge]].map(([e,t])=>{let r=n[e];return{label:`${t}${$lang.UI_Colon} ${r.value} ${$lang[r.judge]}`,grade:r.grade}}),e.sort(({id:e,grade:t},{id:n,grade:i})=>e==r?-1:n==r?1:i-t),this.#t?this.#e=e[0].id:this.#e=r,this.listSelectedTalents.array=e}renderSummary(e){let{label:t,grade:n}=e.dataSource;e.label=t,$_.deepMapSet(e,$ui.common.summary[n])}renderTalent(e){let t=e.dataSource;e.label=$_.format($lang.F_TalentSelection,t);let n=$ui.common.card[t.grade];$_.deepMapSet(e,t.id==this.#e?n.selected:n.normal),e.getChildByName(`blank`).pause=t.id!=this.#e,e.off(Laya.Event.CLICK,this,this.onSelectTalent),e.on(Laya.Event.CLICK,this,this.onSelectTalent,[t.id])}onSelectTalent(e){if(!this.#t)return $$event(`message`,[`M_DisableExtendTalent`]);e==this.#e?this.#e=null:this.#e=e,this.listSelectedTalents.refresh()}};export{e as default};
|
||||
@@ -1 +0,0 @@
|
||||
class m extends ui.view.CyberTheme.CyberSummaryUI{constructor(){super(),this.listSelectedTalents.renderHandler=Laya.Handler.create(this,this.renderTalent,null,!1),this.btnAgain.on(Laya.Event.CLICK,this,this.onAgain)}#e;#t;onAgain(){core.talentExtend(this.#e),core.times++,$ui.switchView(UI.pages.MAIN)}init({talents:e,enableExtend:a}){const{summary:r,lastExtendTalent:i}=core;this.#t=a;const s=$ui.common.filter,t=$ui.common.grade,o=r[core.PropertyTypes.HAGE];this.labAge.text=""+o.value,this.labAgeJudge.text=o.judge,this.labAgeJudge.color=t[o.grade];const n=r[core.PropertyTypes.SUM];this.labTotal.text=""+n.value,this.labTotalJudge.text=n.judge,this.labTotalJudge.color=t[n.grade];const l=r[core.PropertyTypes.HCHR];this.labCharm.text=""+l.value,this.prgCharm.value=l.progress,this.labCharmJudge.text=l.judge,this.labCharmJudge.color=t[l.grade],this.boxCharmGrade.colorFilter=s[l.grade];const d=r[core.PropertyTypes.HINT];this.labIntelligence.text=""+d.value,this.prgIntelligence.value=d.progress,this.labIntelligenceJudge.text=d.judge,this.labIntelligenceJudge.color=t[d.grade],this.boxIntelligenceGrade.colorFilter=s[d.grade];const g=r[core.PropertyTypes.HSTR];this.labStrength.text=""+g.value,this.prgStrength.value=g.progress,this.labStrengthJudge.text=g.judge,this.labStrengthJudge.color=t[g.grade],this.boxStrengthGrade.colorFilter=s[g.grade];const h=r[core.PropertyTypes.HMNY];this.labMoney.text=""+h.value,this.prgMoney.value=h.progress,this.labMoneyJudge.text=h.judge,this.labMoneyJudge.color=t[h.grade],this.boxMoneyGrade.colorFilter=s[h.grade];const c=r[core.PropertyTypes.HSPR];this.labSpirit.text=""+c.value,this.prgSpirit.value=c.progress,this.labSpiritJudge.text=c.judge,this.labSpiritJudge.color=t[c.grade],this.boxSpiritGrade.colorFilter=s[c.grade],e.sort(({id:u,grade:b},{id:y,grade:p})=>u==i?-1:y==i?1:p-b),this.#t?this.#e=e[0].id:this.#e=i,this.listSelectedTalents.array=e}renderTalent(e){const a=e.dataSource,r=e.getChildByName("labTitle"),i=e.getChildByName("grade1"),s=e.getChildByName("grade2"),t=e.getChildByName("grade3"),o=e.getChildByName("labDescription"),n=e.getChildByName("selected"),l=e.getChildByName("unselected");switch(r.text=a.name,o.text=a.description,a.grade){case 1:i.visible=!0,s.visible=!1,t.visible=!1;break;case 2:i.visible=!1,s.visible=!0,t.visible=!1;break;case 3:i.visible=!1,s.visible=!1,t.visible=!0;break;default:i.visible=!1,s.visible=!1,t.visible=!1;break}n.visible=a.id==this.#e,l.visible=!n.visible,e.off(Laya.Event.CLICK,this,this.onSelectTalent),e.on(Laya.Event.CLICK,this,this.onSelectTalent,[a.id])}onSelectTalent(e){if(!this.#t)return $$event("message",["M_DisableExtendTalent"]);e==this.#e?this.#e=null:this.#e=e,this.listSelectedTalents.refresh()}}export{m as default};
|
||||
@@ -1 +0,0 @@
|
||||
class m extends ui.view.CyberTheme.CyberTalentUI{constructor(){super(),this.btnDrawCard.on(Laya.Event.CLICK,this,this.onClickDrawCard),this.btnNext.on(Laya.Event.CLICK,this,this.onClickNext),this.listTalents.renderHandler=Laya.Handler.create(this,this.renderTalent,null,!1),this.listTalents.scrollBar.elasticDistance=150,this.on(Laya.Event.RESIZE,this,()=>{const e=this.listTalents?._itemRender?.props?.width;if(e){const t=Math.max(Math.floor((this.width-40)/e),1);this.listTalents.width=t*e+(t-1)*(this.listTalents.spaceY||0)}})}#e=new Set;static load(){return["images/background/background_2@3x.png"]}init(){this.pageDrawCard.visible=!0,this.pageResult.visible=!1,this.btnNext.label="UI_Talent_Select_Uncomplete",this.#e.clear()}close(){}onClickDrawCard(){this.pageDrawCard.visible=!1,this.pageResult.visible=!0,this.listTalents.array=core.talentRandom()}onClickNext(){if(this.#e.size<core.talentSelectLimit)return $$event("message",["F_TalentSelectNotComplect",core.talentSelectLimit]);const e=[...this.#e].map(t=>this.listTalents.array[t]);$ui.switchView(UI.pages.PROPERTY,{talents:e,enableExtend:!0})}renderTalent(e,t){const r=e.dataSource,h=e.getChildByName("hboxTitle"),i=h.getChildByName("labTitle"),s=h.getChildByName("grades"),a=s.getChildByName("grade1"),l=s.getChildByName("grade2"),n=s.getChildByName("grade3"),v=e.getChildByName("labDescription"),d=e.getChildByName("unselected"),o=e.getChildByName("selected");switch(r.grade){case 1:s.x=0,i.x=1,a.visible=!0,l.visible=!1,n.visible=!1;break;case 2:s.x=0,i.x=1,a.visible=!1,l.visible=!0,n.visible=!1;break;case 3:s.x=0,i.x=1,a.visible=!1,l.visible=!1,n.visible=!0;break;default:s.x=1,i.x=0,a.visible=!1,l.visible=!1,n.visible=!1;break}i.text=r.name,i.event(Laya.Event.RESIZE),v.text=r.description,d.visible=!(o.visible=this.#e.has(t)),e.offAll(Laya.Event.CLICK),e.on(Laya.Event.CLICK,this,()=>{if(this.#e.has(t))this.#e.delete(t);else{if(this.#e.size>=core.talentSelectLimit)return $$event("message",["F_TalentSelectLimit",core.talentSelectLimit]);const b=core.exclude([...this.#e].map(c=>this.listTalents.array[c].id),this.listTalents.array[t].id);if(b!=null){for(const{name:c,id:C}of this.listTalents.array)if(b==C)return $$event("message",["F_TalentConflict",c]);return}this.#e.add(t)}this.btnNext.label=this.#e.size===core.talentSelectLimit?"UI_Next":"UI_Talent_Select_Uncomplete",d.visible=!(o.visible=this.#e.has(t))})}}export{m as default};
|
||||
@@ -0,0 +1 @@
|
||||
var e=class extends ui.view.CyberTheme.CyberTalentUI{constructor(){super(),this.btnDrawCard.on(Laya.Event.CLICK,this,this.onClickDrawCard),this.btnNext.on(Laya.Event.CLICK,this,this.onClickNext),this.listTalents.renderHandler=Laya.Handler.create(this,this.renderTalent,null,!1),this.listTalents.scrollBar.elasticDistance=150,this.on(Laya.Event.RESIZE,this,()=>{let e=this.listTalents?._itemRender?.props?.width;if(e){let t=Math.max(Math.floor((this.width-40)/e),1);this.listTalents.width=t*e+(t-1)*(this.listTalents.spaceY||0)}})}#e=new Set;static load(){return[`images/background/background_2@3x.png`]}init(){this.pageDrawCard.visible=!0,this.pageResult.visible=!1,this.btnNext.label=`UI_Talent_Select_Uncomplete`,this.#e.clear()}close(){}onClickDrawCard(){this.pageDrawCard.visible=!1,this.pageResult.visible=!0,this.listTalents.array=core.talentRandom()}onClickNext(){if(this.#e.size<core.talentSelectLimit)return $$event(`message`,[`F_TalentSelectNotComplect`,core.talentSelectLimit]);let e=[...this.#e].map(e=>this.listTalents.array[e]);$ui.switchView(UI.pages.PROPERTY,{talents:e,enableExtend:!0})}renderTalent(e,t){let n=e.dataSource,r=e.getChildByName(`hboxTitle`),i=r.getChildByName(`labTitle`),a=r.getChildByName(`grades`),o=a.getChildByName(`grade1`),s=a.getChildByName(`grade2`),c=a.getChildByName(`grade3`),l=e.getChildByName(`labDescription`),u=e.getChildByName(`unselected`),d=e.getChildByName(`selected`);switch(n.grade){case 1:a.x=0,i.x=1,o.visible=!0,s.visible=!1,c.visible=!1;break;case 2:a.x=0,i.x=1,o.visible=!1,s.visible=!0,c.visible=!1;break;case 3:a.x=0,i.x=1,o.visible=!1,s.visible=!1,c.visible=!0;break;default:a.x=1,i.x=0,o.visible=!1,s.visible=!1,c.visible=!1;break}i.text=n.name,i.event(Laya.Event.RESIZE),l.text=n.description,u.visible=!(d.visible=this.#e.has(t)),e.offAll(Laya.Event.CLICK),e.on(Laya.Event.CLICK,this,()=>{if(this.#e.has(t))this.#e.delete(t);else{if(this.#e.size>=core.talentSelectLimit)return $$event(`message`,[`F_TalentSelectLimit`,core.talentSelectLimit]);let e=core.exclude([...this.#e].map(e=>this.listTalents.array[e].id),this.listTalents.array[t].id);if(e!=null){for(let{name:t,id:n}of this.listTalents.array)if(e==n)return $$event(`message`,[`F_TalentConflict`,t]);return}this.#e.add(t)}this.btnNext.label=this.#e.size===core.talentSelectLimit?`UI_Next`:`UI_Talent_Select_Uncomplete`,u.visible=!(d.visible=this.#e.has(t))})}};export{e as default};
|
||||
@@ -0,0 +1 @@
|
||||
var e=class extends ui.view.DefaultTheme.TalentUI{constructor(){super(),this.btnDrawCard.on(Laya.Event.CLICK,this,this.onClickDrawCard),this.btnNext.on(Laya.Event.CLICK,this,this.onClickNext),this.listTalents.renderHandler=Laya.Handler.create(this,this.renderTalent,null,!1),this.listTalents.scrollBar.elasticDistance=150}#e=new Set;init(){this.pageDrawCard.visible=!0,this.pageResult.visible=!1,this.btnNext.label=`UI_Talent_Select_Uncomplete`,this.#e.clear()}close(){}onClickDrawCard(){this.pageDrawCard.visible=!1,this.pageResult.visible=!0,this.listTalents.array=core.talentRandom()}onClickNext(){if(this.#e.size<core.talentSelectLimit)return $$event(`message`,[`F_TalentSelectNotComplect`,core.talentSelectLimit]);let e=[...this.#e].map(e=>this.listTalents.array[e]);$ui.switchView(UI.pages.PROPERTY,{talents:e,enableExtend:!0})}renderTalent(e,t){let n=e.dataSource,r=e.getChildByName(`blank`);e.label=$_.format($lang.F_TalentSelection,n);let i=$ui.common.card[n.grade],a=()=>{let n=this.#e.has(t);r.pause=!n,$_.deepMapSet(e,n?i.selected:i.normal)};a(),e.offAll(Laya.Event.CLICK),e.on(Laya.Event.CLICK,this,()=>{if(this.#e.has(t))this.#e.delete(t);else{if(this.#e.size>=core.talentSelectLimit)return $$event(`message`,[`F_TalentSelectLimit`,core.talentSelectLimit]);let e=core.exclude([...this.#e].map(e=>this.listTalents.array[e].id),this.listTalents.array[t].id);if(e!=null){for(let{name:t,id:n}of this.listTalents.array)if(e==n)return $$event(`message`,[`F_TalentConflict`,t]);return}this.#e.add(t)}this.btnNext.label=this.#e.size===core.talentSelectLimit?`UI_Next`:`UI_Talent_Select_Uncomplete`,a()})}};export{e as default};
|
||||
@@ -1 +0,0 @@
|
||||
class o extends ui.view.DefaultTheme.TalentUI{constructor(){super(),this.btnDrawCard.on(Laya.Event.CLICK,this,this.onClickDrawCard),this.btnNext.on(Laya.Event.CLICK,this,this.onClickNext),this.listTalents.renderHandler=Laya.Handler.create(this,this.renderTalent,null,!1),this.listTalents.scrollBar.elasticDistance=150}#e=new Set;init(){this.pageDrawCard.visible=!0,this.pageResult.visible=!1,this.btnNext.label="UI_Talent_Select_Uncomplete",this.#e.clear()}close(){}onClickDrawCard(){this.pageDrawCard.visible=!1,this.pageResult.visible=!0,this.listTalents.array=core.talentRandom()}onClickNext(){if(this.#e.size<core.talentSelectLimit)return $$event("message",["F_TalentSelectNotComplect",core.talentSelectLimit]);const e=[...this.#e].map(t=>this.listTalents.array[t]);$ui.switchView(UI.pages.PROPERTY,{talents:e,enableExtend:!0})}renderTalent(e,t){const s=e.dataSource,r=e.getChildByName("blank");e.label=$_.format($lang.F_TalentSelection,s);const i=$ui.common.card[s.grade],n=()=>{const a=this.#e.has(t);r.pause=!a,$_.deepMapSet(e,a?i.selected:i.normal)};n(),e.offAll(Laya.Event.CLICK),e.on(Laya.Event.CLICK,this,()=>{if(this.#e.has(t))this.#e.delete(t);else{if(this.#e.size>=core.talentSelectLimit)return $$event("message",["F_TalentSelectLimit",core.talentSelectLimit]);const a=core.exclude([...this.#e].map(l=>this.listTalents.array[l].id),this.listTalents.array[t].id);if(a!=null){for(const{name:l,id:c}of this.listTalents.array)if(a==c)return $$event("message",["F_TalentConflict",l]);return}this.#e.add(t)}this.btnNext.label=this.#e.size===core.talentSelectLimit?"UI_Next":"UI_Talent_Select_Uncomplete",n()})}}export{o as default};
|
||||
@@ -0,0 +1 @@
|
||||
var e=class e extends ui.view.DefaultTheme.ThanksUI{constructor(){super(),this.btnBack.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.MAIN)),this.listSupports.renderHandler=Laya.Handler.create(this,this.renderSupport,null,!1),this.panelTopSupports.vScrollBar.elasticDistance=150,this.listSupports.scrollBar.elasticDistance=150,this.btnAFD.on(Laya.Event.CLICK,this,goto,[`sponsor_afd`]),this.btnDDF.on(Laya.Event.CLICK,this,goto,[`sponsor_ddf`])}static#e=Laya.plugin.extractComponents(e.uiView,[`boxTopSupport`]);#t(){let t=e.#e(`boxTopSupport`);return t.name=t.getChildByName(`name`),t.comment=t.getChildByName(`comment`),$_.deepMapSet(t,$ui.common.topSupportItem),t}#n;init(){let e=[];this.#n=[],core.specialThanks.sort(()=>.5-Math.random()).forEach(({group:t,name:n,comment:r,color:i})=>t==2?e.push({name:n,color:i}):this.renderTopSupport(n,r,i)),this.listSupports.array=e}renderTopSupport(e,t,n){let r=this.#t();r.name.text=e,r.comment.text=t,r.name.color=n||`#000000`,this.vboxTopSupports.addChild(r),this.#n.push(r),this.#n.forEach((e,t)=>e.y=t)}renderSupport(e){let{name:t,color:n}=e.dataSource;e.text=t,e.color=n||$ui.common.defaultFontColor}close(){this.#n.forEach(e=>{e.removeSelf(),e.destroy()}),this.#n=null}};export{e as default};
|
||||
@@ -1 +0,0 @@
|
||||
class p extends ui.view.DefaultTheme.ThanksUI{constructor(){super(),this.btnBack.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.MAIN)),this.listSupports.renderHandler=Laya.Handler.create(this,this.renderSupport,null,!1),this.panelTopSupports.vScrollBar.elasticDistance=150,this.listSupports.scrollBar.elasticDistance=150,this.btnAFD.on(Laya.Event.CLICK,this,goto,["sponsor_afd"]),this.btnDDF.on(Laya.Event.CLICK,this,goto,["sponsor_ddf"])}static#o=Laya.plugin.extractComponents(p.uiView,["boxTopSupport"]);#e(){const t=p.#o("boxTopSupport");return t.name=t.getChildByName("name"),t.comment=t.getChildByName("comment"),$_.deepMapSet(t,$ui.common.topSupportItem),t}#t;init(){const t=[];this.#t=[],core.specialThanks.sort(()=>.5-Math.random()).forEach(({group:s,name:e,comment:o,color:r})=>s==2?t.push({name:e,color:r}):this.renderTopSupport(e,o,r)),this.listSupports.array=t}renderTopSupport(t,s,e){const o=this.#e();o.name.text=t,o.comment.text=s,o.name.color=e||"#000000",this.vboxTopSupports.addChild(o),this.#t.push(o),this.#t.forEach((r,a)=>r.y=a)}renderSupport(t){const{name:s,color:e}=t.dataSource;t.text=s,t.color=e||$ui.common.defaultFontColor}close(){this.#t.forEach(t=>{t.removeSelf(),t.destroy()}),this.#t=null}}export{p as default};
|
||||
@@ -0,0 +1 @@
|
||||
var e=class extends ui.view.ThemesUI{constructor(){super(),this.btnClose.on(Laya.Event.CLICK,this,()=>this.close()),this.btnOK.on(Laya.Event.CLICK,this,async()=>{let e=this.selected;if(!e==$ui.theme)return this.close();$ui.theme=e,await this.close(),$ui.switchView(UI.pages.MAIN)})}static load(){return[`images/atlas/images/radio.atlas`]}init(){this.selected=localStorage.getItem(`theme`)}get selected(){switch(this.radioTheme.selectedIndex){case 0:return`cyber`;case 1:return`dark`;case 2:return`light`;default:return`default`}}set selected(e){let t;switch(e){case`cyber`:t=0;break;case`dark`:t=1;break;case`light`:t=2;break;default:t=-1;break}this.radioTheme.selectedIndex=t}};export{e as default};
|
||||
@@ -1 +0,0 @@
|
||||
class a extends ui.view.ThemesUI{constructor(){super(),this.btnClose.on(Laya.Event.CLICK,this,()=>this.close()),this.btnOK.on(Laya.Event.CLICK,this,async()=>{const t=this.selected;if(!t==$ui.theme)return this.close();$ui.theme=t,await this.close(),$ui.switchView(UI.pages.MAIN)})}static load(){return["images/atlas/images/radio.atlas"]}init(){this.selected=localStorage.getItem("theme")}get selected(){switch(this.radioTheme.selectedIndex){case 0:return"cyber";case 1:return"dark";case 2:return"light";default:return"default"}}set selected(t){let e;switch(t){case"cyber":e=0;break;case"dark":e=1;break;case"light":e=2;break;default:e=-1;break}this.radioTheme.selectedIndex=e}}export{a as default};
|
||||
@@ -1,3 +0,0 @@
|
||||
class i extends ui.view.DefaultTheme.TrajectoryUI{constructor(){super();let t=[0,0];this.panelTrajectory.on(Laya.Event.MOUSE_DOWN,this,e=>t=[e.stageX,e.stageY]),this.panelTrajectory.on(Laya.Event.MOUSE_UP,this,e=>{const s=e.stageX-t[0],a=e.stageY-t[1];Math.sqrt(Math.abs(s)+Math.abs(a))>10||this.onNext()}),this.btnSummary.on(Laya.Event.CLICK,this,this.onSummary),this.panelTrajectory.vScrollBar.elasticDistance=150,this.scbSpeed.on(Laya.Event.CHANGE,this,()=>this.speed=this.scbSpeed.value),this.scbSpeed.on(Laya.Event.MOUSE_UP,this,()=>this.onNext())}#a;#e;static load(){return["images/atlas/images/progress.atlas","images/atlas/images/slider.atlas"]}static#o=Laya.plugin.extractComponents(i.uiView,["boxTrajectoryItem"]);#n(){const t=i.#o("boxTrajectoryItem");t.labContent=t.getChildByName("labContent"),t.labAge=t.getChildByName("hboxAge").getChildByName("labAge");const e=$ui.common.trajectoryItem;return $_.deepMapSet(t,e.box),t.grade=s=>{$_.deepMapSet(t,e.grade[s||0])},t.getChildByName("hboxAge")._childs.forEach(s=>s.color=e.ageColor),t.labContent.color=e.contentColor,t}#s;#t;#i;#r;init({propertyAllocate:t,talents:e,enableExtend:s}){this.#r=s,this.boxParticle.visible=!1,this.boxSpeed.visible=!0,this.btnSummary.visible=!1,this.#t=[],this.#s=!1,this.#i=e,core.start(t),this.updateProperty(),this.onNext()}close(){this.scbSpeed.value=0,this.speed=0,this.#t.forEach(t=>{t.removeSelf(),t.destroy()}),this.#t=null}updateProperty(){const t=core.PropertyTypes,e=core.propertys;this.labCharm.text=e[t.CHR],this.labIntelligence.text=e[t.INT],this.labStrength.text=e[t.STR],this.labMoney.text=e[t.MNY],this.labSpirit.text=e[t.SPR]}onNext(){if(this.#s)return;const{age:t,content:e,isEnd:s}=core.next();this.#s=s,s&&(this.boxSpeed.visible=!1,this.btnSummary.visible=!0,Laya.timer.frameOnce(1,this,()=>{this.panelTrajectory.scrollTo(0,this.panelTrajectory.contentHeight)})),this.panelTrajectory.scrollTo(0,this.panelTrajectory.contentHeight),this.renderTrajectory(t,e),t>=100&&(this.boxParticle.visible=!0),this.updateProperty()}renderTrajectory(t,e){const s=this.#n();s.labAge.text=""+t,s.labContent.text=e.map(({type:a,description:r,grade:h,name:n,postEvent:o})=>{switch(a){case"TLT":return`天赋【${n}】发动:${r}`;case"EVT":return r+(o?`
|
||||
${o}`:"")}}).join(`
|
||||
`),s.grade(e[e.length-1].grade),this.vboxTrajectory.addChild(s),this.#t.push(s),s.y=this.vboxTrajectory.height}onSummary(){const t=this.#i;$ui.switchView(UI.pages.SUMMARY,{talents:t,enableExtend:this.#r})}get speed(){return this.#a}set speed(t){this.#a=t,this.prgSpeed.value=t/this.scbSpeed.max,clearInterval(this.#e),this.#e=null,t&&(this.#e=setInterval(()=>this.onNext(),3e3*(1-this.prgSpeed.value)+300))}}export{i as default};
|
||||
@@ -0,0 +1,2 @@
|
||||
var e=class e extends ui.view.DefaultTheme.TrajectoryUI{constructor(){super();let e=[0,0];this.panelTrajectory.on(Laya.Event.MOUSE_DOWN,this,t=>e=[t.stageX,t.stageY]),this.panelTrajectory.on(Laya.Event.MOUSE_UP,this,t=>{let n=t.stageX-e[0],r=t.stageY-e[1];Math.sqrt(Math.abs(n)+Math.abs(r))>10||this.onNext()}),this.btnSummary.on(Laya.Event.CLICK,this,this.onSummary),this.panelTrajectory.vScrollBar.elasticDistance=150,this.scbSpeed.on(Laya.Event.CHANGE,this,()=>this.speed=this.scbSpeed.value),this.scbSpeed.on(Laya.Event.MOUSE_UP,this,()=>this.onNext())}#e;#t;static load(){return[`images/atlas/images/progress.atlas`,`images/atlas/images/slider.atlas`]}static#n=Laya.plugin.extractComponents(e.uiView,[`boxTrajectoryItem`]);#r(){let t=e.#n(`boxTrajectoryItem`);t.labContent=t.getChildByName(`labContent`),t.labAge=t.getChildByName(`hboxAge`).getChildByName(`labAge`);let n=$ui.common.trajectoryItem;return $_.deepMapSet(t,n.box),t.grade=e=>{$_.deepMapSet(t,n.grade[e||0])},t.getChildByName(`hboxAge`)._childs.forEach(e=>e.color=n.ageColor),t.labContent.color=n.contentColor,t}#i;#a;#o;#s;init({propertyAllocate:e,talents:t,enableExtend:n}){this.#s=n,this.boxParticle.visible=!1,this.boxSpeed.visible=!0,this.btnSummary.visible=!1,this.#a=[],this.#i=!1,this.#o=t,core.start(e),this.updateProperty(),this.onNext()}close(){this.scbSpeed.value=0,this.speed=0,this.#a.forEach(e=>{e.removeSelf(),e.destroy()}),this.#a=null}updateProperty(){let e=core.PropertyTypes,t=core.propertys;this.labCharm.text=t[e.CHR],this.labIntelligence.text=t[e.INT],this.labStrength.text=t[e.STR],this.labMoney.text=t[e.MNY],this.labSpirit.text=t[e.SPR]}onNext(){if(this.#i)return;let{age:e,content:t,isEnd:n}=core.next();this.#i=n,n&&(this.boxSpeed.visible=!1,this.btnSummary.visible=!0,Laya.timer.frameOnce(1,this,()=>{this.panelTrajectory.scrollTo(0,this.panelTrajectory.contentHeight)})),this.panelTrajectory.scrollTo(0,this.panelTrajectory.contentHeight),this.renderTrajectory(e,t),e>=100&&(this.boxParticle.visible=!0),this.updateProperty()}renderTrajectory(e,t){let n=this.#r();n.labAge.text=``+e,n.labContent.text=t.map(({type:e,description:t,grade:n,name:r,postEvent:i})=>{switch(e){case`TLT`:return`天赋【${r}】发动:${t}`;case`EVT`:return t+(i?`\n${i}`:``)}}).join(`
|
||||
`),n.grade(t[t.length-1].grade),this.vboxTrajectory.addChild(n),this.#a.push(n),n.y=this.vboxTrajectory.height}onSummary(){let e=this.#o;$ui.switchView(UI.pages.SUMMARY,{talents:e,enableExtend:this.#s})}get speed(){return this.#e}set speed(e){this.#e=e,this.prgSpeed.value=e/this.scbSpeed.max,clearInterval(this.#t),this.#t=null,e&&(this.#t=setInterval(()=>this.onNext(),3e3*(1-this.prgSpeed.value)+300))}};export{e as default};
|
||||
@@ -0,0 +1,2 @@
|
||||
var e=class e extends ui.view.CyberTheme.CyberTrajectoryUI{constructor(){super();let e=[0,0];this.panelTrajectory.on(Laya.Event.MOUSE_DOWN,this,t=>e=[t.stageX,t.stageY]),this.panelTrajectory.on(Laya.Event.MOUSE_UP,this,t=>{let n=t.stageX-e[0],r=t.stageY-e[1];Math.sqrt(Math.abs(n)+Math.abs(r))>10||this.onNext()}),this.btnSummary.on(Laya.Event.CLICK,this,this.onSummary),this.panelTrajectory.vScrollBar.elasticDistance=150;let t=null,n=null,r=e=>{let t=this.panelTrajectory.vScrollBar.value+e;t<0&&(t=0),t>this.panelTrajectory.vScrollBar.max&&(t=this.panelTrajectory.vScrollBar.max),this.panelTrajectory.scrollTo(0,t)},i=(e,i)=>{e.off(Laya.Event.CLICK,this,r),e.on(Laya.Event.CLICK,this,r,[100*i]),n=setTimeout(()=>{e.off(Laya.Event.CLICK,this,r),t=setInterval(()=>r(10*i),10)},100)},a=()=>{t&&=(clearInterval(t),null),n&&=(clearTimeout(n),null)};this.btnUp.on(Laya.Event.MOUSE_DOWN,this,i,[this.btnUp,-1]),this.btnDown.on(Laya.Event.MOUSE_DOWN,this,i,[this.btnDown,1]),this.btnUp.on(Laya.Event.MOUSE_UP,this,a),this.btnUp.on(Laya.Event.MOUSE_OUT,this,a),this.btnDown.on(Laya.Event.MOUSE_UP,this,a),this.btnDown.on(Laya.Event.MOUSE_OUT,this,a),this.scbSpeed.on(Laya.Event.CHANGE,this,()=>this.speed=this.scbSpeed.value),this.scbSpeed.on(Laya.Event.MOUSE_UP,this,()=>this.onNext())}#e;#t;static#n=Laya.plugin.extractComponents(e.uiView,[`boxTrajectoryItem`]);#r(){let t=e.#n(`boxTrajectoryItem`);return t.labContent=t.getChildByName(`labContent`),t.labAge=t.getChildByName(`hboxAge`).getChildByName(`labAge`),t.boxGrade=t.getChildByName(`boxGrade`),t}#i;#a;#o;#s;init({propertyAllocate:e,talents:t,enableExtend:n}){this.#s=n,this.boxParticle.visible=!1,this.boxSpeed.visible=!0,this.btnSummary.visible=!1,this.#a=[],this.#i=!1,this.#o=t,core.start(e),this.updateProperty(),this.onNext()}close(){this.scbSpeed.value=0,this.speed=0,this.#a.forEach(e=>{e.removeSelf(),e.destroy()}),this.#a=null}updateProperty(){let e=core.PropertyTypes,t=core.propertys;this.labCharm.text=t[e.CHR],this.labIntelligence.text=t[e.INT],this.labStrength.text=t[e.STR],this.labMoney.text=t[e.MNY],this.labSpirit.text=t[e.SPR]}onNext(){if(this.#i)return;let{age:e,content:t,isEnd:n}=core.next();this.#i=n,n&&(this.boxSpeed.visible=!1,this.btnSummary.visible=!0,Laya.timer.frameOnce(1,this,()=>{this.panelTrajectory.scrollTo(0,this.panelTrajectory.contentHeight)})),this.panelTrajectory.scrollTo(0,this.panelTrajectory.contentHeight),this.renderTrajectory(e,t),e>=100&&(this.boxParticle.visible=!0),this.updateProperty()}renderTrajectory(e,t){let n=this.#r();n.labAge.text=``+e,n.labContent.text=t.map(({type:e,description:t,grade:n,name:r,postEvent:i})=>{switch(e){case`TLT`:return`天赋【${r}】发动:${t}`;case`EVT`:return t+(i?`\n${i}`:``)}}).join(`
|
||||
`),$_.deepMapSet(n.boxGrade,$ui.common.gradeBlk[t[t.length-1].grade||0]),this.vboxTrajectory.addChild(n),this.#a.push(n),n.y=this.vboxTrajectory.height}onSummary(){let e=this.#o;$ui.switchView(UI.pages.SUMMARY,{talents:e,enableExtend:this.#s})}get speed(){return this.#e}set speed(e){this.#e=e,this.prgSpeed.value=e/this.scbSpeed.max,clearInterval(this.#t),this.#t=null,e&&(this.#t=setInterval(()=>this.onNext(),3e3*(1-this.prgSpeed.value)+300))}};export{e as default};
|
||||
@@ -1,3 +0,0 @@
|
||||
class h extends ui.view.CyberTheme.CyberTrajectoryUI{constructor(){super();let t=[0,0];this.panelTrajectory.on(Laya.Event.MOUSE_DOWN,this,a=>t=[a.stageX,a.stageY]),this.panelTrajectory.on(Laya.Event.MOUSE_UP,this,a=>{const i=a.stageX-t[0],l=a.stageY-t[1];Math.sqrt(Math.abs(i)+Math.abs(l))>10||this.onNext()}),this.btnSummary.on(Laya.Event.CLICK,this,this.onSummary),this.panelTrajectory.vScrollBar.elasticDistance=150;let e=null,s=null;const r=a=>{let i=this.panelTrajectory.vScrollBar.value+a;i<0&&(i=0),i>this.panelTrajectory.vScrollBar.max&&(i=this.panelTrajectory.vScrollBar.max),this.panelTrajectory.scrollTo(0,i)},n=(a,i)=>{a.off(Laya.Event.CLICK,this,r),a.on(Laya.Event.CLICK,this,r,[100*i]),s=setTimeout(()=>{a.off(Laya.Event.CLICK,this,r),e=setInterval(()=>r(10*i),10)},100)},o=()=>{e&&(clearInterval(e),e=null),s&&(clearTimeout(s),s=null)};this.btnUp.on(Laya.Event.MOUSE_DOWN,this,n,[this.btnUp,-1]),this.btnDown.on(Laya.Event.MOUSE_DOWN,this,n,[this.btnDown,1]),this.btnUp.on(Laya.Event.MOUSE_UP,this,o),this.btnUp.on(Laya.Event.MOUSE_OUT,this,o),this.btnDown.on(Laya.Event.MOUSE_UP,this,o),this.btnDown.on(Laya.Event.MOUSE_OUT,this,o),this.scbSpeed.on(Laya.Event.CHANGE,this,()=>this.speed=this.scbSpeed.value),this.scbSpeed.on(Laya.Event.MOUSE_UP,this,()=>this.onNext())}#a;#e;static#n=Laya.plugin.extractComponents(h.uiView,["boxTrajectoryItem"]);#o(){const t=h.#n("boxTrajectoryItem");return t.labContent=t.getChildByName("labContent"),t.labAge=t.getChildByName("hboxAge").getChildByName("labAge"),t.boxGrade=t.getChildByName("boxGrade"),t}#s;#t;#i;#r;init({propertyAllocate:t,talents:e,enableExtend:s}){this.#r=s,this.boxParticle.visible=!1,this.boxSpeed.visible=!0,this.btnSummary.visible=!1,this.#t=[],this.#s=!1,this.#i=e,core.start(t),this.updateProperty(),this.onNext()}close(){this.scbSpeed.value=0,this.speed=0,this.#t.forEach(t=>{t.removeSelf(),t.destroy()}),this.#t=null}updateProperty(){const t=core.PropertyTypes,e=core.propertys;this.labCharm.text=e[t.CHR],this.labIntelligence.text=e[t.INT],this.labStrength.text=e[t.STR],this.labMoney.text=e[t.MNY],this.labSpirit.text=e[t.SPR]}onNext(){if(this.#s)return;const{age:t,content:e,isEnd:s}=core.next();this.#s=s,s&&(this.boxSpeed.visible=!1,this.btnSummary.visible=!0,Laya.timer.frameOnce(1,this,()=>{this.panelTrajectory.scrollTo(0,this.panelTrajectory.contentHeight)})),this.panelTrajectory.scrollTo(0,this.panelTrajectory.contentHeight),this.renderTrajectory(t,e),t>=100&&(this.boxParticle.visible=!0),this.updateProperty()}renderTrajectory(t,e){const s=this.#o();s.labAge.text=""+t,s.labContent.text=e.map(({type:r,description:n,grade:o,name:a,postEvent:i})=>{switch(r){case"TLT":return`天赋【${a}】发动:${n}`;case"EVT":return n+(i?`
|
||||
${i}`:"")}}).join(`
|
||||
`),$_.deepMapSet(s.boxGrade,$ui.common.gradeBlk[e[e.length-1].grade||0]),this.vboxTrajectory.addChild(s),this.#t.push(s),s.y=this.vboxTrajectory.height}onSummary(){const t=this.#i;$ui.switchView(UI.pages.SUMMARY,{talents:t,enableExtend:this.#r})}get speed(){return this.#a}set speed(t){this.#a=t,this.prgSpeed.value=t/this.scbSpeed.max,clearInterval(this.#e),this.#e=null,t&&(this.#e=setInterval(()=>this.onNext(),3e3*(1-this.prgSpeed.value)+300))}}export{h as default};
|
||||
@@ -0,0 +1,7 @@
|
||||
var e={UI_Next:`下一步`,UI_Back:`返回`,UI_Skip:`跳过`,UI_Done:`完成`,UI_Cancel:`取消`,UI_Confirm:`确认`,UI_Retry:`重试`,UI_Yes:`是`,UI_No:`否`,UI_OK:`确定`,UI_Close:`关闭`,UI_Open:`打开`,UI_Search:`搜索`,UI_Loading:`加载中...`,UI_Error:`错误`,UI_BackupBtn:`上面没有效果就试试这个吧`,UI_Colon:`:`,UI_Times:`次`,UI_Count:`个`,UI_Property_Charm:`颜值`,UI_Property_Intelligence:`智力`,UI_Property_Strength:`体质`,UI_Property_Money:`家境`,UI_Property_Spirit:`快乐`,UI_Title_Remake:`人生重开模拟器`,UI_Title_Subsequent:`这垃圾人生一秒也不想待了`,UI_Remake:`↻立即重开`,UI_Thanks:`感谢`,UI_Achievement:`成就`,UI_Cyber_Theme_Art_Design:`UI 设计 by 晰晰`,UI_Banner:`作者的新作《纸上谈亲》已上线小程序
|
||||
微信/抖音搜索“纸上谈亲”即可游玩~`,UI_Title_Talent:`天赋抽卡`,UI_Talent_Draw:`10连抽!`,UI_Talent_Select_Uncomplete:`请选取 3 个天赋`,UI_Title_Property:`调整初始属性`,UI_Left_Property_Point:`剩余属性点`,UI_Selected_Talent:`已选天赋`,UI_Random_Allocate:`随机分配`,UI_Make_New_Life:`开始新人生`,UI_Manual:`手动`,UI_Auto:`自动`,UI_Goto_Summary:`人生总结`,UI_Title_Summary:`人生总结`,UI_Talent_Extend:`天赋:你可以选择一个,下辈子还能抽到`,UI_Remake_Again:`再次重开`,UI_Final_Age:`享年`,UI_Total_Judge:`总评`,UI_Achievement_Count:`获得成就`,UI_Remake_Times:`重开次数`,UI_Event_Collection_Rate:`事件收集率`,UI_Talent_Collection_Rate:`天赋收集率`,UI_Statistics:`统计`,UI_Rank:`排行榜`,UI_Achievement_Achieve:`获得成就`,UI_Judge_Level_0:`地狱`,UI_Judge_Level_1:`折磨`,UI_Judge_Level_2:`不佳`,UI_Judge_Level_3:`普通`,UI_Judge_Level_4:`优秀`,UI_Judge_Level_5:`罕见`,UI_Judge_Level_6:`逆天`,UI_Judge_Level_7:`传说`,UI_Spirit_Judge_Level_0:`地狱`,UI_Spirit_Judge_Level_1:`折磨`,UI_Spirit_Judge_Level_2:`不幸`,UI_Spirit_Judge_Level_3:`普通`,UI_Spirit_Judge_Level_4:`幸福`,UI_Spirit_Judge_Level_5:`极乐`,UI_Spirit_Judge_Level_6:`天命`,UI_AGE_Judge_Level_0:`胎死腹中`,UI_AGE_Judge_Level_1:`早夭`,UI_AGE_Judge_Level_2:`少年`,UI_AGE_Judge_Level_3:`盛年`,UI_AGE_Judge_Level_4:`中年`,UI_AGE_Judge_Level_5:`花甲`,UI_AGE_Judge_Level_6:`古稀`,UI_AGE_Judge_Level_7:`杖朝`,UI_AGE_Judge_Level_8:`南山`,UI_AGE_Judge_Level_9:`不老`,UI_AGE_Judge_Level_10:`修仙`,UI_AGE_Judge_Level_11:`仙寿`,UI_Intelligence_Judge_Level_7:`识海`,UI_Intelligence_Judge_Level_8:`元神`,UI_Intelligence_Judge_Level_9:`仙魂`,UI_Strength_Judge_Level_7:`凝气`,UI_Strength_Judge_Level_8:`筑基`,UI_Strength_Judge_Level_9:`金丹`,UI_Strength_Judge_Level_10:`元婴`,UI_Strength_Judge_Level_11:`仙体`,UI_Remake_Times_Judge_Level_0:`抽到紫色概率不变`,UI_Remake_Times_Judge_Level_1:`抽到紫色概率翻倍`,UI_Remake_Times_Judge_Level_2:`抽到紫色概率三倍`,UI_Remake_Times_Judge_Level_3:`抽到紫色概率四倍`,UI_Remake_Times_Judge_Level_4:`抽到紫色概率五倍`,UI_Remake_Times_Judge_Level_5:`抽到紫色概率六倍`,UI_Achievement_Count_Judge_Level_0:`抽到橙色概率不变`,UI_Achievement_Count_Judge_Level_1:`抽到橙色概率翻倍`,UI_Achievement_Count_Judge_Level_2:`抽到橙色概率三倍`,UI_Achievement_Count_Judge_Level_3:`抽到橙色概率四倍`,UI_Achievement_Count_Judge_Level_4:`抽到橙色概率五倍`,UI_Achievement_Count_Judge_Level_5:`抽到橙色概率六倍`,UI_Support_Programmer:`打赏程序(顿顿饭)`,UI_Support_Designer:`打赏策划(爱发电)`,UI_Save:`存档`,UI_Load:`读档`,UI_Read:`复制`,UI_Write:`粘贴`,UI_LoadSuccess:`读档成功!`,UI_LoadFailed:`读档失败!`,UI_CopySuccess:`成功复制存档到剪贴板`,UI_CopyFailed:`复制存档到剪贴板失败,请手动复制存档内容`,UI_PasteSuccessDecodeSuccess:`读档成功!`,UI_PasteSuccessDecodeFailed:`粘贴剪贴板存档内容成功,但剪贴板内容读档失败`,UI_PasteFailedDecodeSuccess:`粘贴剪贴板存档内容失败,使用输入的内容读档成功`,UI_PasteFailedDecodeFailed:`粘贴剪贴板存档内容失败,使用输入的内容读档失败`,UI_Title_Celebrity:`你的前世是...`,UI_CustomMode:`经典模式`,UI_CustomModeDescription:`10连抽天赋
|
||||
自由分配属性`,UI_CelebrityMode:`名人模式`,UI_CelebrityModeDescription:`前世是古代名人
|
||||
重开到了现代`,UI_AllNot:`↻都不是`,UI_UniqueWaTaShi:`独一无二的我`,UI_UniqueWaTaShiContent:`
|
||||
6000万玩家中独一无二的角色卡
|
||||
所有属性 所有天赋 随机生成
|
||||
每人只能生成一次`,UI_GenerateNow:`立即生成`,M_NoRank:`别卷了,没有排行榜`,M_PleaseSelectOne:`请选择一个名人`,M_UnGenerate:`独一无二的我还没有生成`,M_DisableExtendTalent:`名人模式不能继承天赋`,F_RemakeTimes:`已重开{0}次`,F_AchievementCount:`成就达成{0}个`,F_TalentSelection:`{name}({description})`,F_TalentConflict:`与已选的「{0}」天赋冲突`,F_TalentSelectLimit:`只能选 {0} 个天赋`,F_TalentSelectNotComplect:`要选满{0}个天赋`,F_PropertyPointLeft:`你还有 {0} 属性点没有分配完`,F_TalentReplace:`天赋替换【{source.name}】->【{target.name}】`,F_PropertyStr:`颜值{CHR} 智力{INT} 体质{STR} 家境{MNY}`};export{e as default};
|
||||
@@ -1,7 +0,0 @@
|
||||
const e={UI_Next:"下一步",UI_Back:"返回",UI_Skip:"跳过",UI_Done:"完成",UI_Cancel:"取消",UI_Confirm:"确认",UI_Retry:"重试",UI_Yes:"是",UI_No:"否",UI_OK:"确定",UI_Close:"关闭",UI_Open:"打开",UI_Search:"搜索",UI_Loading:"加载中...",UI_Error:"错误",UI_BackupBtn:"上面没有效果就试试这个吧",UI_Colon:":",UI_Times:"次",UI_Count:"个",UI_Property_Charm:"颜值",UI_Property_Intelligence:"智力",UI_Property_Strength:"体质",UI_Property_Money:"家境",UI_Property_Spirit:"快乐",UI_Title_Remake:"人生重开模拟器",UI_Title_Subsequent:"这垃圾人生一秒也不想待了",UI_Remake:"↻立即重开",UI_Thanks:"感谢",UI_Achievement:"成就",UI_Cyber_Theme_Art_Design:"UI 设计 by 晰晰",UI_Banner:`作者的新作《纸上谈亲》已上线小程序
|
||||
微信/抖音搜索“纸上谈亲”即可游玩~`,UI_Title_Talent:"天赋抽卡",UI_Talent_Draw:"10连抽!",UI_Talent_Select_Uncomplete:"请选取 3 个天赋",UI_Title_Property:"调整初始属性",UI_Left_Property_Point:"剩余属性点",UI_Selected_Talent:"已选天赋",UI_Random_Allocate:"随机分配",UI_Make_New_Life:"开始新人生",UI_Manual:"手动",UI_Auto:"自动",UI_Goto_Summary:"人生总结",UI_Title_Summary:"人生总结",UI_Talent_Extend:"天赋:你可以选择一个,下辈子还能抽到",UI_Remake_Again:"再次重开",UI_Final_Age:"享年",UI_Total_Judge:"总评",UI_Achievement_Count:"获得成就",UI_Remake_Times:"重开次数",UI_Event_Collection_Rate:"事件收集率",UI_Talent_Collection_Rate:"天赋收集率",UI_Statistics:"统计",UI_Rank:"排行榜",UI_Achievement_Achieve:"获得成就",UI_Judge_Level_0:"地狱",UI_Judge_Level_1:"折磨",UI_Judge_Level_2:"不佳",UI_Judge_Level_3:"普通",UI_Judge_Level_4:"优秀",UI_Judge_Level_5:"罕见",UI_Judge_Level_6:"逆天",UI_Judge_Level_7:"传说",UI_Spirit_Judge_Level_0:"地狱",UI_Spirit_Judge_Level_1:"折磨",UI_Spirit_Judge_Level_2:"不幸",UI_Spirit_Judge_Level_3:"普通",UI_Spirit_Judge_Level_4:"幸福",UI_Spirit_Judge_Level_5:"极乐",UI_Spirit_Judge_Level_6:"天命",UI_AGE_Judge_Level_0:"胎死腹中",UI_AGE_Judge_Level_1:"早夭",UI_AGE_Judge_Level_2:"少年",UI_AGE_Judge_Level_3:"盛年",UI_AGE_Judge_Level_4:"中年",UI_AGE_Judge_Level_5:"花甲",UI_AGE_Judge_Level_6:"古稀",UI_AGE_Judge_Level_7:"杖朝",UI_AGE_Judge_Level_8:"南山",UI_AGE_Judge_Level_9:"不老",UI_AGE_Judge_Level_10:"修仙",UI_AGE_Judge_Level_11:"仙寿",UI_Intelligence_Judge_Level_7:"识海",UI_Intelligence_Judge_Level_8:"元神",UI_Intelligence_Judge_Level_9:"仙魂",UI_Strength_Judge_Level_7:"凝气",UI_Strength_Judge_Level_8:"筑基",UI_Strength_Judge_Level_9:"金丹",UI_Strength_Judge_Level_10:"元婴",UI_Strength_Judge_Level_11:"仙体",UI_Remake_Times_Judge_Level_0:"抽到紫色概率不变",UI_Remake_Times_Judge_Level_1:"抽到紫色概率翻倍",UI_Remake_Times_Judge_Level_2:"抽到紫色概率三倍",UI_Remake_Times_Judge_Level_3:"抽到紫色概率四倍",UI_Remake_Times_Judge_Level_4:"抽到紫色概率五倍",UI_Remake_Times_Judge_Level_5:"抽到紫色概率六倍",UI_Achievement_Count_Judge_Level_0:"抽到橙色概率不变",UI_Achievement_Count_Judge_Level_1:"抽到橙色概率翻倍",UI_Achievement_Count_Judge_Level_2:"抽到橙色概率三倍",UI_Achievement_Count_Judge_Level_3:"抽到橙色概率四倍",UI_Achievement_Count_Judge_Level_4:"抽到橙色概率五倍",UI_Achievement_Count_Judge_Level_5:"抽到橙色概率六倍",UI_Support_Programmer:"打赏程序(顿顿饭)",UI_Support_Designer:"打赏策划(爱发电)",UI_Save:"存档",UI_Load:"读档",UI_Read:"复制",UI_Write:"粘贴",UI_LoadSuccess:"读档成功!",UI_LoadFailed:"读档失败!",UI_CopySuccess:"成功复制存档到剪贴板",UI_CopyFailed:"复制存档到剪贴板失败,请手动复制存档内容",UI_PasteSuccessDecodeSuccess:"读档成功!",UI_PasteSuccessDecodeFailed:"粘贴剪贴板存档内容成功,但剪贴板内容读档失败",UI_PasteFailedDecodeSuccess:"粘贴剪贴板存档内容失败,使用输入的内容读档成功",UI_PasteFailedDecodeFailed:"粘贴剪贴板存档内容失败,使用输入的内容读档失败",UI_Title_Celebrity:"你的前世是...",UI_CustomMode:"经典模式",UI_CustomModeDescription:`10连抽天赋
|
||||
自由分配属性`,UI_CelebrityMode:"名人模式",UI_CelebrityModeDescription:`前世是古代名人
|
||||
重开到了现代`,UI_AllNot:"↻都不是",UI_UniqueWaTaShi:"独一无二的我",UI_UniqueWaTaShiContent:`
|
||||
6000万玩家中独一无二的角色卡
|
||||
所有属性 所有天赋 随机生成
|
||||
每人只能生成一次`,UI_GenerateNow:"立即生成",M_NoRank:"别卷了,没有排行榜",M_PleaseSelectOne:"请选择一个名人",M_UnGenerate:"独一无二的我还没有生成",M_DisableExtendTalent:"名人模式不能继承天赋",F_RemakeTimes:"已重开{0}次",F_AchievementCount:"成就达成{0}个",F_TalentSelection:"{name}({description})",F_TalentConflict:"与已选的「{0}」天赋冲突",F_TalentSelectLimit:"只能选 {0} 个天赋",F_TalentSelectNotComplect:"要选满{0}个天赋",F_PropertyPointLeft:"你还有 {0} 属性点没有分配完",F_TalentReplace:"天赋替换【{source.name}】->【{target.name}】",F_PropertyStr:"颜值{CHR} 智力{INT} 体质{STR} 家境{MNY}"};export{e as default};
|
||||
+1
-1
@@ -30,7 +30,7 @@
|
||||
<script type="text/javascript" src="libs/laya/min/laya.filter.min.js"></script>
|
||||
<script type="text/javascript" src="libs/laya/min/laya.particle.min.js"></script>
|
||||
<script type="text/javascript" src="libs/laya/min/laya.ui.min.js"></script>
|
||||
<script type="module" crossorigin src="./assets/index-BLsR_SyO.js"></script>
|
||||
<script type="module" crossorigin src="./assets/index-cRTiEXBh.js"></script>
|
||||
</head>
|
||||
<body style="background:black"></body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user