Lua接口/服务端函数索引/珍兽繁殖公告:修订间差异
来自天龙知识库
跳到导航跳到搜索
整理当前服务端 Lua 接口:注册名称、参数、返回值与调用说明 |
维护服务端 Lua 接口:核对参数、返回值、边界条件与调用示例 |
||
| 第3行: | 第3行: | ||
[[首页|首页]] · [[Lua接口/服务端函数索引|服务端接口]] · [[Lua接口/服务端调用约定|调用约定]] | [[首页|首页]] · [[Lua接口/服务端函数索引|服务端接口]] · [[Lua接口/服务端调用约定|调用约定]] | ||
<div style="padding:14px 0;border-top:3px solid #287568;">珍兽繁殖公告:4 个接口,4 | <div style="padding:14px 0;border-top:3px solid #287568;">珍兽繁殖公告:4 个接口,4 个调用名称,其中 1 个在当前脚本中有调用。</div> | ||
{| class="wikitable" style="width:100%;table-layout:fixed;border-collapse:collapse;font-size:13px;" | {| class="wikitable" style="width:100%;table-layout:fixed;border-collapse:collapse;font-size:13px;" | ||
! scope="col" style="text-align:left;background:#edf3f2;padding:8px;width:36%;" | 函数 / 别名 | ! scope="col" style="text-align:left;background:#edf3f2;padding:8px;width:36%;" | 函数 / 别名 | ||
| 第9行: | 第9行: | ||
|- | |- | ||
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | [[Lua接口/服务端/CancelPetPlacard|CancelPetPlacard]] | | style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | [[Lua接口/服务端/CancelPetPlacard|CancelPetPlacard]] | ||
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">CancelPetPlacard(sceneId, selfId, targetId)</code><br />取消宠物公告 | | style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">CancelPetPlacard(sceneId, selfId, targetId)</code><br />取消宠物公告<br /><span style="color:#a08a6a;">脚本中未见调用</span> | ||
|- | |- | ||
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | [[Lua接口/服务端/DispatchPetPlacardList|DispatchPetPlacardList]] | | style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | [[Lua接口/服务端/DispatchPetPlacardList|DispatchPetPlacardList]] | ||
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">DispatchPetPlacardList(sceneId, selfId, targetId, firstCheckId, secondCheckId, nextPageOrPrevPage)</code><br />请求宠物的公告列表 | | style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">DispatchPetPlacardList(sceneId, selfId, targetId, firstCheckId, secondCheckId, nextPageOrPrevPage)</code><br />请求宠物的公告列表<br /><span style="color:#657078;">脚本中 2 处调用</span> | ||
|- | |- | ||
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | [[Lua接口/服务端/IssuePetPlacard|IssuePetPlacard]] | | style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | [[Lua接口/服务端/IssuePetPlacard|IssuePetPlacard]] | ||
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">IssuePetPlacard(sceneId, selfId, targetId, petGUID_H, petGUID_L, pszMessage)</code><br />发布宠物公告 | | style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">IssuePetPlacard(sceneId, selfId, targetId, petGUID_H, petGUID_L, pszMessage)</code><br />发布宠物公告<br /><span style="color:#a08a6a;">脚本中未见调用</span> | ||
|- | |- | ||
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | [[Lua接口/服务端/IssuePetPlacardByIndex|IssuePetPlacardByIndex]] | | style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | [[Lua接口/服务端/IssuePetPlacardByIndex|IssuePetPlacardByIndex]] | ||
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">IssuePetPlacardByIndex(sceneId, selfId, targetId, nPetIndex, pszMessage)</code><br />发布宠物公告 | | style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">IssuePetPlacardByIndex(sceneId, selfId, targetId, nPetIndex, pszMessage)</code><br />发布宠物公告<br /><span style="color:#a08a6a;">脚本中未见调用</span> | ||
|} | |} | ||
</div> | </div> | ||
2026年9月19日 (六) 13:03的版本
珍兽繁殖公告:4 个接口,4 个调用名称,其中 1 个在当前脚本中有调用。
| 函数 / 别名 | 调用与用途 |
|---|---|
| CancelPetPlacard | CancelPetPlacard(sceneId, selfId, targetId)取消宠物公告 脚本中未见调用 |
| DispatchPetPlacardList | DispatchPetPlacardList(sceneId, selfId, targetId, firstCheckId, secondCheckId, nextPageOrPrevPage)请求宠物的公告列表 脚本中 2 处调用 |
| IssuePetPlacard | IssuePetPlacard(sceneId, selfId, targetId, petGUID_H, petGUID_L, pszMessage)发布宠物公告 脚本中未见调用 |
| IssuePetPlacardByIndex | IssuePetPlacardByIndex(sceneId, selfId, targetId, nPetIndex, pszMessage)发布宠物公告 脚本中未见调用 |