MCPcopy Create free account
hub / github.com/TanTanDev/runity / world_bind_upload_component_transform_callback

Function world_bind_upload_component_transform_callback

rust/runity/src/world.rs:67–71  ·  view source on GitHub ↗
(callback: extern fn(EntityId, CTransform))

Source from the content-addressed store, hash-verified

65}
66
67#[no_mangle] pub extern fn world_bind_upload_component_transform_callback(callback: extern fn(EntityId, CTransform)) {
68 debug!("binding upload component transform, called from C# to runity.dll");
69 let mut world = WORLD.lock().unwrap();
70 world.cb_upload_component_transform = Box::new(move |id, transform| callback(id, transform));
71}
72
73#[no_mangle] pub extern fn world_bind_upload_component_textmeshui_callback(callback: extern fn(EntityId, *const c_char)) {
74 debug!("binding upload component textmeshui, called from C# to runity.dll");

Callers 1

WorldMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected