diff options
| author | Pedro J. Estébanez | 2017-05-17 14:47:17 +0200 |
|---|---|---|
| committer | Pedro J. Estébanez | 2017-05-17 14:55:59 +0200 |
| commit | b69d4ebff40c4b8fc55db00ad84514aff48f0c5d (patch) | |
| tree | c09d9bfb6b4ea8a2a945e4ac8a64d53961a7ff81 /doc/base/classes.xml | |
| parent | 9fa4f1c54c6d528192e7ed04354d5ce2c733d99a (diff) | |
| download | godot-b69d4ebff40c4b8fc55db00ad84514aff48f0c5d.tar.gz godot-b69d4ebff40c4b8fc55db00ad84514aff48f0c5d.tar.zst godot-b69d4ebff40c4b8fc55db00ad84514aff48f0c5d.zip | |
Add extended check option to GDFunctionState::is_valid()
Diffstat (limited to 'doc/base/classes.xml')
| -rw-r--r-- | doc/base/classes.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml index b50590c10..af0a494a8 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -15433,6 +15433,10 @@ <method name="is_valid" qualifiers="const"> <return type="bool"> </return> + <argument index="0" name="extended_check" type="bool" default="false"> + If true, also check if the associated script and object still exists. + The extended check is done in debug mode as part of [method GDFunctionState.resume], but you can use this if you know you may be trying to resume without knowing for sure the object and/or script have survived up to that point. + </argument> <description> Check whether the function call may be resumed. This is not the case if the function state was already resumed. </description> |
