@@ -90,6 +90,7 @@ const GodotRTCDataChannel = {
90
90
} ,
91
91
} ,
92
92
93
+ godot_js_rtc_datachannel_ready_state_get__proxy : 'sync' ,
93
94
godot_js_rtc_datachannel_ready_state_get__sig : 'ii' ,
94
95
godot_js_rtc_datachannel_ready_state_get : function ( p_id ) {
95
96
const ref = IDHandler . get ( p_id ) ;
@@ -110,6 +111,7 @@ const GodotRTCDataChannel = {
110
111
}
111
112
} ,
112
113
114
+ godot_js_rtc_datachannel_send__proxy : 'sync' ,
113
115
godot_js_rtc_datachannel_send__sig : 'iiiii' ,
114
116
godot_js_rtc_datachannel_send : function ( p_id , p_buffer , p_length , p_raw ) {
115
117
const ref = IDHandler . get ( p_id ) ;
@@ -131,16 +133,19 @@ const GodotRTCDataChannel = {
131
133
return 0 ;
132
134
} ,
133
135
136
+ godot_js_rtc_datachannel_is_ordered__proxy : 'sync' ,
134
137
godot_js_rtc_datachannel_is_ordered__sig : 'ii' ,
135
138
godot_js_rtc_datachannel_is_ordered : function ( p_id ) {
136
139
return GodotRTCDataChannel . get_prop ( p_id , 'ordered' , true ) ;
137
140
} ,
138
141
142
+ godot_js_rtc_datachannel_id_get__proxy : 'sync' ,
139
143
godot_js_rtc_datachannel_id_get__sig : 'ii' ,
140
144
godot_js_rtc_datachannel_id_get : function ( p_id ) {
141
145
return GodotRTCDataChannel . get_prop ( p_id , 'id' , 65535 ) ;
142
146
} ,
143
147
148
+ godot_js_rtc_datachannel_max_packet_lifetime_get__proxy : 'sync' ,
144
149
godot_js_rtc_datachannel_max_packet_lifetime_get__sig : 'ii' ,
145
150
godot_js_rtc_datachannel_max_packet_lifetime_get : function ( p_id ) {
146
151
const ref = IDHandler . get ( p_id ) ;
@@ -156,21 +161,25 @@ const GodotRTCDataChannel = {
156
161
return 65535 ;
157
162
} ,
158
163
164
+ godot_js_rtc_datachannel_max_retransmits_get__proxy : 'sync' ,
159
165
godot_js_rtc_datachannel_max_retransmits_get__sig : 'ii' ,
160
166
godot_js_rtc_datachannel_max_retransmits_get : function ( p_id ) {
161
167
return GodotRTCDataChannel . get_prop ( p_id , 'maxRetransmits' , 65535 ) ;
162
168
} ,
163
169
170
+ godot_js_rtc_datachannel_is_negotiated__proxy : 'sync' ,
164
171
godot_js_rtc_datachannel_is_negotiated__sig : 'ii' ,
165
172
godot_js_rtc_datachannel_is_negotiated : function ( p_id ) {
166
173
return GodotRTCDataChannel . get_prop ( p_id , 'negotiated' , 65535 ) ;
167
174
} ,
168
175
176
+ godot_js_rtc_datachannel_get_buffered_amount__proxy : 'sync' ,
169
177
godot_js_rtc_datachannel_get_buffered_amount__sig : 'ii' ,
170
178
godot_js_rtc_datachannel_get_buffered_amount : function ( p_id ) {
171
179
return GodotRTCDataChannel . get_prop ( p_id , 'bufferedAmount' , 0 ) ;
172
180
} ,
173
181
182
+ godot_js_rtc_datachannel_label_get__proxy : 'sync' ,
174
183
godot_js_rtc_datachannel_label_get__sig : 'ii' ,
175
184
godot_js_rtc_datachannel_label_get : function ( p_id ) {
176
185
const ref = IDHandler . get ( p_id ) ;
@@ -189,12 +198,14 @@ const GodotRTCDataChannel = {
189
198
return GodotRuntime . allocString ( ref . protocol ) ;
190
199
} ,
191
200
201
+ godot_js_rtc_datachannel_destroy__proxy : 'sync' ,
192
202
godot_js_rtc_datachannel_destroy__sig : 'vi' ,
193
203
godot_js_rtc_datachannel_destroy : function ( p_id ) {
194
204
GodotRTCDataChannel . close ( p_id ) ;
195
205
IDHandler . remove ( p_id ) ;
196
206
} ,
197
207
208
+ godot_js_rtc_datachannel_connect__proxy : 'sync' ,
198
209
godot_js_rtc_datachannel_connect__sig : 'viiiiii' ,
199
210
godot_js_rtc_datachannel_connect : function ( p_id , p_ref , p_on_open , p_on_message , p_on_error , p_on_close ) {
200
211
const onopen = GodotRuntime . get_func ( p_on_open ) . bind ( null , p_ref ) ;
@@ -204,6 +215,7 @@ const GodotRTCDataChannel = {
204
215
GodotRTCDataChannel . connect ( p_id , onopen , onmessage , onerror , onclose ) ;
205
216
} ,
206
217
218
+ godot_js_rtc_datachannel_close__proxy : 'sync' ,
207
219
godot_js_rtc_datachannel_close__sig : 'vi' ,
208
220
godot_js_rtc_datachannel_close : function ( p_id ) {
209
221
const ref = IDHandler . get ( p_id ) ;
@@ -356,6 +368,7 @@ const GodotRTCPeerConnection = {
356
368
} ,
357
369
} ,
358
370
371
+ godot_js_rtc_pc_create__proxy : 'sync' ,
359
372
godot_js_rtc_pc_create__sig : 'iiiiiiii' ,
360
373
godot_js_rtc_pc_create : function ( p_config , p_ref , p_on_connection_state_change , p_on_ice_gathering_state_change , p_on_signaling_state_change , p_on_ice_candidate , p_on_datachannel ) {
361
374
const wrap = function ( p_func ) {
@@ -371,6 +384,7 @@ const GodotRTCPeerConnection = {
371
384
) ;
372
385
} ,
373
386
387
+ godot_js_rtc_pc_close__proxy : 'sync' ,
374
388
godot_js_rtc_pc_close__sig : 'vi' ,
375
389
godot_js_rtc_pc_close : function ( p_id ) {
376
390
const ref = IDHandler . get ( p_id ) ;
@@ -380,11 +394,13 @@ const GodotRTCPeerConnection = {
380
394
ref . close ( ) ;
381
395
} ,
382
396
397
+ godot_js_rtc_pc_destroy__proxy : 'sync' ,
383
398
godot_js_rtc_pc_destroy__sig : 'vi' ,
384
399
godot_js_rtc_pc_destroy : function ( p_id ) {
385
400
GodotRTCPeerConnection . destroy ( p_id ) ;
386
401
} ,
387
402
403
+ godot_js_rtc_pc_offer_create__proxy : 'sync' ,
388
404
godot_js_rtc_pc_offer_create__sig : 'viiii' ,
389
405
godot_js_rtc_pc_offer_create : function ( p_id , p_obj , p_on_session , p_on_error ) {
390
406
const ref = IDHandler . get ( p_id ) ;
@@ -400,6 +416,7 @@ const GodotRTCPeerConnection = {
400
416
} ) ;
401
417
} ,
402
418
419
+ godot_js_rtc_pc_local_description_set__proxy : 'sync' ,
403
420
godot_js_rtc_pc_local_description_set__sig : 'viiiii' ,
404
421
godot_js_rtc_pc_local_description_set : function ( p_id , p_type , p_sdp , p_obj , p_on_error ) {
405
422
const ref = IDHandler . get ( p_id ) ;
@@ -417,6 +434,7 @@ const GodotRTCPeerConnection = {
417
434
} ) ;
418
435
} ,
419
436
437
+ godot_js_rtc_pc_remote_description_set__proxy : 'sync' ,
420
438
godot_js_rtc_pc_remote_description_set__sig : 'viiiiii' ,
421
439
godot_js_rtc_pc_remote_description_set : function ( p_id , p_type , p_sdp , p_obj , p_session_created , p_on_error ) {
422
440
const ref = IDHandler . get ( p_id ) ;
@@ -442,6 +460,7 @@ const GodotRTCPeerConnection = {
442
460
} ) ;
443
461
} ,
444
462
463
+ godot_js_rtc_pc_ice_candidate_add__proxy : 'sync' ,
445
464
godot_js_rtc_pc_ice_candidate_add__sig : 'viiii' ,
446
465
godot_js_rtc_pc_ice_candidate_add : function ( p_id , p_mid_name , p_mline_idx , p_sdp ) {
447
466
const ref = IDHandler . get ( p_id ) ;
@@ -458,6 +477,7 @@ const GodotRTCPeerConnection = {
458
477
} ,
459
478
460
479
godot_js_rtc_pc_datachannel_create__deps : [ '$GodotRTCDataChannel' ] ,
480
+ godot_js_rtc_pc_datachannel_create__proxy : 'sync' ,
461
481
godot_js_rtc_pc_datachannel_create__sig : 'iiii' ,
462
482
godot_js_rtc_pc_datachannel_create : function ( p_id , p_label , p_config ) {
463
483
try {
0 commit comments