| 1 |
- const _0x3aaa=['uid','app_name','./editor','点击服务控制台','getServiceVersion','stringify','取消关联AppID','开通服务','default','defineProperty','关联AppID','点击Cocos账户中心','下载安装服务','service_name','CocosService','getCreatorVersion','name','服务集成成功','init','点击创建游戏','push','进入服务主页','app_id','service_id','shift','use\x20strict','点击服务Sample工程','点击服务使用指南','version','cc_version','服务集成失败','__esModule','submitLog','点击App设置菜单','开启服务','generateAndSubmit'];(function(_0x208f85,_0x449975){const _0x3aaaa8=function(_0x5674bf){while(--_0x5674bf){_0x208f85['push'](_0x208f85['shift']());}};_0x3aaaa8(++_0x449975);}(_0x3aaa,0xaf));const _0x5674=function(_0x208f85,_0x449975){_0x208f85=_0x208f85-0xea;let _0x3aaaa8=_0x3aaa[_0x208f85];return _0x3aaaa8;};const _0x4e4d4d=_0x5674,_0x4b57=[_0x4e4d4d(0x10a),_0x4e4d4d(0x109),_0x4e4d4d(0xfa),_0x4e4d4d(0xfb),'进入AppID绑定页面',_0x4e4d4d(0x10b),_0x4e4d4d(0x101),_0x4e4d4d(0xec),_0x4e4d4d(0xf2),_0x4e4d4d(0xf9),_0x4e4d4d(0xed),_0x4e4d4d(0xff),_0x4e4d4d(0x103),_0x4e4d4d(0xfe),'service_name',_0x4e4d4d(0xeb),_0x4e4d4d(0xf3),_0x4e4d4d(0xef),'关闭服务','开通服务成功','打开服务面板-new',_0x4e4d4d(0x105),_0x4e4d4d(0xf0),_0x4e4d4d(0x104),_0x4e4d4d(0xf7),_0x4e4d4d(0xf5),_0x4e4d4d(0x100),_0x4e4d4d(0x106),'点击服务保存参数',_0x4e4d4d(0x10d),_0x4e4d4d(0x102),'stringify',_0x4e4d4d(0xea),_0x4e4d4d(0xee),_0x4e4d4d(0xf8)];(function(_0x460c29,_0x268702){const _0x5b07e3=function(_0x15eb47){const _0x2312d4=_0x5674;while(--_0x15eb47){_0x460c29['push'](_0x460c29[_0x2312d4(0x107)]());}};_0x5b07e3(++_0x268702);}(_0x4b57,0xfc));const _0x55b6=function(_0x1d0c7d,_0xbad394){_0x1d0c7d=_0x1d0c7d-0x79;let _0x42ac0e=_0x4b57[_0x1d0c7d];return _0x42ac0e;},_0x329367=_0x55b6;_0x4e4d4d(0x108);var __importDefault=this&&this['__importDefault']||function(_0xceb506){const _0x5623b1=_0x4e4d4d;return _0xceb506&&_0xceb506[_0x5623b1(0xea)]?_0xceb506:{'default':_0xceb506};};Object[_0x329367(0x94)](exports,_0x329367(0x92),{'value':!0x0});const protocol_1=__importDefault(require('./protocol')),editor_1=__importDefault(require(_0x4e4d4d(0xf1)));exports[_0x329367(0x8a)]={'uid':'','app_id':'','app_name':'','service_id':'','service_name':'','generateAndSubmit':async function(_0x36a2ee,_0x537bf7={}){const _0x20ad5a=_0x4e4d4d,_0x16d700=_0x329367;let _0x545b93=[_0x16d700(0x87),_0x16d700(0x88),_0x16d700(0x8d),_0x16d700(0x80),_0x16d700(0x9a),_0x20ad5a(0x10c)],_0x1c61b1=[this[_0x16d700(0x87)],this[_0x16d700(0x88)],this[_0x16d700(0x8d)],this[_0x16d700(0x80)],editor_1[_0x20ad5a(0xf7)][_0x16d700(0x82)](),editor_1[_0x16d700(0x8a)][_0x16d700(0x7f)]()];if('{}'!==JSON[_0x20ad5a(0xf4)](_0x537bf7)){let _0x13af94=Object['keys'](_0x537bf7);for(let _0x16112c of _0x13af94)_0x545b93[_0x16d700(0x7e)](_0x16112c),_0x1c61b1[_0x16d700(0x7e)](_0x537bf7[_0x16112c]);}await protocol_1[_0x16d700(0x8a)][_0x16d700(0x81)]({'uid':this[_0x16d700(0x83)],'client_id':_0x20ad5a(0xfd),'event':_0x36a2ee,'key_list':JSON[_0x16d700(0x91)](_0x545b93),'value_list':JSON[_0x16d700(0x91)](_0x1c61b1)});},'init':async function(_0x36cb04,_0x55eb1b,_0x2d947d){const _0x338aad=_0x4e4d4d,_0x2cbf0c=_0x329367;this[_0x2cbf0c(0x83)]=_0x36cb04,this[_0x338aad(0x105)]=_0x55eb1b[_0x2cbf0c(0x87)],this[_0x338aad(0xf0)]=_0x55eb1b[_0x2cbf0c(0x7d)],this[_0x2cbf0c(0x8d)]=_0x2d947d?_0x2d947d[_0x338aad(0x106)]:'',this[_0x2cbf0c(0x80)]=_0x2d947d?_0x2d947d[_0x338aad(0xfc)]:'';},'openServicePanel':async function(_0x14ed33,_0x4e6ba9,_0x35027d){const _0x2f1e11=_0x329367;this[_0x2f1e11(0x9b)](_0x14ed33,_0x4e6ba9,_0x35027d),this[_0x2f1e11(0x93)](_0x2f1e11(0x86));},'enterService':async function(){const _0x163bf0=_0x4e4d4d,_0x575800=_0x329367;this[_0x163bf0(0xee)](_0x575800(0x89));},'downloadService':async function(_0x5ca018){const _0x5a6a20=_0x329367;this[_0x5a6a20(0x93)](_0x5a6a20(0x98),{'plugin_version':_0x5ca018});},'gotoServiceCenter':async function(){const _0x59e28e=_0x329367;this[_0x59e28e(0x93)]('点击Cocos服务中心');},'gotoAccountCenter':async function(){const _0x2ec39d=_0x4e4d4d,_0x47c8ee=_0x329367;this[_0x2ec39d(0xee)](_0x47c8ee(0x97));},'gotoDashboardUrl':async function(_0x11acdd=''){const _0x2a536a=_0x329367;this[_0x2a536a(0x93)](_0x2a536a(0x7a),{'target_url':_0x11acdd});},'gotoSampleUrl':async function(_0x52d4ea=''){const _0x129b7a=_0x329367;this[_0x129b7a(0x93)](_0x129b7a(0x96),{'target_url':_0x52d4ea});},'gotoGuideUrl':async function(_0x4644c4=''){const _0x5b0567=_0x4e4d4d,_0x26ccb9=_0x329367;this[_0x5b0567(0xee)](_0x26ccb9(0x95),{'target_url':_0x4644c4});},'saveParameter':async function(){const _0x4205c1=_0x4e4d4d,_0x2ce187=_0x329367;this[_0x4205c1(0xee)](_0x2ce187(0x8e));},'enableService':async function(){const _0xe6d9b5=_0x329367;this[_0xe6d9b5(0x93)](_0xe6d9b5(0x7c));},'disableService':async function(){const _0x35c984=_0x329367;this[_0x35c984(0x93)](_0x35c984(0x84));},'showSettingsMenu':async function(){const _0x5441e0=_0x329367;this[_0x5441e0(0x93)](_0x5441e0(0x79));},'enterBindCocosAppID':async function(){const _0x19833a=_0x329367;this[_0x19833a(0x93)](_0x19833a(0x99));},'associateAppID':async function(){const _0x119aa2=_0x329367;this[_0x119aa2(0x93)](_0x119aa2(0x7b));},'unassociateAppID':async function(){const _0x310230=_0x4e4d4d,_0x292e7d=_0x329367;this[_0x310230(0xee)](_0x292e7d(0x8b));},'ctrateGame':async function(){const _0x545cdc=_0x329367;this[_0x545cdc(0x93)](_0x545cdc(0x90));},'serviceIntegrationSuccess':async function(_0x3ab68d,_0x2e2597,_0x3db1fb,_0x1e1ace,_0xa8d540){const _0x15e03e=_0x4e4d4d,_0x28c55d=_0x329367;this[_0x28c55d(0x9b)](_0x3ab68d,_0x2e2597,_0x3db1fb),this[_0x28c55d(0x93)](_0x15e03e(0x100),{'time':_0xa8d540,'platform$$package_name':_0x1e1ace});},'serviceIntegrationFailed':async function(_0x3c95c9,_0x1f5d89,_0x510126,_0x40ac1b,_0x2195a7,_0x39c4b8){const _0x1671cc=_0x4e4d4d,_0x1d2f0f=_0x329367;this[_0x1671cc(0x101)](_0x3c95c9,_0x1f5d89,_0x510126),this[_0x1d2f0f(0x93)](_0x1d2f0f(0x8f),{'time':_0x2195a7,'platform$$package_name':_0x40ac1b,'cause':_0x39c4b8});},'huaweiServiceIntegrationSuccess':async function(_0x12e583,_0x5c5bc,_0x31c791,_0x2d5e9a,_0x504b4c,_0x52291e){const _0x408591=_0x329367;this[_0x408591(0x9b)](_0x12e583,_0x5c5bc,_0x31c791),this[_0x408591(0x93)](_0x408591(0x8c),{'time':_0x52291e,'platform$$package_name':_0x2d5e9a,'huawei_app_id':_0x504b4c});},'huaweiServiceIntegrationFailed':async function(_0x41e5b0,_0x749cf5,_0x4327bb,_0x931694,_0x5ece54,_0x34432d,_0x3511d2){const _0x5d89cd=_0x329367;this[_0x5d89cd(0x9b)](_0x41e5b0,_0x749cf5,_0x4327bb),this[_0x5d89cd(0x93)]('服务集成失败',{'time':_0x34432d,'platform$$package_name':_0x931694,'huawei_app_id':_0x5ece54,'cause':_0x3511d2});},'sdkhUbServiceIntegrationSuccess':async function(_0x42131f,_0x5d6683,_0x4795a9,_0x506c4c,_0x2b0753,_0x13c85c,_0x2c2504){const _0x56659f=_0x329367;this[_0x56659f(0x9b)](_0x42131f,_0x5d6683,_0x4795a9),this['generateAndSubmit'](_0x56659f(0x8c),{'time':_0x13c85c,'platform$$package_name':_0x506c4c,'huawei_app_id':_0x2b0753,'sdkhub$$[plugin_name:use_type]':_0x2c2504});},'sdkhUbServiceIntegrationFailed':async function(_0x19fd95,_0x59623d,_0x37c9d7,_0x3044e8,_0x2a3513,_0x28a355,_0x2dc867,_0x222132){const _0x45f996=_0x4e4d4d,_0x466e34=_0x329367;this[_0x45f996(0x101)](_0x19fd95,_0x59623d,_0x37c9d7),this[_0x466e34(0x93)](_0x466e34(0x8f),{'time':_0x28a355,'platform$$package_name':_0x3044e8,'huawei_app_id':_0x2a3513,'sdkhub$$[plugin_name:use_type]':_0x2dc867,'cause':_0x222132});},'openService':async function(){const _0x503019=_0x4e4d4d;this[_0x503019(0xee)](_0x503019(0xf6));},'openServiceSuccess':async function(){const _0x2bf9c2=_0x329367;this[_0x2bf9c2(0x93)](_0x2bf9c2(0x85));},'openServiceFailed':async function(_0x3df51c){const _0x30eee6=_0x4e4d4d;this[_0x30eee6(0xee)]('开通服务失败',{'cause':_0x3df51c});}};
|