/******************************************************************************* * * Nx SDK管理器 * * * * 2021.12.10 ******************************************************************************/ const NxObject = require( "nx.object" ); const NxSDK = cc.Class( { extends: NxObject, name: "NxSDK", // ============================================ // 设备信息 // ============================================ // 设备ID getDeviceID: function() { nx.error( "$SDK:尚未实现!" ); return ""; }, // 包版本 getPackVersion: function() { nx.error( "$SDK:尚未实现!" ); return ""; }, // 包参数 getPackArgs: function() { nx.error( "$SDK:尚未实现!" ); return {}; }, // PHP路径列表 getPHPURLs: function() { nx.error( "$SDK:尚未实现!" ); return []; }, // ============================================ // 剪贴板 // ============================================ // 复制 setClipboard: function( _text ) { nx.error( "$SDK:尚未实现!" ); return false; }, // 粘贴 getClipboard: function() { nx.error( "$SDK:尚未实现!" ); return ""; }, // ============================================ // 第三方支持 // ============================================ } ); // 模块导出 module.exports = NxSDK;