Lua接口/服务端/CitySuccessLevelUpBuilding
来自天龙知识库
通知 World 指定城市建筑升级成功。
Lua 调用
CitySuccessLevelUpBuilding(sceneId, selfId, citySceneId, buildingIndex, buildingLevel)
服务端脚本中未检索到该接口的调用点(已检索 4245 个随包脚本)。
实现位于 LuaFnTbl_City.h 第 425 行,注册表第 984 行。
参数
| 序号 | 参数 / 类型 | 说明 |
|---|---|---|
| 1 | sceneIdnumber
|
当前调用所在的场景 ID。 |
| 2 | selfIdnumber
|
当前场景内的对象 ID。玩家接口需传入有效玩家对象;不是角色 GUID。 |
| 3 | citySceneIdnumber
|
帮会城市场景编号。 |
| 4 | buildingIndexnumber
|
建筑索引。 |
| 5 | buildingLevelnumber
|
建筑等级。 |
返回值
无返回值。赋值接收时得到 nil;这与返回数字 0 不同。
注意事项
- 调用对象必须是当前场景中的有效玩家。