mirror of
https://github.com/godotengine/godot-headers.git
synced 2026-01-03 18:09:13 +03:00
Compare commits
5 Commits
3.3
...
godot-3.4.
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c941c6076f | ||
|
|
d1596b939d | ||
|
|
f7e545a294 | ||
|
|
0f91de28a5 | ||
|
|
400eca2c6b |
@@ -45,7 +45,6 @@ extern "C" {
|
|||||||
#define GODOT_NET_API_MINOR 1
|
#define GODOT_NET_API_MINOR 1
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|
||||||
godot_gdnative_api_version version; /* version of our API */
|
godot_gdnative_api_version version; /* version of our API */
|
||||||
godot_object *data; /* User reference */
|
godot_object *data; /* User reference */
|
||||||
|
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define GODOT_NET_WEBRTC_API_MAJOR 3
|
#define GODOT_NET_WEBRTC_API_MAJOR 3
|
||||||
#define GODOT_NET_WEBRTC_API_MINOR 2
|
#define GODOT_NET_WEBRTC_API_MINOR 4
|
||||||
|
|
||||||
/* Library Interface (used to set default GDNative WebRTC implementation */
|
/* Library Interface (used to set default GDNative WebRTC implementation */
|
||||||
typedef struct {
|
typedef struct {
|
||||||
@@ -108,6 +108,13 @@ typedef struct {
|
|||||||
void *next; /* For extension? */
|
void *next; /* For extension? */
|
||||||
} godot_net_webrtc_data_channel;
|
} godot_net_webrtc_data_channel;
|
||||||
|
|
||||||
|
/* Extensions to WebRTCDataChannel */
|
||||||
|
typedef struct {
|
||||||
|
int (*get_buffered_amount)(const void *);
|
||||||
|
|
||||||
|
void *next; /* For extension? */
|
||||||
|
} godot_net_webrtc_data_channel_ext;
|
||||||
|
|
||||||
/* Set the default GDNative library */
|
/* Set the default GDNative library */
|
||||||
godot_error GDAPI godot_net_set_webrtc_library(const godot_net_webrtc_library *);
|
godot_error GDAPI godot_net_set_webrtc_library(const godot_net_webrtc_library *);
|
||||||
/* Binds a WebRTCPeerConnectionGDNative to the provided interface */
|
/* Binds a WebRTCPeerConnectionGDNative to the provided interface */
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ typedef struct
|
|||||||
void *next;
|
void *next;
|
||||||
void *(*constructor)(godot_object *);
|
void *(*constructor)(godot_object *);
|
||||||
void (*destructor)(void *);
|
void (*destructor)(void *);
|
||||||
const char *(*get_plugin_name)(void);
|
const char *(*get_plugin_name)();
|
||||||
const char **(*get_supported_extensions)(int *count);
|
const char **(*get_supported_extensions)(int *count);
|
||||||
godot_bool (*open_file)(void *, void *); // data struct, and a FileAccess pointer
|
godot_bool (*open_file)(void *, void *); // data struct, and a FileAccess pointer
|
||||||
godot_real (*get_length)(const void *);
|
godot_real (*get_length)(const void *);
|
||||||
|
|||||||
Reference in New Issue
Block a user