Auto-publish release WXSDK.

This commit is contained in:
nebulaliu 2024-11-14 19:47:42 +08:00
parent 3d141a9620
commit 65b7e86611
110 changed files with 1639 additions and 7381 deletions

View File

@ -6,6 +6,14 @@ Removed - 删除功能/接口
Fixed - 修复问题 Fixed - 修复问题
Others - 其他 Others - 其他
--> -->
## 2024-11-14 【普通更新】
### Feature
* 普通: WXSDK代码简化
* 普通: 增强JsonMapper报错信息
* 普通: 适配插件版本升级到1.2.62
### Fixed
* 普通: WX.Cloud.Init 自定义环境报错
## 2024-10-8 【重要更新】 ## 2024-10-8 【重要更新】
### Feature ### Feature
* 普通: UDPSocket.write适配 * 普通: UDPSocket.write适配

View File

@ -216,6 +216,56 @@ namespace WeChatWASM
return WXExportError.SUCCEED; return WXExportError.SUCCEED;
} }
private static int GetEnabledFlagStringIndex(string inAllText, string inTagStr)
{
try
{
int tagStrIdx = inAllText.IndexOf(inTagStr);
if (tagStrIdx == -1) throw new Exception($"Tag string '{inTagStr}' not found.");
int enabledStrIdx = inAllText.IndexOf("enabled: ", tagStrIdx);
if (enabledStrIdx == -1) throw new Exception("'enabled: ' string not found after tag.");
// inAllText[enabledStrIdx] == 'e'
// And that is to say, inAllText[enabledStrIdx + 9] should be 0 or 1
return enabledStrIdx + 9;
}
catch (Exception ex)
{
UnityEngine.Debug.LogError($"Failed to get enabled flag string index: {ex.Message}");
throw;
}
}
private static void SetPluginCompatibilityByModifyingMetadataFile(string inAssetPath, bool inEnabled)
{
try
{
string metaPath = AssetDatabase.GetTextMetaFilePathFromAssetPath(inAssetPath); // 获取.meta文件的路径
string enableFlagStr = inEnabled? "1" : "0";
// 读取.meta文件
// 处理WebGL
string metaContent = File.ReadAllText(metaPath);
int idxWebGLEnableFlag = GetEnabledFlagStringIndex(metaContent, "WebGL: WebGL");
metaContent = metaContent.Remove(idxWebGLEnableFlag, 1).Insert(idxWebGLEnableFlag, enableFlagStr);
// WeixinMiniGame
int idxWeixinMiniGameEnableFlag = GetEnabledFlagStringIndex(metaContent, "WeixinMiniGame: WeixinMiniGame");
metaContent = metaContent.Remove(idxWeixinMiniGameEnableFlag, 1).Insert(idxWeixinMiniGameEnableFlag, enableFlagStr);
// 写回.meta文件
File.WriteAllText(metaPath, metaContent);
AssetDatabase.ImportAsset(inAssetPath, ImportAssetOptions.ForceUpdate);
}
catch (Exception ex)
{
UnityEngine.Debug.LogError($"Failed to enable plugin asset: {ex.Message}");
}
}
private static void ProcessWxPerfBinaries() private static void ProcessWxPerfBinaries()
{ {
string[] wxPerfPlugins; string[] wxPerfPlugins;
@ -250,6 +300,7 @@ namespace WeChatWASM
#else #else
wxPerfJSBridgeImporter.SetCompatibleWithPlatform(BuildTarget.WebGL, config.CompileOptions.enablePerfAnalysis); wxPerfJSBridgeImporter.SetCompatibleWithPlatform(BuildTarget.WebGL, config.CompileOptions.enablePerfAnalysis);
#endif #endif
SetPluginCompatibilityByModifyingMetadataFile(wxPerfPlugins[0], config.CompileOptions.enablePerfAnalysis);
} }
{ {
@ -262,6 +313,7 @@ namespace WeChatWASM
#else #else
wxPerf2022Importer.SetCompatibleWithPlatform(BuildTarget.WebGL, bShouldEnablePerf2022Plugin); wxPerf2022Importer.SetCompatibleWithPlatform(BuildTarget.WebGL, bShouldEnablePerf2022Plugin);
#endif #endif
SetPluginCompatibilityByModifyingMetadataFile(wxPerfPlugins[1], bShouldEnablePerf2022Plugin);
} }
{ {
@ -274,36 +326,29 @@ namespace WeChatWASM
#else #else
wxPerf2021Importer.SetCompatibleWithPlatform(BuildTarget.WebGL, bShouldEnablePerf2021Plugin); wxPerf2021Importer.SetCompatibleWithPlatform(BuildTarget.WebGL, bShouldEnablePerf2021Plugin);
#endif #endif
SetPluginCompatibilityByModifyingMetadataFile(wxPerfPlugins[2], bShouldEnablePerf2021Plugin);
} }
for (int i = 0; i < wxPerfPlugins.Length; i++)
{
var importer = AssetImporter.GetAtPath(wxPerfPlugins[i]) as PluginImporter;
importer.SaveAndReimport();
AssetDatabase.WriteImportSettingsIfDirty(wxPerfPlugins[i]);
AssetDatabase.Refresh(); AssetDatabase.Refresh();
} }
}
private static bool IsCompatibleWithUnity202203OrNewer() private static bool IsCompatibleWithUnity202203OrNewer()
{ {
#if UNITY_2022_3_OR_NEWER #if UNITY_2022_3_OR_NEWER
return true; return true;
#endif #else
return false; return false;
#endif
} }
static bool IsCompatibleWithUnity202103To202203() static bool IsCompatibleWithUnity202103To202203()
{ {
#if UNITY_2022_3_OR_NEWER #if UNITY_2022_3_OR_NEWER
return false; return false;
#endif #elif !UNITY_2021_3_OR_NEWER
#if !UNITY_2021_3_OR_NEWER
return false; return false;
#endif #else
return true; return true;
#endif
} }
private static void CheckBuildTarget() private static void CheckBuildTarget()

View File

@ -1,8 +1,8 @@
namespace WeChatWASM namespace WeChatWASM
{ {
public class WXPluginVersion public class WXPluginVersion
{ {
public static string pluginVersion = "202410210239"; // 这一行不要改他,导出的时候会自动替换 public static string pluginVersion = "202411141147"; // 这一行不要改他,导出的时候会自动替换
} }
public class WXPluginConf public class WXPluginConf

Binary file not shown.

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: bb654cc867f7f01422a0f96772382a10 guid: d7b9a503098a826e42d62de42937c364
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

Binary file not shown.

View File

@ -1058,4 +1058,7 @@ mergeInto(LibraryManager.library, {
stringToUTF8(returnStr, buffer, bufferSize); stringToUTF8(returnStr, buffer, bufferSize);
return buffer; return buffer;
}, },
WX_SetPreferredFramesPerSecond: function(fps) {
window.WXWASMSDK.WX_SetPreferredFramesPerSecond(fps);
}
}); });

File diff suppressed because it is too large Load Diff

View File

@ -19,7 +19,7 @@ PluginImporter:
Exclude Editor: 1 Exclude Editor: 1
Exclude Linux64: 1 Exclude Linux64: 1
Exclude OSXUniversal: 1 Exclude OSXUniversal: 1
Exclude WeixinMiniGame: 0 Exclude WeixinMiniGame: 1
Exclude Win: 1 Exclude Win: 1
Exclude Win64: 1 Exclude Win64: 1
- first: - first:
@ -38,7 +38,7 @@ PluginImporter:
- first: - first:
Facebook: WebGL Facebook: WebGL
second: second:
enabled: 1 enabled: 0
settings: {} settings: {}
- first: - first:
Standalone: Linux64 Standalone: Linux64
@ -67,12 +67,12 @@ PluginImporter:
- first: - first:
WebGL: WebGL WebGL: WebGL
second: second:
enabled: 1 enabled: 0
settings: {} settings: {}
- first: - first:
WeixinMiniGame: WeixinMiniGame WeixinMiniGame: WeixinMiniGame
second: second:
enabled: 1 enabled: 0
settings: {} settings: {}
userData: userData:
assetBundleName: assetBundleName:

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 4958853e03990c68eff5a74fdaf5c631 guid: 01bdbebd66ee5a739cc6b349dba4cd99
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 05f03f853c30ba9a70aeea0e089ce713 guid: b62580f0401d094a6394f069fac1303a
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -489,6 +489,11 @@ namespace WeChatWASM
/// [wx.getChannelsLiveInfo(Object object)](https://developers.weixin.qq.com/minigame/dev/api/open-api/channels/wx.getChannelsLiveInfo.html) /// [wx.getChannelsLiveInfo(Object object)](https://developers.weixin.qq.com/minigame/dev/api/open-api/channels/wx.getChannelsLiveInfo.html)
/// 需要基础库: `2.15.0` /// 需要基础库: `2.15.0`
/// 获取视频号直播信息 /// 获取视频号直播信息
/// **常见错误码说明**
/// 100008 视频号需要认证
/// 40097 入参异常
/// 1416104 视频号获取到的数据为空
/// 1416100 非法的视频号id
/// </summary> /// </summary>
public static void GetChannelsLiveInfo(GetChannelsLiveInfoOption callback) public static void GetChannelsLiveInfo(GetChannelsLiveInfoOption callback)
{ {
@ -719,6 +724,7 @@ namespace WeChatWASM
/// wx.getNetworkType({ /// wx.getNetworkType({
/// success (res) { /// success (res) {
/// const networkType = res.networkType /// const networkType = res.networkType
/// const weakNet = res.weakNet
/// } /// }
/// }) /// })
/// ``` /// ```
@ -728,6 +734,18 @@ namespace WeChatWASM
WXSDKManagerHandler.Instance.GetNetworkType(callback); WXSDKManagerHandler.Instance.GetNetworkType(callback);
} }
/// <summary>
/// [wx.getPhoneNumber(Object object)](https://developers.weixin.qq.com/minigame/dev/api/open-api/user-info/wx.getPhoneNumber.html)
/// 手机号快速验证,向用户申请,并在用户同意后,快速填写和验证手机 [具体说明](https://developers.weixin.qq.com/minigame/dev/guide/open-ability/getPhoneNumber.html)
/// ****
/// ## 注意事项
/// - 用户点击后才可进行调用
/// </summary>
public static void GetPhoneNumber(GetPhoneNumberOption callback)
{
WXSDKManagerHandler.Instance.GetPhoneNumber(callback);
}
/// <summary> /// <summary>
/// [wx.getPrivacySetting(Object object)](https://developers.weixin.qq.com/minigame/dev/api/open-api/privacy/wx.getPrivacySetting.html) /// [wx.getPrivacySetting(Object object)](https://developers.weixin.qq.com/minigame/dev/api/open-api/privacy/wx.getPrivacySetting.html)
/// 需要基础库: `2.32.3` /// 需要基础库: `2.32.3`
@ -1143,6 +1161,28 @@ namespace WeChatWASM
WXSDKManagerHandler.Instance.MakeBluetoothPair(callback); WXSDKManagerHandler.Instance.MakeBluetoothPair(callback);
} }
/// <summary>
/// [wx.navigateBackMiniProgram(Object object)](https://developers.weixin.qq.com/minigame/dev/api/navigate/wx.navigateBackMiniProgram.html)
/// 需要基础库: `3.5.6`
/// 返回到上一个小程序。只有在当前小程序是被其他小程序打开时可以调用成功。
/// 注意:**微信客户端 iOS 6.5.9Android 6.5.10 及以上版本支持**
/// **示例代码**
/// ```js
/// wx.navigateBackMiniProgram({
/// extraData: {
/// foo: 'bar'
/// },
/// success(res) {
/// // 返回成功
/// }
/// })
/// ```
/// </summary>
public static void NavigateBackMiniProgram(NavigateBackMiniProgramOption callback)
{
WXSDKManagerHandler.Instance.NavigateBackMiniProgram(callback);
}
/// <summary> /// <summary>
/// [wx.navigateToMiniProgram(Object object)](https://developers.weixin.qq.com/minigame/dev/api/navigate/wx.navigateToMiniProgram.html) /// [wx.navigateToMiniProgram(Object object)](https://developers.weixin.qq.com/minigame/dev/api/navigate/wx.navigateToMiniProgram.html)
/// 需要基础库: `2.2.0` /// 需要基础库: `2.2.0`
@ -1422,11 +1462,11 @@ namespace WeChatWASM
/// | 类型 | 说明 | 最低版本 | /// | 类型 | 说明 | 最低版本 |
/// |------|------| -------| /// |------|------| -------|
/// | 小程序码 | | /// | 小程序码 | |
/// | 微信个人码 | 不支持小游戏 | [2.18.0](https://developers.weixin.qq.com/miniprogram/dev/framework/compatibility.html) | /// | 微信个人码 | | [2.18.0](https://developers.weixin.qq.com/miniprogram/dev/framework/compatibility.html) |
/// | 企业微信个人码 | 不支持小游戏 | [2.18.0](https://developers.weixin.qq.com/miniprogram/dev/framework/compatibility.html) | /// | 企业微信个人码 | | [2.18.0](https://developers.weixin.qq.com/miniprogram/dev/framework/compatibility.html) |
/// | 普通群码 | 指仅包含微信用户的群,不支持小游戏 | [2.18.0](https://developers.weixin.qq.com/miniprogram/dev/framework/compatibility.html) | /// | 普通群码 | 指仅包含微信用户的群 | [2.18.0](https://developers.weixin.qq.com/miniprogram/dev/framework/compatibility.html) |
/// | 互通群码 | 指既有微信用户也有企业微信用户的群,不支持小游戏 | [2.18.0](https://developers.weixin.qq.com/miniprogram/dev/framework/compatibility.html) | /// | 互通群码 | 指既有微信用户也有企业微信用户的群 | [2.18.0](https://developers.weixin.qq.com/miniprogram/dev/framework/compatibility.html) |
/// | 公众号二维码 | 不支持小游戏 | [2.18.0](https://developers.weixin.qq.com/miniprogram/dev/framework/compatibility.html) | /// | 公众号二维码 | | [2.18.0](https://developers.weixin.qq.com/miniprogram/dev/framework/compatibility.html) |
/// **示例代码** /// **示例代码**
/// ```js /// ```js
/// wx.previewImage({ /// wx.previewImage({
@ -1569,8 +1609,7 @@ namespace WeChatWASM
/// <summary> /// <summary>
/// [wx.requestMidasPayment(Object object)](https://developers.weixin.qq.com/minigame/dev/api/midas-payment/wx.requestMidasPayment.html) /// [wx.requestMidasPayment(Object object)](https://developers.weixin.qq.com/minigame/dev/api/midas-payment/wx.requestMidasPayment.html)
/// 需要基础库: `2.19.2` /// 需要基础库: `2.19.2`
/// 发起购买游戏币支付请求,可参考[虚拟支付2.0游戏币](https://developers.weixin.qq.com/minigame/dev/guide/open-ability/virtual-payment/coins.html) /// 发起购买游戏币支付请求,可参考[虚拟支付2.0游戏币](https://developers.weixin.qq.com/minigame/dev/guide/open-ability/virtual-payment/coins.html),虚拟支付全流程可参考[技术手册-虚拟支付篇](https://developers.weixin.qq.com/minigame/dev/guide/open-ability/virtual-payment/guide.html)
/// 虚拟支付全流程可参考[技术手册-虚拟支付篇](https://developers.weixin.qq.com/minigame/dev/guide/open-ability/virtual-payment/guide.html)
/// **buyQuantity 限制说明** /// **buyQuantity 限制说明**
/// 购买游戏币的时候buyQuantity 不可任意填写。需满足 buyQuantity * 游戏币单价 = 限定的价格等级。如:游戏币单价为 0.1 元,一次购买最少数量是 10。 /// 购买游戏币的时候buyQuantity 不可任意填写。需满足 buyQuantity * 游戏币单价 = 限定的价格等级。如:游戏币单价为 0.1 元,一次购买最少数量是 10。
/// 有效价格等级如下: /// 有效价格等级如下:
@ -2620,15 +2659,6 @@ namespace WeChatWASM
WXSDKManagerHandler.Instance.RevokeBufferURL(url); WXSDKManagerHandler.Instance.RevokeBufferURL(url);
} }
/// <summary>
/// [wx.setPreferredFramesPerSecond(number fps)](https://developers.weixin.qq.com/minigame/dev/api/render/frame/wx.setPreferredFramesPerSecond.html)
/// 可以修改渲染帧率。默认渲染帧率为 60 帧每秒。修改后requestAnimationFrame 的回调频率会发生改变。
/// </summary>
public static void SetPreferredFramesPerSecond(double fps)
{
WXSDKManagerHandler.Instance.SetPreferredFramesPerSecond(fps);
}
/// <summary> /// <summary>
/// [wx.setStorageSync(string key, any data)](https://developers.weixin.qq.com/minigame/dev/api/storage/wx.setStorageSync.html) /// [wx.setStorageSync(string key, any data)](https://developers.weixin.qq.com/minigame/dev/api/storage/wx.setStorageSync.html)
/// 将数据存储在本地缓存中指定的 key 中。会覆盖掉原来该 key 对应的内容。除非用户主动删除或因存储空间原因被系统清理,否则数据都一直可用。单个 key 允许存储的最大数据长度为 1MB所有数据存储上限为 10MB。 /// 将数据存储在本地缓存中指定的 key 中。会覆盖掉原来该 key 对应的内容。除非用户主动删除或因存储空间原因被系统清理,否则数据都一直可用。单个 key 允许存储的最大数据长度为 1MB所有数据存储上限为 10MB。
@ -2651,7 +2681,7 @@ namespace WeChatWASM
/// 主动拉起转发,进入选择通讯录界面。 /// 主动拉起转发,进入选择通讯录界面。
/// **** /// ****
/// ## 注意事项 /// ## 注意事项
/// - 转发图片说明:仅当自定义分享图片权限被封禁时用 imageUrlId其他情况都会用 imageUrl。 imageUrl 不填时使用游戏画面截图。 /// - 转发图片说明:imageUrlimageUrlId 都存在时,优先使用 imageUrl。 imageUrlimageUrlId 都不填时使用游戏画面截图。
/// </summary> /// </summary>
public static void ShareAppMessage(ShareAppMessageOption option) public static void ShareAppMessage(ShareAppMessageOption option)
{ {
@ -3456,7 +3486,7 @@ namespace WeChatWASM
/// 监听用户点击右上角菜单的「分享到朋友圈」按钮时触发的事件。本接口为 Beta 版本,暂只在 Android 平台支持。 /// 监听用户点击右上角菜单的「分享到朋友圈」按钮时触发的事件。本接口为 Beta 版本,暂只在 Android 平台支持。
/// **** /// ****
/// ## 注意事项 /// ## 注意事项
/// - 转发图片说明:仅当自定义分享图片权限被封禁时用 imageUrlId其他情况都会用 imageUrl。 imageUrl 不填时使用当前游戏的icon。 /// - 转发图片说明:imageUrlimageUrlId 都存在时,优先使用 imageUrl。 imageUrlimageUrlId 都不填时使用当前游戏的icon。
/// </summary> /// </summary>
public static void OnShareTimeline(Action<Action<OnShareTimelineListenerResult>> callback) public static void OnShareTimeline(Action<Action<OnShareTimelineListenerResult>> callback)
{ {

View File

@ -1081,6 +1081,14 @@ namespace WeChatWASM
WXSDKManagerHandler.Instance.OffGyroscopeChange(result); WXSDKManagerHandler.Instance.OffGyroscopeChange(result);
} }
#endregion #endregion
/// <summary>
/// [wx.setPreferredFramesPerSecond(number fps)](https://developers.weixin.qq.com/minigame/dev/api/render/frame/wx.setPreferredFramesPerSecond.html)
/// 可以修改渲染帧率。默认渲染帧率为 60 帧每秒。修改后requestAnimationFrame 的回调频率会发生改变。
/// </summary>
public static void SetPreferredFramesPerSecond(double fps)
{
WXSDKManagerHandler.Instance.SetPreferredFramesPerSecond(fps);
}
/// <summary> /// <summary>
/// 设置分辨率 /// 设置分辨率
/// </summary> /// </summary>

View File

@ -24,11 +24,10 @@ namespace WXSDKPerf
{ {
#if UNITY_EDITOR #if UNITY_EDITOR
return; return;
#endif #else
m_PerfEngineImplementation = new WXPerfEngine_Implementation(); m_PerfEngineImplementation = new WXPerfEngine_Implementation();
m_PerfEngineImplementation.StartPerfEngine(); m_PerfEngineImplementation.StartPerfEngine();
#endif
} }
@ -36,7 +35,7 @@ namespace WXSDKPerf
{ {
#if UNITY_EDITOR #if UNITY_EDITOR
return; return;
#endif #else
if (m_PerfEngineImplementation == null) if (m_PerfEngineImplementation == null)
{ {
UnityEngine.Debug.LogError("Annotation: Invalid m_PerfEngineImplementation! "); UnityEngine.Debug.LogError("Annotation: Invalid m_PerfEngineImplementation! ");
@ -44,6 +43,7 @@ namespace WXSDKPerf
} }
m_PerfEngineImplementation.Annotation(InAnnotationString); m_PerfEngineImplementation.Annotation(InAnnotationString);
#endif
} }
} }

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 71d499c3ddcdc7fd5d533d776b9aaa75 guid: 8a1247b573dd310a1b2a64ba21756bdf
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 6f597ccca77fde750d0f4c8196abad68 guid: 79c953592cf5081e24ec64910469c256
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 43ad945f913c72b896e9d15aad3768eb guid: 99e734d080d959d56ae6a52ab2f90b24
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 27ad8aed1211ef5700a5dceedabc3789 guid: d07e957b862d3577394bb5f30c841b27
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: c27a7dcb61c857845933242605f12552 guid: 3d369640bad5dde9208f01b22ffa181b
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 8f67335d1f6d64763c449e3f8333da8d guid: 3495bc6c3989dcf8e88863081dc22452
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: d0b13ce5a5d5764bc56872405651a7ff guid: 979f3d4d2e35c62b4b4f519b1e8eadf4
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: e28043f273092279a57bc7a786d0e972 guid: 531ab265ffa88403ffc4ce4ab706bb11
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 5a5565bbe0032420a545eee6d3fdafb2 guid: 323d4d77d13e49d058d4e031060a89dd
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 8cc99e1805b239924f629900abe94b27 guid: 953a2adfd422461e390eca30fc86730c
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 66aa05df83a04d9ab223807415093d4c guid: 731ce494d806fb3223bdd49c00f66608
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: d9cff7bb9cc2097ab2847c5c19df7309 guid: 35bc38a057afeea49631a8531525b9c9
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 929cecb008bf1b22d3ed01632c4710a4 guid: 06b0d68ee061f759cf54cc972ebb1a36
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 914b7fa4f2146f905840dd5d17bd0470 guid: 2078030a00a1994c7ce98919545d976c
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 70d4e228c2130c0cb591c18e93e1f550 guid: b3f682ba70ebc841b606df12b001d010
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 407cd4a4842f57c245ec12a0bbfdb8a0 guid: 126c6cabeaac54d0d1ddf8c3c844648c
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 5dcea72e479af431bbf3b484bbdc3be7 guid: 951b66720a211df06a2c37c7a4e6deb8
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: a4048857e3963e76a356912abebdfdb3 guid: 46409f256e5c5a004e7723caa67e205e
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 93f2f5ab96e4e7323c0951d2a1df08bc guid: 2749f6c15e441c6a6df17a597a310ded
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: b6ef441642af4b48fe036b6fc7791b2c guid: 9973d534a5cb9e55f8a51042fb7c3d20
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 104242df64dda252be23f8d0334d1fd9 guid: 4d58d6cad7803c6af5c1686144f09ac6
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: d4c10c96785f6c571728d49328adb4ac guid: 4161f5d60279a2b7a19482423c66908c
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 11e3ccd0c0a6a9630690b31edf1e8278 guid: 8c8d5f23952a30055cf46cdf40daf274
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 18805ddc7c20dd265ee0e09160909167 guid: f9eb78ff7a8937ac5dfb48245b04a8ba
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 27d5d8319f99972551e99b428046d349 guid: 6fff18b45179ff821e3781366c16adf4
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 6c1857e5257891e531d2499778d2d3fb guid: 131a5002fac1acf6b63596e65a931f2c
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 1085c3f760d99c59e74204bada08bd38 guid: 23ff41e809be2278962c3d135476ee3c
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 71c5adfc57d46fbbd7c42c51f0995322 guid: 31cc91af1db2b99581a7387b77891439
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: f369ff54a7b4c168522930c72667b5f6 guid: 6e9739e1de3ee18c4fb8a1317faaadcd
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 7222f386088173381a6a1187d33dfe1c guid: 66c3c6f4958b979c243d5533de996d68
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 78806020e93f51735707f1f7a3f68ca7 guid: 7f27d833ad935fa805512a84298eaea4
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: a5f33632b2e0b80e2db1020ae0a7b496 guid: 766bddd5446563ef8e2c47c71aa40451
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 7b499f7630aa7f5776e7d5662446c5d3 guid: 0f6f1ac5d67c594fef68a767dad077e5
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: a2b821d15c7b7d03e4113c0d9e232c76 guid: b0391791882adfe7474af8871ba1507a
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: c43f7810390cf2690dd3912e4610055c guid: dd320d849117093592f7fce740ac1bdc
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 0724291fe64922a17efd6cb0a65ec727 guid: ff9fe60d890673322bc7ed54360cbaae
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 5c6ada0ed52036ece580e2f2befe93f7 guid: 668714634739620987464e00472dd2c4
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: fcab8f06f70223dba5ab466e60dfaf36 guid: bec2f228c70bb650886701990e963ec6
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 648b5273e77d65ec3144195c6812078f guid: c75e2388a71a8e562b9a053722e599c2
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 276445e4c18507653996f49b941b9b96 guid: 7006a91caef44308276e578d482a49d2
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 749e2209b3d2511a5feb7a13c17efc10 guid: 0964f41cb20a736fdec3d1b5c5af48fa
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: d9776ae6e4626e6cb529908485fc204d guid: 8c8265f85df2fae934e43fddf225db35
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 5b2ad10c6ce1242b26937c49f9c8a22d guid: 543747602ed8b955436592aeff496702
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 1f35ba1a02cf8ae421d1135c6672e92c guid: 289d11dd2b99cdc444315bb581071a7b
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 9878f3900011e395917f007e50fbfbf1 guid: ef38590f60857344e9ba9e8972d892a6
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 2250a10bdd08bd01e33c6ecde6abc54b guid: 8928cde6f8dc7badb406c80e4f974c19
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 5f038f13e12b40016fef88b856538326 guid: ecb588c5857c7e0de9a55e9493f32bfb
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -32,7 +32,7 @@ export default {
wx.cloud.init(); wx.cloud.init();
} }
else { else {
CloudList[config.env].init(config); wx.cloud.init(config);
} }
}, },
WX_CloudCallFunction(env, conf, callbackId) { WX_CloudCallFunction(env, conf, callbackId) {

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 6ed202f67b2919b280ce4125ea73f966 guid: 377258b0bae3f0a3dda9bf70b233dcaa
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: f24f398b2c5aa388aabf8344793fa200 guid: f93aa301cb7a969f8386e0292ebd3ccd
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: dd99894629490ac337c33882994121ef guid: f1af4e76799774c7b92c18a06e929cdd
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 8f23cbbc407aeea73854d77e4f926827 guid: 29e769883b5fcc934b821c25a9a22c1c
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 9792e94ba797c1d7a839b7af36c16d50 guid: e5ed04bc49703466b850b706e954f545
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 61888d25ed644241a11211777adeb147 guid: 98b1b2b795fa0b5fb7bf6fad2a1ce599
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 5a724a35334cacf412c9e2f3acc7f422 guid: 836dee44cd3f3b9cc7cd34f7ffc36c8f
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 0ab028cd74f6a4d3050a882ea4e9b8e2 guid: d1a41b5f07ff17bdcc4fdd1a4b8315ea
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 05ad7dea7abc82eced86c7cfed64fdd2 guid: 3b9b7e634c503e8c6b3ce0c396abca9c
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 8d0a19aaa7549075831f77437c5dbbaa guid: eb800297b61247d41bbf60b9902a2fc4
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 1150a5dba7e4cce22d887cfb49789c73 guid: ba00566c1ff471dc82d70c7b74709ac3
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 50ff86be764df91afcc9739ac9ac9872 guid: 029769ef7bf31119d222436f7c2e9e38
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: c8576c2b6895f01b9f09f22a8c1eb53d guid: 7240d703aa50908bac720346b7bcbef9
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: d4421922a9caa43cb22f649240f75694 guid: 36a91578755ee2617a665209d70d9854
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 7f190f8a8b96a27440842086c821518c guid: be04e6c960eb3e3e73b4768e5d718c6c
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: f887b6fae8bdf1479fa48aa0d705e0fe guid: 58ba27f52b783990fde257bc7aed85bf
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 34d12bc6b08c49eafc1d4506ab0ff0bb guid: 8f5ddd9f5eea4d4f3db0fa5fc9844d6d
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: aa89889a48c5cb2aa606b07f96e46b52 guid: f79052ad77b04b833d44865832471fc4
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 2d5e814fe75eedce1663a654d887f1e9 guid: 3232c9317c5d73372a9524f21f564ba2
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -571,6 +571,7 @@ export const ResType = {
hasSystemProxy: 'bool', hasSystemProxy: 'bool',
networkType: 'string', networkType: 'string',
signalStrength: 'number', signalStrength: 'number',
weakNet: 'bool',
errMsg: 'string', errMsg: 'string',
}, },
GetPrivacySettingSuccessCallbackResult: { GetPrivacySettingSuccessCallbackResult: {

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: a84303c59e300838851050d29b0c431b guid: 6d5fa787e34212c77b6ee0cdcea51371
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 7e68194a0b2eefe3c22c9933857f5f1d guid: 439aa898bd68964ace7479e0a4bf5063
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 699ac195f0704b1241f038a3a3eb332b guid: 12ab4a8611a027144f8414c0681a8358
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: e37f7a1e880187e4fdf866e356531bce guid: eedcdccb46592975f6cc969ba8c92d59
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: bbd62c26c40c6015731c2bdb03baba50 guid: 835ddc94e8a02c48fa220413f0d32985
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 65201d2457263753b6a3eec11eda6ecd guid: ce94b115142efbd114758cff4dddf68d
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: b308df842b56fb4005a2e78b57dc52cc guid: 3ea9157a0cbc01964fa6bc6d0937e56d
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: a3a9e498c9d6fd9cd82c5ba05377b4d3 guid: 4deb544a60d9f161065ae0706b17cdbf
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 9e2525d6c69952c445ffffad7d0cd8e2 guid: 746d0e6a576ecdbf002f3e434aaa5a9c
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 9456a64a9d9dde693d3dff88fa6ac293 guid: 5a59e2d18e6490f632b7ec0b06bae3a6
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -171,4 +171,7 @@ export default {
args, args,
})); }));
}, },
WX_SetPreferredFramesPerSecond(fps) {
wx.setPreferredFramesPerSecond(fps);
},
}; };

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 000a31f9de0bd5bbb12bd3972e71f8c2 guid: 86677fe9d310a342dae4a89ec0dd1a33
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

Some files were not shown because too many files have changed in this diff Show More