Lua接口/服务端/RemovePlayerFromMyPersonalEnemyList
来自天龙知识库
将指定玩家从当前角色的个人仇人列表中移除。
Lua 调用
RemovePlayerFromMyPersonalEnemyList(sceneId, selfId, playerGuid)
服务端脚本中未检索到该接口的调用点(已检索 4245 个随包脚本)。
实现位于 LuaFnTbl_PvpAndReputation.h 第 263 行,注册表第 247 行。
参数
| 序号 | 参数 / 类型 | 说明 |
|---|---|---|
| 1 | sceneIdnumber
|
当前调用所在的场景 ID。 |
| 2 | selfIdnumber
|
当前场景内的对象 ID。玩家接口需传入有效玩家对象;不是角色 GUID。 |
| 3 | playerGuidnumber
|
玩家 GUID。 |
返回值
返回 1 个值。返回类型包括 number。明确的固定返回组合包括 0;-1。
注意事项
- 调用对象必须是当前场景中的有效玩家。