Lua接口/服务端函数索引/好友与师徒
来自天龙知识库
跳到导航跳到搜索
好友与师徒:43 个接口,43 个调用名称。
| 函数 / 别名 | 调用与用途 |
|---|---|
| LuaAddPrenticeProExp | LuaAddPrenticeProExp(sceneId, selfId, guidPrentice, nExp)增加师傅可领取的徒弟贡献储备经验。 |
| LuaFnAgreeSwear | LuaFnAgreeSwear(sceneId, selfId, targetId)记录指定队友同意结拜。 |
| LuaFnAllTeamSwear | LuaFnAllTeamSwear(sceneId, selfId)为当前队伍执行结拜。 |
| LuaFnAprentice | LuaFnAprentice(sceneId, selfId, targetId)selfId 拜 targetId 为师 |
| LuaFnBetrayMaster | LuaFnBetrayMaster(sceneId, selfId)叛师 |
| LuaFnChangeJieBaiName | LuaFnChangeJieBaiName(sceneId, selfId)// 打开客户端结拜称号修改界面并返回现有称号。 |
| LuaFnChuShiMail | LuaFnChuShiMail(sceneId, selfId)向当前人物的师傅发送出师通知邮件。 |
| LuaFnDivorce | LuaFnDivorce(sceneId, selfId)单方面离婚 |
| LuaFnDrawJieBaiName | LuaFnDrawJieBaiName(sceneId, selfId, nTeamCount)// 打开客户端结拜名称抽取界面,并告知当前队伍人数。 |
| LuaFnExpAssign | LuaFnExpAssign(sceneId, selfId, nOpType)向客户端发送师徒储备经验领取界面的当前数据。 |
| LuaFnExpelPrentice | LuaFnExpelPrentice(sceneId, selfId, PrenticeGUID)开除某个徒弟 |
| LuaFnFinishAprentice | LuaFnFinishAprentice(sceneId, selfId, targetId)selfId 离开 targetId 师们,正式出师 |
| LuaFnGetBrotherGuid | LuaFnGetBrotherGuid(sceneId, selfId, nIndex)按索引取得结拜兄弟的 GUID。 |
| LuaFnGetFriendName | LuaFnGetFriendName(sceneId, selfId, friendGUID)得到 GUID 为 friendGUID 的好友的名字 |
| LuaFnGetFriendPoint | LuaFnGetFriendPoint(sceneId, selfId, friendID)得到和 ID 为 friendID 的好友的友好度 |
| LuaFnGetFriendPointByGUID | LuaFnGetFriendPointByGUID(sceneId, selfId, friendGUID)按好友 GUID 取得友好度。 |
| LuaFnGetJieBaiName | LuaFnGetJieBaiName(sceneId, selfId)// 返回当前结拜称号;没有结拜称号时不压入返回值。 |
| LuaFnGetMasterGUID | LuaFnGetMasterGUID(sceneId, selfId)得到师傅的 GUID |
| LuaFnGetmasterLevel | LuaFnGetmasterLevel(sceneId, selfId)取得当前角色的师傅等级。 |
| LuaFnGetPrenticeBetrayTime | LuaFnGetPrenticeBetrayTime(sceneId, selfId)得到最后一次徒弟叛师的时间 |
| LuaFnGetPrenticeCount | LuaFnGetPrenticeCount(sceneId, selfId)得要徒弟数量 |
| LuaFnGetPrenticeGUID | LuaFnGetPrenticeGUID(sceneId, selfId, nIndex)按索引读取玩家徒弟的角色 GUID。 |
| LuaFnGetSpouseGUID | LuaFnGetSpouseGUID(sceneId, selfId)得到配偶的 GUID |
| LuaFnHaveMaster | LuaFnHaveMaster(sceneId, selfId)判断 selfId 是否有师傅 |
| LuaFnIfAllTeamAgreeSwear | LuaFnIfAllTeamAgreeSwear(sceneId, selfId)判断当前队伍成员是否已经全部同意结拜。 |
| LuaFnIsBrother | LuaFnIsBrother(sceneId, selfId, targetId)判断 targetId 是否是 selfId 的结拜兄弟 |
| LuaFnIsFriend | LuaFnIsFriend(sceneId, selfId, friendID)判断 selfId 和 friendID 是否为好友 |
| LuaFnIsMarried | LuaFnIsMarried(sceneId, selfId)判断调用者是否已婚 |
| LuaFnIsMaster | LuaFnIsMaster(sceneId, selfId, targetId)判断 targetId 是否是 selfId 的师傅 |
| LuaFnIsMasterEver | LuaFnIsMasterEver(sceneId, selfId, targetId)判断目标是否曾作为当前人物的师傅,不受出师任务标志影响。 |
| LuaFnIsPrentice | LuaFnIsPrentice(sceneId, selfId, targetId)判断 targetId 是否是 selfId 的徒弟 |
| LuaFnIsSpouses | LuaFnIsSpouses(sceneId, selfId, targetId)判断 selfId 和 targetId 是否是夫妻 |
| LuaFnIsSweared | LuaFnIsSweared(sceneId, selfId)判断当前人物是否已经结拜。 |
| LuaFnMarry | LuaFnMarry(sceneId, selfId, spouseId, nWeddingType)sceneId 和 spouseId 结为夫妻 |
| LuaFnSetFriendPoint | LuaFnSetFriendPoint(sceneId, selfId, friendID, nFriendPoint)设置 selfId 与 friendID 的友好度为 friendPoint |
| LuaFnSetFriendPointByGUID | LuaFnSetFriendPointByGUID(sceneId, selfId, friendGUID, nFriendPoint)设置 selfId 与 friendGUID 的友好度为 friendPoint |
| LuaFnSetmasterLevel | LuaFnSetmasterLevel(sceneId, selfId, nMasterLevel)设置当前角色的师傅等级并标记关系数据为脏。 |
| LuaFnTeamSnapshort | LuaFnTeamSnapshort(sceneId, selfId)// 保存队伍成员快照,供结拜确认阶段校验队伍是否发生变化。 |
| LuaFnUnMarry | LuaFnUnMarry(sceneId, selfId, spouseId)sceneId 和 spouseId 离婚 |
| LuaFnUnswear | LuaFnUnswear(sceneId, selfId, guid)解除与指定 GUID 的结拜关系。 |
| LuaFnVerifyTeamWithSnapshort | LuaFnVerifyTeamWithSnapshort(sceneId, selfId)// 核对当前队伍与之前保存的结拜队伍快照。 |
| LuaGetPrenticeSupplyExp | LuaGetPrenticeSupplyExp(sceneId, selfId)取得师傅当前可领取的徒弟贡献储备经验。 |
| LuaGetProfMasterExp | LuaGetProfMasterExp(sceneId, selfId)取得徒弟尚未结算给师傅的职业师傅经验。 |