docs(scripting): add baseline api reference and guide
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
# NullScriptRuntime::TrySetManagedFieldValue
|
||||
|
||||
**命名空间**: `XCEngine::Scripting`
|
||||
|
||||
**类型**: `method`
|
||||
|
||||
**头文件**: `XCEngine/Scripting/NullScriptRuntime.h`
|
||||
|
||||
## 签名
|
||||
|
||||
```cpp
|
||||
bool TrySetManagedFieldValue(
|
||||
const ScriptRuntimeContext& context,
|
||||
const std::string& fieldName,
|
||||
const ScriptFieldValue& value) override;
|
||||
```
|
||||
|
||||
## 当前实现行为
|
||||
|
||||
- 忽略所有参数。
|
||||
- 直接返回 `true`。
|
||||
|
||||
## 注意事项
|
||||
|
||||
这里的成功只代表“空运行时接受了这个接口调用”,不代表真实托管实例被更新。
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [NullScriptRuntime](NullScriptRuntime.md)
|
||||
- [TryGetManagedFieldValue](TryGetManagedFieldValue.md)
|
||||
Reference in New Issue
Block a user