mirror of
https://github.com/godotengine/godot-headers.git
synced 2026-01-01 09:48:20 +03:00
Compare commits
7 Commits
godot-3.3-
...
3.3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cd457bda8c | ||
|
|
30298009f5 | ||
|
|
68174528c9 | ||
|
|
134212db03 | ||
|
|
2840b31344 | ||
|
|
ec43f875e5 | ||
|
|
bd863357de |
175
README.md
175
README.md
@@ -1,20 +1,46 @@
|
||||
# godot-headers
|
||||
|
||||
#### `GDNative / NativeScript`
|
||||
This repository contains C headers for
|
||||
[**Godot Engine**](https://github.com/godotengine/godot)'s *GDNative* API,
|
||||
which can be used to write *NativeScripts*.
|
||||
|
||||
> `GDNative` enables the use of dynamically linked libraries inside of [**Godot**](https://github.com/godotengine/godot).
|
||||
> `GDNative` enables the use of dynamically linked libraries inside of
|
||||
> [**Godot**](https://github.com/godotengine/godot).
|
||||
|
||||
> `NativeScript` uses GDNative to implement scripts backed by native code.
|
||||
|
||||
- [**Getting Started**](#getting-started)
|
||||
- [**FAQ**](#faq)
|
||||
- [**Versioning**](#versioning)
|
||||
- [**Getting Started**](#getting-started)
|
||||
- [**FAQ**](#faq)
|
||||
- [**Updating Headers**](#updating-headers)
|
||||
|
||||
## Versioning
|
||||
|
||||
This repositories follows the same branch versioning as the main [Godot Engine
|
||||
repository](https://github.com/godotengine/godot):
|
||||
|
||||
- `master` tracks the current development branch. As this is a moving target,
|
||||
the headers in this repository may not always be fully in sync with upstream.
|
||||
See [**Updating Headers**](#updating-headers) if you need to bring
|
||||
them up to date.
|
||||
- `3.x` tracks the development of the next 3.x minor release. Like `master`, it
|
||||
might not always be fully up-to-date with upstream.
|
||||
- Other versioned branches (e.g. `3.3`, `3.2`) track the latest stable release
|
||||
in the corresponding branch.
|
||||
|
||||
Stable releases are also tagged on this repository:
|
||||
[**Tags**](https://github.com/godotengine/godot-headers/tags).
|
||||
|
||||
**For any project built against a stable release of Godot, we recommend using
|
||||
this repository as a Git submodule, checking out the specific tag matching your
|
||||
Godot version.**
|
||||
|
||||
## Getting Started
|
||||
|
||||
| **Build latest version of Godot** | [**GitHub**](https://github.com/godotengine/godot) | [**Docs**](https://godot.readthedocs.io/en/latest/development/compiling/index.html) |
|
||||
| **Build latest version of Godot** | [**GitHub**](https://github.com/godotengine/godot) | [**Docs**](https://docs.godotengine.org/en/latest/development/compiling/index.html) |
|
||||
| --- | --- | --- |
|
||||
|
||||
### Clone godot-headers into Library
|
||||
### Clone `godot-headers` into Library
|
||||
|
||||
Clone `godot-headers` under `SimpleLibrary/`
|
||||
|
||||
@@ -23,9 +49,10 @@ cd SimpleLibrary
|
||||
git clone https://github.com/godotengine/godot-headers
|
||||
```
|
||||
|
||||
> Note that the master branch of this repository contains the header for the latest Godot master. If you want to build GDNative modules for older versions of Godot add `-b <version>` to the git clone command above. i.e. `git clone https://github.com/godotengine/godot-headers -b 3.0` will retrieve headers compatible with Godot 3.0.
|
||||
|
||||
> With the exception of a breaking change in the ARVR module between 3.0 and 3.1, GDNative plugins written for an older version of Godot will work in newer versions.
|
||||
Note that the master branch of this repository contains the headers for the
|
||||
latest Godot `master` branch. See [**Versioning**](#versioning) for details.
|
||||
You can use `-b <version>` to the above Git clone command to retrieve a specific
|
||||
branch or tag (e.g. `-b 3.x` or `-b godot-3.3.3-stable`).
|
||||
|
||||
```bash
|
||||
[SimpleLibrary]
|
||||
@@ -35,7 +62,7 @@ git clone https://github.com/godotengine/godot-headers
|
||||
|
||||
### Create Script
|
||||
|
||||
Create `test.c` under `SimpleLibrary/src/`
|
||||
Create `test.c` under `SimpleLibrary/src/`.
|
||||
|
||||
<details>
|
||||
|
||||
@@ -46,22 +73,22 @@ Create `test.c` under `SimpleLibrary/src/`
|
||||
#include <stdio.h>
|
||||
|
||||
void *test_constructor(godot_object *obj, void *method_data) {
|
||||
printf("test.constructor()\n");
|
||||
return 0;
|
||||
printf("test.constructor()\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
void test_destructor(godot_object *obj, void *method_data, void *user_data) {
|
||||
printf("test.destructor()\n");
|
||||
printf("test.destructor()\n");
|
||||
}
|
||||
|
||||
/** func _ready() **/
|
||||
godot_variant test_ready(godot_object *obj, void *method_data, void *user_data, int num_args, godot_variant **args) {
|
||||
godot_variant ret;
|
||||
godot_variant_new_nil(&ret);
|
||||
godot_variant ret;
|
||||
godot_variant_new_nil(&ret);
|
||||
|
||||
printf("_ready()\n");
|
||||
printf("_ready()\n");
|
||||
|
||||
return ret;
|
||||
return ret;
|
||||
}
|
||||
|
||||
/** Library entry point **/
|
||||
@@ -78,64 +105,64 @@ void GDN_EXPORT godot_nativescript_init(void *desc) {
|
||||
|
||||
godot_instance_create_func create_func = {
|
||||
.create_func = &test_constructor,
|
||||
.method_data = 0,
|
||||
.free_func = 0
|
||||
};
|
||||
.method_data = 0,
|
||||
.free_func = 0
|
||||
};
|
||||
|
||||
godot_instance_destroy_func destroy_func = {
|
||||
.destroy_func = &test_destructor,
|
||||
.method_data = 0,
|
||||
.free_func = 0
|
||||
};
|
||||
godot_instance_destroy_func destroy_func = {
|
||||
.destroy_func = &test_destructor,
|
||||
.method_data = 0,
|
||||
.free_func = 0
|
||||
};
|
||||
|
||||
godot_nativescript_register_class(desc, "SimpleClass", "Node", create_func, destroy_func);
|
||||
godot_nativescript_register_class(desc, "SimpleClass", "Node", create_func, destroy_func);
|
||||
|
||||
{
|
||||
godot_instance_method method = {
|
||||
.method = &test_ready,
|
||||
.method_data = 0,
|
||||
.free_func = 0
|
||||
};
|
||||
{
|
||||
godot_instance_method method = {
|
||||
.method = &test_ready,
|
||||
.method_data = 0,
|
||||
.free_func = 0
|
||||
};
|
||||
|
||||
godot_method_attributes attr = {
|
||||
.rpc_type = GODOT_METHOD_RPC_MODE_DISABLED
|
||||
};
|
||||
godot_method_attributes attr = {
|
||||
.rpc_type = GODOT_METHOD_RPC_MODE_DISABLED
|
||||
};
|
||||
|
||||
godot_nativescript_register_method(desc, "SimpleClass", "_ready", attr, method);
|
||||
}
|
||||
godot_nativescript_register_method(desc, "SimpleClass", "_ready", attr, method);
|
||||
}
|
||||
}
|
||||
|
||||
godot_variant GDN_EXPORT some_test_procedure(void *data, godot_array *args) {
|
||||
godot_variant ret;
|
||||
godot_variant_new_int(&ret, 42);
|
||||
godot_variant ret;
|
||||
godot_variant_new_int(&ret, 42);
|
||||
|
||||
godot_string s;
|
||||
godot_string_new_with_wide_string(&s, L"Hello World", 11);
|
||||
godot_print(&s);
|
||||
godot_string s;
|
||||
godot_string_new_with_wide_string(&s, L"Hello World", 11);
|
||||
godot_print(&s);
|
||||
|
||||
godot_string_destroy(&s);
|
||||
godot_string_destroy(&s);
|
||||
|
||||
return ret;
|
||||
return ret;
|
||||
}
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
`Expand details for example code.`
|
||||
Expand *Details* for example code.
|
||||
|
||||
### Compile Library
|
||||
|
||||
On Linux:
|
||||
|
||||
```bash
|
||||
clang -g -fPIC -std=c99 -c src/test.c -I/path/to/godot/headers/ -o src/test.os
|
||||
clang -g -fPIC -c src/test.c -I/path/to/godot/headers/ -o src/test.os
|
||||
clang -g -shared src/test.os -o lib/test.so
|
||||
```
|
||||
|
||||
On MacOS:
|
||||
|
||||
```bash
|
||||
clang -g -fPIC -std=c99 -c src/test.c -I/path/to/godot/headers/ -o src/test.os
|
||||
clang -g -fPIC -c src/test.c -I/path/to/godot/headers/ -o src/test.os
|
||||
clang -g -shared -framework Cocoa -Wl,-undefined,dynamic_lookup src/test.os -o lib/test.dylib
|
||||
```
|
||||
|
||||
@@ -146,9 +173,9 @@ clang -g -shared -framework Cocoa -Wl,-undefined,dynamic_lookup src/test.os -o l
|
||||
The GDNativeLibrary resource contains links to the libraries for each platform.
|
||||
|
||||
1. Create a new resource in memory and edit it.
|
||||
1. Select `Resource > GDNativeLibrary`.
|
||||
1. Set the library file for your platform inside the inspector.
|
||||
1. Save the edited resource as a `.tres`
|
||||
2. Select `Resource > GDNativeLibrary`.
|
||||
3. Set the library file for your platform inside the inspector.
|
||||
4. Save the edited resource as a `.tres`
|
||||
|
||||
<details>
|
||||
|
||||
@@ -162,7 +189,7 @@ The GDNativeLibrary resource contains links to the libraries for each platform.
|
||||
|
||||
</details>
|
||||
|
||||
`Expand details for screenshots.`
|
||||
Expand *Details* for screenshots.
|
||||
|
||||
### Using GDNativeLibrary in GDScript
|
||||
|
||||
@@ -170,25 +197,25 @@ The GDNativeLibrary resource contains links to the libraries for each platform.
|
||||
extends Node
|
||||
|
||||
func _ready():
|
||||
var gdn = GDNative.new()
|
||||
gdn.library = load("res://lib/libtest.tres")
|
||||
var gdn = GDNative.new()
|
||||
gdn.library = load("res://lib/libtest.tres")
|
||||
|
||||
gdn.initialize()
|
||||
gdn.initialize()
|
||||
|
||||
var res = gdn.call_native("standard_varcall", "some_test_procedure", [])
|
||||
var res = gdn.call_native("standard_varcall", "some_test_procedure", [])
|
||||
|
||||
print("result: ", res)
|
||||
print("result: ", res)
|
||||
|
||||
gdn.terminate()
|
||||
gdn.terminate()
|
||||
```
|
||||
|
||||
### Attaching GDNativeLibrary to a Node
|
||||
|
||||
1. Attach a new script to a node.
|
||||
1. In the pop-up dialog, choose NativeScript in the `Language` menu.
|
||||
1. Enable built-in script, or create a `.gdn` file, which only contains a name.
|
||||
1. Specify the `Class Name`.
|
||||
1. Press `Create`.
|
||||
2. In the pop-up dialog, choose NativeScript in the `Language` menu.
|
||||
3. Enable built-in script, or create a `.gdn` file, which only contains a name.
|
||||
4. Specify the `Class Name`.
|
||||
5. Press `Create`.
|
||||
|
||||
The GDNativeLibrary field in a NativeScript is empty by default.
|
||||
|
||||
@@ -201,7 +228,7 @@ The GDNativeLibrary field in a NativeScript is empty by default.
|
||||
|
||||
</details>
|
||||
|
||||
`Expand details for screenshots.`
|
||||
Expand *Details* for screenshots.
|
||||
|
||||
## FAQ
|
||||
|
||||
@@ -231,5 +258,25 @@ You can! ✨
|
||||
**What is the reason behind the name "GDNative"?**
|
||||
|
||||
GDNative was originally named "cscript" because it exposes a C API, but people
|
||||
mistook a relation to C#, which is sometimes abbreviated as "cs". Then named "DLScript", but that brought up some confusion, so we settled with
|
||||
GDNative. 📖
|
||||
mistook a relation to C#, which is sometimes abbreviated as "cs". Then named
|
||||
"DLScript", but that brought up some confusion, so we settled with GDNative. 📖
|
||||
|
||||
## Updating Headers
|
||||
|
||||
See [**Versioning**](#versioning) for details on the Godot versions tracked by
|
||||
each branch of this repository.
|
||||
|
||||
If the relevant branch is not up-to-date for your needs, or if you want to sync
|
||||
the headers with your own modified version of Godot, here is the update
|
||||
procedure used to sync this repository with upstream releases:
|
||||
|
||||
- Compile [Godot Engine](https://github.com/godotengine/godot) at the specific
|
||||
version/commit which you are using.
|
||||
- Use the compiled executable to generate the `api.json` file with:
|
||||
`godot --gdnative-generate-json-api api.json`
|
||||
- Copy the file `modules/gdnative/gdnative_api.json` to this repository.
|
||||
- Copy the files and folders from `modules/gdnative/include` to this repository,
|
||||
overwriting existing content. (To be sure to be in sync, you can delete the
|
||||
folders of this repository first, then copy the upstream folders in place.)
|
||||
Make sure that you compiled the correct Godot version so that the generated
|
||||
`gdnative_api_struct.gen.h` is up-to-date.
|
||||
|
||||
226
api.json
226
api.json
@@ -110,6 +110,7 @@
|
||||
"JOY_BUTTON_2": 2,
|
||||
"JOY_BUTTON_20": 20,
|
||||
"JOY_BUTTON_21": 21,
|
||||
"JOY_BUTTON_22": 22,
|
||||
"JOY_BUTTON_3": 3,
|
||||
"JOY_BUTTON_4": 4,
|
||||
"JOY_BUTTON_5": 5,
|
||||
@@ -117,7 +118,7 @@
|
||||
"JOY_BUTTON_7": 7,
|
||||
"JOY_BUTTON_8": 8,
|
||||
"JOY_BUTTON_9": 9,
|
||||
"JOY_BUTTON_MAX": 22,
|
||||
"JOY_BUTTON_MAX": 23,
|
||||
"JOY_DPAD_DOWN": 13,
|
||||
"JOY_DPAD_LEFT": 14,
|
||||
"JOY_DPAD_RIGHT": 15,
|
||||
@@ -126,21 +127,22 @@
|
||||
"JOY_DS_B": 0,
|
||||
"JOY_DS_X": 3,
|
||||
"JOY_DS_Y": 2,
|
||||
"JOY_GUIDE": 16,
|
||||
"JOY_INVALID_OPTION": -1,
|
||||
"JOY_L": 4,
|
||||
"JOY_L2": 6,
|
||||
"JOY_L3": 8,
|
||||
"JOY_MISC1": 16,
|
||||
"JOY_MISC1": 17,
|
||||
"JOY_OCULUS_AX": 7,
|
||||
"JOY_OCULUS_BY": 1,
|
||||
"JOY_OCULUS_MENU": 3,
|
||||
"JOY_OPENVR_MENU": 1,
|
||||
"JOY_OPENVR_TOUCHPADX": 0,
|
||||
"JOY_OPENVR_TOUCHPADY": 1,
|
||||
"JOY_PADDLE1": 17,
|
||||
"JOY_PADDLE2": 18,
|
||||
"JOY_PADDLE3": 19,
|
||||
"JOY_PADDLE4": 20,
|
||||
"JOY_PADDLE1": 18,
|
||||
"JOY_PADDLE2": 19,
|
||||
"JOY_PADDLE3": 20,
|
||||
"JOY_PADDLE4": 21,
|
||||
"JOY_R": 5,
|
||||
"JOY_R2": 7,
|
||||
"JOY_R3": 9,
|
||||
@@ -150,7 +152,7 @@
|
||||
"JOY_SONY_TRIANGLE": 3,
|
||||
"JOY_SONY_X": 0,
|
||||
"JOY_START": 11,
|
||||
"JOY_TOUCHPAD": 21,
|
||||
"JOY_TOUCHPAD": 22,
|
||||
"JOY_VR_ANALOG_GRIP": 4,
|
||||
"JOY_VR_ANALOG_TRIGGER": 2,
|
||||
"JOY_VR_GRIP": 2,
|
||||
@@ -44007,6 +44009,25 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "_shape_changed",
|
||||
"return_type": "void",
|
||||
"is_editor": false,
|
||||
"is_noscript": false,
|
||||
"is_const": false,
|
||||
"is_reverse": false,
|
||||
"is_virtual": true,
|
||||
"has_varargs": false,
|
||||
"is_from_script": false,
|
||||
"arguments": [
|
||||
{
|
||||
"name": "shape",
|
||||
"type": "Shape",
|
||||
"has_default_value": false,
|
||||
"default_value": ""
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "_update_debug_shapes",
|
||||
"return_type": "void",
|
||||
@@ -45394,19 +45415,6 @@
|
||||
"signals": [
|
||||
],
|
||||
"methods": [
|
||||
{
|
||||
"name": "_shape_changed",
|
||||
"return_type": "void",
|
||||
"is_editor": false,
|
||||
"is_noscript": false,
|
||||
"is_const": false,
|
||||
"is_reverse": false,
|
||||
"is_virtual": true,
|
||||
"has_varargs": false,
|
||||
"is_from_script": false,
|
||||
"arguments": [
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "get_shape",
|
||||
"return_type": "Shape",
|
||||
@@ -80136,6 +80144,25 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "action_get_deadzone",
|
||||
"return_type": "float",
|
||||
"is_editor": false,
|
||||
"is_noscript": false,
|
||||
"is_const": false,
|
||||
"is_reverse": false,
|
||||
"is_virtual": false,
|
||||
"has_varargs": false,
|
||||
"is_from_script": false,
|
||||
"arguments": [
|
||||
{
|
||||
"name": "action",
|
||||
"type": "String",
|
||||
"has_default_value": false,
|
||||
"default_value": ""
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "action_has_event",
|
||||
"return_type": "bool",
|
||||
@@ -83703,6 +83730,13 @@
|
||||
"setter": "",
|
||||
"index": -1
|
||||
},
|
||||
{
|
||||
"name": "collider_rid",
|
||||
"type": "RID",
|
||||
"getter": "get_collider_rid",
|
||||
"setter": "",
|
||||
"index": -1
|
||||
},
|
||||
{
|
||||
"name": "collider_shape",
|
||||
"type": "Object",
|
||||
@@ -83802,6 +83836,19 @@
|
||||
"arguments": [
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "get_collider_rid",
|
||||
"return_type": "RID",
|
||||
"is_editor": false,
|
||||
"is_noscript": false,
|
||||
"is_const": true,
|
||||
"is_reverse": false,
|
||||
"is_virtual": false,
|
||||
"has_varargs": false,
|
||||
"is_from_script": false,
|
||||
"arguments": [
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "get_collider_shape",
|
||||
"return_type": "Object",
|
||||
@@ -83942,6 +83989,13 @@
|
||||
"setter": "",
|
||||
"index": -1
|
||||
},
|
||||
{
|
||||
"name": "collider_rid",
|
||||
"type": "RID",
|
||||
"getter": "get_collider_rid",
|
||||
"setter": "",
|
||||
"index": -1
|
||||
},
|
||||
{
|
||||
"name": "collider_shape",
|
||||
"type": "Object",
|
||||
@@ -84041,6 +84095,19 @@
|
||||
"arguments": [
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "get_collider_rid",
|
||||
"return_type": "RID",
|
||||
"is_editor": false,
|
||||
"is_noscript": false,
|
||||
"is_const": true,
|
||||
"is_reverse": false,
|
||||
"is_virtual": false,
|
||||
"has_varargs": false,
|
||||
"is_from_script": false,
|
||||
"arguments": [
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "get_collider_shape",
|
||||
"return_type": "Object",
|
||||
@@ -129616,13 +129683,13 @@
|
||||
"arguments": [
|
||||
{
|
||||
"name": "id",
|
||||
"type": "void",
|
||||
"type": "Variant",
|
||||
"has_default_value": false,
|
||||
"default_value": ""
|
||||
},
|
||||
{
|
||||
"name": "meta",
|
||||
"type": "void",
|
||||
"type": "Variant",
|
||||
"has_default_value": false,
|
||||
"default_value": ""
|
||||
}
|
||||
@@ -133434,6 +133501,19 @@
|
||||
"signals": [
|
||||
],
|
||||
"methods": [
|
||||
{
|
||||
"name": "get_debug_mesh",
|
||||
"return_type": "ArrayMesh",
|
||||
"is_editor": false,
|
||||
"is_noscript": false,
|
||||
"is_const": false,
|
||||
"is_reverse": false,
|
||||
"is_virtual": false,
|
||||
"has_varargs": false,
|
||||
"is_from_script": false,
|
||||
"arguments": [
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "get_margin",
|
||||
"return_type": "float",
|
||||
@@ -133965,6 +134045,25 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "get_bone_global_pose_no_override",
|
||||
"return_type": "Transform",
|
||||
"is_editor": false,
|
||||
"is_noscript": false,
|
||||
"is_const": true,
|
||||
"is_reverse": false,
|
||||
"is_virtual": false,
|
||||
"has_varargs": false,
|
||||
"is_from_script": false,
|
||||
"arguments": [
|
||||
{
|
||||
"name": "bone_idx",
|
||||
"type": "int",
|
||||
"has_default_value": false,
|
||||
"default_value": ""
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "get_bone_name",
|
||||
"return_type": "String",
|
||||
@@ -184041,6 +184140,13 @@
|
||||
"constants": {
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"name": "initialized",
|
||||
"type": "bool",
|
||||
"getter": "_is_initialized",
|
||||
"setter": "_set_initialized",
|
||||
"index": -1
|
||||
}
|
||||
],
|
||||
"signals": [
|
||||
],
|
||||
@@ -184267,6 +184373,63 @@
|
||||
"is_from_script": false,
|
||||
"arguments": [
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "_is_initialized",
|
||||
"return_type": "bool",
|
||||
"is_editor": false,
|
||||
"is_noscript": false,
|
||||
"is_const": false,
|
||||
"is_reverse": false,
|
||||
"is_virtual": true,
|
||||
"has_varargs": false,
|
||||
"is_from_script": false,
|
||||
"arguments": [
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "_set_initialized",
|
||||
"return_type": "void",
|
||||
"is_editor": false,
|
||||
"is_noscript": false,
|
||||
"is_const": false,
|
||||
"is_reverse": false,
|
||||
"is_virtual": true,
|
||||
"has_varargs": false,
|
||||
"is_from_script": false,
|
||||
"arguments": [
|
||||
{
|
||||
"name": "enabled",
|
||||
"type": "bool",
|
||||
"has_default_value": false,
|
||||
"default_value": ""
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "_set_input_port_default_value",
|
||||
"return_type": "void",
|
||||
"is_editor": false,
|
||||
"is_noscript": false,
|
||||
"is_const": false,
|
||||
"is_reverse": false,
|
||||
"is_virtual": true,
|
||||
"has_varargs": false,
|
||||
"is_from_script": false,
|
||||
"arguments": [
|
||||
{
|
||||
"name": "port",
|
||||
"type": "int",
|
||||
"has_default_value": false,
|
||||
"default_value": ""
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
"type": "Variant",
|
||||
"has_default_value": false,
|
||||
"default_value": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"enums": [
|
||||
@@ -187953,6 +188116,19 @@
|
||||
"arguments": [
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "get_current_outbound_buffered_amount",
|
||||
"return_type": "int",
|
||||
"is_editor": false,
|
||||
"is_noscript": false,
|
||||
"is_const": true,
|
||||
"is_reverse": false,
|
||||
"is_virtual": false,
|
||||
"has_varargs": false,
|
||||
"is_from_script": false,
|
||||
"arguments": [
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "get_write_mode",
|
||||
"return_type": "enum.WebSocketPeer::WriteMode",
|
||||
@@ -194237,6 +194413,12 @@
|
||||
"type": "int",
|
||||
"has_default_value": false,
|
||||
"default_value": ""
|
||||
},
|
||||
{
|
||||
"name": "shared_storage",
|
||||
"type": "bool",
|
||||
"has_default_value": true,
|
||||
"default_value": "True"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user