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;file=file.png" alt="" /> <!--.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;} --></p>
<p><table border="0" cellpadding="0" cellspacing="0" width="1072" height="414" style="border-collapse:collapse;width:804.02pt;"><colgroup><col width="199" style="width:149.25pt;"> <col width="437" style="width:327.75pt;"> <col width="436" style="width:327.00pt;"></colgroup><tbody><tr height="18" style="height:13.50pt;"><td height="18" width="199" x:str="" style="height:13.50pt;width:149.25pt;">类型</td><td width="437" x:str="" style="width:327.75pt;">配置方式</td><td width="436" x:str="" style="width:327.00pt;">配置说明</td></tr><tr height="18" style="height:13.50pt;"><td height="18" x:str="" style="height:13.50pt;">open_panel|group|id</td><td x:str="">open_panel|界面组别id|唯一id|传参数可空</td><td x:str="">打开界面,唯一id可空,默认排序第一的界面</td></tr><tr height="18" style="height:13.50pt;"><td height="18" x:str="" style="height:13.50pt;">open_layer|layerId</td><td x:str="">open_layer|引擎界面id</td><td x:str="">打开996引擎自有得界面</td></tr><tr height="18" style="height:13.50pt;"><td height="18" x:str="" style="height:13.50pt;">store_quick_buy|itemId</td><td x:str="">store_quick_buy|商城道具ID</td><td x:str="">打开购买商城道具tips</td></tr><tr height="18" style="height:13.50pt;"><td height="18" x:str="" style="height:13.50pt;">open_quick_way|id</td><td x:str="">open_quick_way|id</td><td x:str="">直接打开获取途径(id,关联cfg_ManagerQuickWay表)</td></tr><tr height="18" style="height:13.50pt;"><td height="18" x:str="" style="height:13.50pt;">use_item|id|num</td><td x:str="">use_item|物品id|使用次数</td><td x:str="">使用使用物品道具</td></tr><tr height="18" style="height:13.50pt;"><td height="18" x:str="" style="height:13.50pt;">fresh_bag|</td><td x:str="">不能省略|</td><td x:str="">刷新背包,固定配置</td></tr><tr height="18" style="height:13.50pt;"><td height="18" x:str="" style="height:13.50pt;">auto_afk|100601|0</td><td x:str="">auto_afk|按钮ID|0智能开启1开启自动战斗2关闭自动战斗</td><td></td></tr><tr height="18" style="height:13.50pt;"><td height="18" x:str="" style="height:13.50pt;">request_mount|</td><td x:str="">request_mount|</td><td x:str="">请求上马下马</td></tr><tr height="18" style="height:13.50pt;"><td height="18" x:str="" style="height:13.50pt;">goto_activity|1001</td><td x:str="">goto_activity|活动ID</td><td x:str="">进入活动地图关联cfg_ManageActivity表activityId字段</td></tr><tr height="18" style="height:13.50pt;"><td height="18" x:str="" style="height:13.50pt;">goto_map|101|x|y|range</td><td x:str="">goto_map|地图ID|坐标x|坐标y|范围</td><td x:str="">进入地图(x,y可省略,进入地图随机位置)</td></tr><tr height="18" style="height:13.50pt;"><td height="18" x:str="" style="height:13.50pt;">goto_npc|npcId</td><td x:str="">goto_npc|npcId</td><td x:str="">传送到npc</td></tr><tr height="18" style="height:13.50pt;"><td height="18" x:str="" style="height:13.50pt;">move_npc|npcId</td><td x:str="">move_npc|npcId</td><td x:str="">移动到npc</td></tr><tr height="18" style="height:13.50pt;"><td height="18" x:str="" style="height:13.50pt;">goto_npc_click|npcid</td><td x:str="">goto_npc_click|npcid</td><td x:str="">传送到npc并且点击npc</td></tr><tr height="18" style="height:13.50pt;"><td height="18" x:str="" style="height:13.50pt;">move_npc_click|npcid</td><td x:str="">move_npc_click|npcid</td><td x:str="">移动到npc并且点击npc</td></tr><tr height="18" style="height:13.50pt;"><td height="18" x:str="" style="height:13.50pt;">goto_point|x|y</td><td x:str="">goto_poin|坐标x|坐标y</td><td x:str="">传送到当前地图某坐标点</td></tr><tr height="18" style="height:13.50pt;"><td height="18" x:str="" style="height:13.50pt;">move_point|x|y</td><td x:str="">move_point|坐标x|坐标y</td><td x:str="">移动到当前地图某坐标点</td></tr><tr height="18" style="height:13.50pt;"><td height="18" x:str="" style="height:13.50pt;">random_map|</td><td x:str="">不能省略|</td><td x:str="">在当前地图随机一次</td></tr><tr height="18" style="height:13.50pt;"><td height="18" x:str="" style="height:13.50pt;">add_skill|id</td><td x:str="">add_skill|技能ID</td><td></td></tr><tr height="18" style="height:13.50pt;"><td height="18" x:str="" style="height:13.50pt;">add_hpmp|提示文本</td><td x:str="">add_hpmp|加满后提示文本</td><td x:str="">加满hpmp,注意添加执行条件</td></tr><tr height="18" style="height:13.50pt;"><td height="18" x:str="" style="height:13.50pt;">go_by_npc|</td><td></td><td></td></tr><tr height="18" style="height:13.50pt;"><td height="18" x:str="" style="height:13.50pt;">//goto_point_auto|x|y</td><td x:str="">goto_poin_auto|坐标x|坐标y</td><td x:str="">传送到当前地图某坐标点(并自动挂机)</td></tr></tbody></table></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>