Lua接口/服务端/LuaFnSetSceneLoad GrowPointData:修订间差异
来自雪舞天龙知识库
跳到导航跳到搜索
整理当前服务端 Lua 接口:注册名称、参数、返回值与调用说明 |
维护服务端 Lua 接口:核对参数、返回值、边界条件与调用示例 |
||
| (未显示2个用户的8个中间版本) | |||
| 第1行: | 第1行: | ||
__NOTOC__ | __NOTOC__ | ||
<div class="lua-reference | <div class="lua-reference"> | ||
[[首页|首页]] · [[Lua接口/服务端函数索引|服务端接口]] · [[Lua接口/服务端函数索引/场景与副本|场景与副本]] · [[Lua接口/服务端调用约定|调用约定]] | [[首页|首页]] · [[Lua接口/服务端函数索引|服务端接口]] · [[Lua接口/服务端函数索引/场景与副本|场景与副本]] · [[Lua接口/服务端调用约定|调用约定]] | ||
<div | <div class="lua-lead lua-rule">设置副本创建选项里的生长点分布文件,类似"*_growpoint.ini",</div> | ||
== Lua 调用 == | == Lua 调用 == | ||
<pre | <pre>LuaFnSetSceneLoad_GrowPointData(sceneId, growpointdataName)</pre> | ||
服务端脚本中未检索到该接口的调用点(已检索 4419 个随包脚本)。 | |||
实现位于 <code>LuaFnTbl_Scene.h</code>。 | |||
== 参数 == | == 参数 == | ||
{| class="wikitable | {| class="wikitable" | ||
! scope="col" | ! scope="col" class="lua-w11" | 序号 | ||
! scope="col" | ! scope="col" class="lua-w36" | 参数 / 类型 | ||
! scope="col | ! scope="col" | 说明 | ||
|- | |- | ||
| 1 | |||
| <code>sceneId</code><br /><span class="lua-muted"><code>number</code></span> | |||
| 当前调用所在的场景 ID。 | |||
|- | |- | ||
| 2 | |||
| <code>growpointdataName</code><br /><span class="lua-muted"><code>string</code></span> | |||
| 生长点分布文件名,字符串类型 | |||
|} | |} | ||
| 第30行: | 第34行: | ||
不需要带路径 | 不需要带路径 | ||
== 调用示例 == | |||
未检索到随包脚本中的真实调用。按上方参数表给出调用形态: | |||
<pre>local result = LuaFnSetSceneLoad_GrowPointData(sceneId, growpointdataName)</pre> | |||
</div> | </div> | ||
2026年10月27日 (二) 12:36的最新版本
设置副本创建选项里的生长点分布文件,类似"*_growpoint.ini",
Lua 调用
LuaFnSetSceneLoad_GrowPointData(sceneId, growpointdataName)
服务端脚本中未检索到该接口的调用点(已检索 4419 个随包脚本)。
实现位于 LuaFnTbl_Scene.h。
参数
| 序号 | 参数 / 类型 | 说明 |
|---|---|---|
| 1 | sceneIdnumber
|
当前调用所在的场景 ID。 |
| 2 | growpointdataNamestring
|
生长点分布文件名,字符串类型 |
返回值
无返回值。赋值接收时得到 nil;这与返回数字 0 不同。
用法补充
设置副本创建选项里的生长点分布文件,类似"*_growpoint.ini",
不需要带路径
调用示例
未检索到随包脚本中的真实调用。按上方参数表给出调用形态:
local result = LuaFnSetSceneLoad_GrowPointData(sceneId, growpointdataName)