gdnative/gdnative_api.json
2023-05-31 09:17:15 +02:00

314 lines
12 KiB
JSON

{
"core": {
"type": "CORE",
"version": {
"major": 1,
"minor": 0
},
"next": null,
"api": [
]
},
"extensions": [{
"name": "nativescript",
"type": "NATIVESCRIPT",
"version": {
"major": 1,
"minor": 0
},
"next": null,
"api": [{
"name": "pandemonium_nativescript_register_class",
"return_type": "void",
"arguments": [
["void *", "p_gdnative_handle"],
["const char *", "p_name"],
["const char *", "p_base"],
["pandemonium_instance_create_func", "p_create_func"],
["pandemonium_instance_destroy_func", "p_destroy_func"]
]
},
{
"name": "pandemonium_nativescript_register_tool_class",
"return_type": "void",
"arguments": [
["void *", "p_gdnative_handle"],
["const char *", "p_name"],
["const char *", "p_base"],
["pandemonium_instance_create_func", "p_create_func"],
["pandemonium_instance_destroy_func", "p_destroy_func"]
]
},
{
"name": "pandemonium_nativescript_register_method",
"return_type": "void",
"arguments": [
["void *", "p_gdnative_handle"],
["const char *", "p_name"],
["const char *", "p_function_name"],
["pandemonium_method_attributes", "p_attr"],
["pandemonium_instance_method", "p_method"]
]
},
{
"name": "pandemonium_nativescript_register_property",
"return_type": "void",
"arguments": [
["void *", "p_gdnative_handle"],
["const char *", "p_name"],
["const char *", "p_path"],
["pandemonium_property_attributes *", "p_attr"],
["pandemonium_property_set_func", "p_set_func"],
["pandemonium_property_get_func", "p_get_func"]
]
},
{
"name": "pandemonium_nativescript_register_signal",
"return_type": "void",
"arguments": [
["void *", "p_gdnative_handle"],
["const char *", "p_name"],
["const pandemonium_signal *", "p_signal"]
]
},
{
"name": "pandemonium_nativescript_get_userdata",
"return_type": "void *",
"arguments": [
["pandemonium_object *", "p_instance"]
]
},
{
"name": "pandemonium_nativescript_set_method_argument_information",
"return_type": "void",
"arguments": [
["void *", "p_gdnative_handle"],
["const char *", "p_name"],
["const char *", "p_function_name"],
["int", "p_num_args"],
["const pandemonium_method_arg *", "p_args"]
]
},
{
"name": "pandemonium_nativescript_set_class_documentation",
"return_type": "void",
"arguments": [
["void *", "p_gdnative_handle"],
["const char *", "p_name"],
["pandemonium_string", "p_documentation"]
]
},
{
"name": "pandemonium_nativescript_set_method_documentation",
"return_type": "void",
"arguments": [
["void *", "p_gdnative_handle"],
["const char *", "p_name"],
["const char *", "p_function_name"],
["pandemonium_string", "p_documentation"]
]
},
{
"name": "pandemonium_nativescript_set_property_documentation",
"return_type": "void",
"arguments": [
["void *", "p_gdnative_handle"],
["const char *", "p_name"],
["const char *", "p_path"],
["pandemonium_string", "p_documentation"]
]
},
{
"name": "pandemonium_nativescript_set_signal_documentation",
"return_type": "void",
"arguments": [
["void *", "p_gdnative_handle"],
["const char *", "p_name"],
["const char *", "p_signal_name"],
["pandemonium_string", "p_documentation"]
]
},
{
"name": "pandemonium_nativescript_set_global_type_tag",
"return_type": "void",
"arguments": [
["int", "p_idx"],
["const char *", "p_name"],
["const void *", "p_type_tag"]
]
},
{
"name": "pandemonium_nativescript_get_global_type_tag",
"return_type": "const void *",
"arguments": [
["int", "p_idx"],
["const char *", "p_name"]
]
},
{
"name": "pandemonium_nativescript_set_type_tag",
"return_type": "void",
"arguments": [
["void *", "p_gdnative_handle"],
["const char *", "p_name"],
["const void *", "p_type_tag"]
]
},
{
"name": "pandemonium_nativescript_get_type_tag",
"return_type": "const void *",
"arguments": [
["const pandemonium_object *", "p_object"]
]
},
{
"name": "pandemonium_nativescript_register_instance_binding_data_functions",
"return_type": "int",
"arguments": [
["pandemonium_instance_binding_functions", "p_binding_functions"]
]
},
{
"name": "pandemonium_nativescript_unregister_instance_binding_data_functions",
"return_type": "void",
"arguments": [
["int", "p_idx"]
]
},
{
"name": "pandemonium_nativescript_get_instance_binding_data",
"return_type": "void *",
"arguments": [
["int", "p_idx"],
["pandemonium_object *", "p_object"]
]
},
{
"name": "pandemonium_nativescript_profiling_add_data",
"return_type": "void",
"arguments": [
["const char *", "p_signature"],
["uint64_t", "p_line"]
]
}
]
},
{
"name": "pluginscript",
"type": "PLUGINSCRIPT",
"version": {
"major": 1,
"minor": 0
},
"next": null,
"api": [{
"name": "pandemonium_pluginscript_register_language",
"return_type": "void",
"arguments": [
["const pandemonium_pluginscript_language_desc *", "language_desc"]
]
}]
},
{
"name": "android",
"type": "ANDROID",
"version": {
"major": 1,
"minor": 0
},
"next": null,
"api": [{
"name": "pandemonium_android_get_env",
"return_type": "JNIEnv*",
"arguments": []
},
{
"name": "pandemonium_android_get_activity",
"return_type": "jobject",
"arguments": []
},
{
"name": "pandemonium_android_get_surface",
"return_type": "jobject",
"arguments": []
},
{
"name": "pandemonium_android_is_activity_resumed",
"return_type": "bool",
"arguments": []
}
]
},
{
"name": "videodecoder",
"type": "VIDEODECODER",
"version": {
"major": 1,
"minor": 0
},
"next": null,
"api": [{
"name": "pandemonium_videodecoder_file_read",
"return_type": "pandemonium_int",
"arguments": [
["void *", "file_ptr"],
["uint8_t *", "buf"],
["int", "buf_size"]
]
},
{
"name": "pandemonium_videodecoder_file_seek",
"return_type": "int64_t",
"arguments": [
["void *", "file_ptr"],
["int64_t", "pos"],
["int", "whence"]
]
},
{
"name": "pandemonium_videodecoder_register_decoder",
"return_type": "void",
"arguments": [
["const pandemonium_videodecoder_interface_gdnative *", "p_interface"]
]
}
]
},
{
"name": "net",
"type": "NET",
"version": {
"major": 1,
"minor": 0
},
"next": null,
"api": [{
"name": "pandemonium_net_bind_stream_peer",
"return_type": "void",
"arguments": [
["pandemonium_object *", "p_obj"],
["const pandemonium_net_stream_peer *", "p_interface"]
]
},
{
"name": "pandemonium_net_bind_packet_peer",
"return_type": "void",
"arguments": [
["pandemonium_object *", "p_obj"],
["const pandemonium_net_packet_peer *", "p_interface"]
]
},
{
"name": "pandemonium_net_bind_multiplayer_peer",
"return_type": "void",
"arguments": [
["pandemonium_object *", "p_obj"],
["const pandemonium_net_multiplayer_peer *", "p_interface"]
]
}
]
}
]
}