LuaQuick框架(客户端)

996传奇引擎三端lua快速开发


ManageLink(超链配置)

<p>[TOC]</p> <h1>配置表字段说明</h1> <table> <thead> <tr> <th>字段名</th> <th>是否必填</th> <th>字段说明</th> </tr> </thead> <tbody> <tr> <td>id</td> <td>是</td> <td>超链id</td> </tr> <tr> <td>action</td> <td>是</td> <td>执行动作</td> </tr> <tr> <td>isKuaFu</td> <td>否</td> <td>跨服:配1表示该功能跨服不能用</td> </tr> <tr> <td>isJump</td> <td>否</td> <td>禁止跳转:不配置表示不禁止 1禁止跳转(与maplist的CheckLinkType有关联,特定用于活动地图的跳转控制)</td> </tr> <tr> <td>alert</td> <td>否</td> <td>提示消息:条件不足时,提示消息,配置空则不提示</td> </tr> <tr> <td>desc</td> <td>否</td> <td>描述</td> </tr> </tbody> </table> <h1>action配置说明</h1> <p><img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=c8b65041e0ceb4c83d53efc6435c5003&amp;amp;file=file.png" alt="" /> &lt;!--.font0 {color:#000000; font-size:11.0pt; font-family:宋体; font-weight:400; font-style:normal; text-decoration:none;} br {mso-data-placement:same-cell;} td {padding-top:1px; padding-left:1px; padding-right:1px; mso-ignore:padding; color:#000000; font-size:11.0pt; font-weight:400; font-style:normal; text-decoration:none; font-family:宋体; mso-generic-font-family:auto; mso-font-charset:134; mso-number-format:General; border:none; mso-background-source:auto; mso-pattern:auto; text-align:general; vertical-align:middle; white-space:nowrap; mso-rotate:0; mso-protection:locked visible;} --&gt;</p> <p>&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;1072&quot; height=&quot;414&quot; style=&quot;border-collapse:collapse;width:804.02pt;&quot;&gt;&lt;colgroup&gt;&lt;col width=&quot;199&quot; style=&quot;width:149.25pt;&quot;&gt; &lt;col width=&quot;437&quot; style=&quot;width:327.75pt;&quot;&gt; &lt;col width=&quot;436&quot; style=&quot;width:327.00pt;&quot;&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr height=&quot;18&quot; style=&quot;height:13.50pt;&quot;&gt;&lt;td height=&quot;18&quot; width=&quot;199&quot; x:str=&quot;&quot; style=&quot;height:13.50pt;width:149.25pt;&quot;&gt;类型&lt;/td&gt;&lt;td width=&quot;437&quot; x:str=&quot;&quot; style=&quot;width:327.75pt;&quot;&gt;配置方式&lt;/td&gt;&lt;td width=&quot;436&quot; x:str=&quot;&quot; style=&quot;width:327.00pt;&quot;&gt;配置说明&lt;/td&gt;&lt;/tr&gt;&lt;tr height=&quot;18&quot; style=&quot;height:13.50pt;&quot;&gt;&lt;td height=&quot;18&quot; x:str=&quot;&quot; style=&quot;height:13.50pt;&quot;&gt;open_panel|group|id&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;open_panel|界面组别id|唯一id|传参数可空&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;打开界面,唯一id可空,默认排序第一的界面&lt;/td&gt;&lt;/tr&gt;&lt;tr height=&quot;18&quot; style=&quot;height:13.50pt;&quot;&gt;&lt;td height=&quot;18&quot; x:str=&quot;&quot; style=&quot;height:13.50pt;&quot;&gt;open_layer|layerId&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;open_layer|引擎界面id&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;打开996引擎自有得界面&lt;/td&gt;&lt;/tr&gt;&lt;tr height=&quot;18&quot; style=&quot;height:13.50pt;&quot;&gt;&lt;td height=&quot;18&quot; x:str=&quot;&quot; style=&quot;height:13.50pt;&quot;&gt;store_quick_buy|itemId&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;store_quick_buy|商城道具ID&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;打开购买商城道具tips&lt;/td&gt;&lt;/tr&gt;&lt;tr height=&quot;18&quot; style=&quot;height:13.50pt;&quot;&gt;&lt;td height=&quot;18&quot; x:str=&quot;&quot; style=&quot;height:13.50pt;&quot;&gt;open_quick_way|id&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;open_quick_way|id&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;直接打开获取途径(id,关联cfg_ManagerQuickWay表)&lt;/td&gt;&lt;/tr&gt;&lt;tr height=&quot;18&quot; style=&quot;height:13.50pt;&quot;&gt;&lt;td height=&quot;18&quot; x:str=&quot;&quot; style=&quot;height:13.50pt;&quot;&gt;use_item|id|num&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;use_item|物品id|使用次数&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;使用使用物品道具&lt;/td&gt;&lt;/tr&gt;&lt;tr height=&quot;18&quot; style=&quot;height:13.50pt;&quot;&gt;&lt;td height=&quot;18&quot; x:str=&quot;&quot; style=&quot;height:13.50pt;&quot;&gt;fresh_bag|&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;不能省略|&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;刷新背包,固定配置&lt;/td&gt;&lt;/tr&gt;&lt;tr height=&quot;18&quot; style=&quot;height:13.50pt;&quot;&gt;&lt;td height=&quot;18&quot; x:str=&quot;&quot; style=&quot;height:13.50pt;&quot;&gt;auto_afk|100601|0&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;auto_afk|按钮ID|0智能开启1开启自动战斗2关闭自动战斗&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr height=&quot;18&quot; style=&quot;height:13.50pt;&quot;&gt;&lt;td height=&quot;18&quot; x:str=&quot;&quot; style=&quot;height:13.50pt;&quot;&gt;request_mount|&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;request_mount|&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;请求上马下马&lt;/td&gt;&lt;/tr&gt;&lt;tr height=&quot;18&quot; style=&quot;height:13.50pt;&quot;&gt;&lt;td height=&quot;18&quot; x:str=&quot;&quot; style=&quot;height:13.50pt;&quot;&gt;goto_activity|1001&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;goto_activity|活动ID&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;进入活动地图关联cfg_ManageActivity表activityId字段&lt;/td&gt;&lt;/tr&gt;&lt;tr height=&quot;18&quot; style=&quot;height:13.50pt;&quot;&gt;&lt;td height=&quot;18&quot; x:str=&quot;&quot; style=&quot;height:13.50pt;&quot;&gt;goto_map|101|x|y|range&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;goto_map|地图ID|坐标x|坐标y|范围&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;进入地图(x,y可省略,进入地图随机位置)&lt;/td&gt;&lt;/tr&gt;&lt;tr height=&quot;18&quot; style=&quot;height:13.50pt;&quot;&gt;&lt;td height=&quot;18&quot; x:str=&quot;&quot; style=&quot;height:13.50pt;&quot;&gt;goto_npc|npcId&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;goto_npc|npcId&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;传送到npc&lt;/td&gt;&lt;/tr&gt;&lt;tr height=&quot;18&quot; style=&quot;height:13.50pt;&quot;&gt;&lt;td height=&quot;18&quot; x:str=&quot;&quot; style=&quot;height:13.50pt;&quot;&gt;move_npc|npcId&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;move_npc|npcId&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;移动到npc&lt;/td&gt;&lt;/tr&gt;&lt;tr height=&quot;18&quot; style=&quot;height:13.50pt;&quot;&gt;&lt;td height=&quot;18&quot; x:str=&quot;&quot; style=&quot;height:13.50pt;&quot;&gt;goto_npc_click|npcid&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;goto_npc_click|npcid&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;传送到npc并且点击npc&lt;/td&gt;&lt;/tr&gt;&lt;tr height=&quot;18&quot; style=&quot;height:13.50pt;&quot;&gt;&lt;td height=&quot;18&quot; x:str=&quot;&quot; style=&quot;height:13.50pt;&quot;&gt;move_npc_click|npcid&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;move_npc_click|npcid&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;移动到npc并且点击npc&lt;/td&gt;&lt;/tr&gt;&lt;tr height=&quot;18&quot; style=&quot;height:13.50pt;&quot;&gt;&lt;td height=&quot;18&quot; x:str=&quot;&quot; style=&quot;height:13.50pt;&quot;&gt;goto_point|x|y&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;goto_poin|坐标x|坐标y&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;传送到当前地图某坐标点&lt;/td&gt;&lt;/tr&gt;&lt;tr height=&quot;18&quot; style=&quot;height:13.50pt;&quot;&gt;&lt;td height=&quot;18&quot; x:str=&quot;&quot; style=&quot;height:13.50pt;&quot;&gt;move_point|x|y&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;move_point|坐标x|坐标y&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;移动到当前地图某坐标点&lt;/td&gt;&lt;/tr&gt;&lt;tr height=&quot;18&quot; style=&quot;height:13.50pt;&quot;&gt;&lt;td height=&quot;18&quot; x:str=&quot;&quot; style=&quot;height:13.50pt;&quot;&gt;random_map|&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;不能省略|&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;在当前地图随机一次&lt;/td&gt;&lt;/tr&gt;&lt;tr height=&quot;18&quot; style=&quot;height:13.50pt;&quot;&gt;&lt;td height=&quot;18&quot; x:str=&quot;&quot; style=&quot;height:13.50pt;&quot;&gt;add_skill|id&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;add_skill|技能ID&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr height=&quot;18&quot; style=&quot;height:13.50pt;&quot;&gt;&lt;td height=&quot;18&quot; x:str=&quot;&quot; style=&quot;height:13.50pt;&quot;&gt;add_hpmp|提示文本&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;add_hpmp|加满后提示文本&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;加满hpmp,注意添加执行条件&lt;/td&gt;&lt;/tr&gt;&lt;tr height=&quot;18&quot; style=&quot;height:13.50pt;&quot;&gt;&lt;td height=&quot;18&quot; x:str=&quot;&quot; style=&quot;height:13.50pt;&quot;&gt;go_by_npc|&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr height=&quot;18&quot; style=&quot;height:13.50pt;&quot;&gt;&lt;td height=&quot;18&quot; x:str=&quot;&quot; style=&quot;height:13.50pt;&quot;&gt;//goto_point_auto|x|y&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;goto_poin_auto|坐标x|坐标y&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;传送到当前地图某坐标点(并自动挂机)&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;</p> <h2>常用接口</h2> <ul> <li> <p>跳转超链 <code>player:jump_link(id, data)</code></p> <pre><code>param参数 类型 说明 id number 超链id data table 携带数据</code></pre> </li> <li> <p>跳转到某个超链 <code>game.jumpToLink(id)</code></p> </li> <li>富文本超链转参数对象 <code>co.jumpLink(str)</code> <pre><code>str 超链字符串 返回值 table { head 超链头 type 超链类型 id 超链ID }</code></pre></li> </ul>

页面列表

ITEM_HTML