Implement SimpleBot native client (#86)
Some checks failed
Native code generation / deterministic (push) Successful in 18m9s
Imaging and meshing gate / native (push) Successful in 5m45s
JPEG 2000 feature / linux (push) Successful in 2m45s
Native Rust workspace compile / compile (push) Has been cancelled
Skia feature / linux (push) Successful in 31m33s

This commit is contained in:
2026-08-11 07:29:44 +00:00
parent f93a27f469
commit f0fd975d0f
12 changed files with 1240 additions and 10 deletions

View File

@@ -3,7 +3,7 @@
#![allow(clippy::needless_pass_by_value, clippy::unused_self)] // Mapped C# signatures are fixed.
use libremetaverse_types::compat::Object;
use libremetaverse_types::{Error, Vector3};
use libremetaverse_types::{Error, UUID, Vector3};
use std::hash::{Hash, Hasher};
const MAX_ANIMATION_BYTES: usize = 32 * 1024 * 1024;
@@ -11,6 +11,11 @@ const MAX_JOINTS: usize = 512;
const MAX_KEYS_PER_JOINT: usize = 10_000;
const MAX_JOINT_NAME_BYTES: usize = 255;
pub(crate) fn dance1() -> UUID {
UUID::new_with_string("b68a3d7c-de9e-fc87-eec8-543d787e5b0d".into())
.expect("built-in DANCE1 UUID must be valid")
}
#[derive(Clone, Debug)]
pub struct BinBVHJointKey {
pub key_element: Vector3,

View File

@@ -2350,7 +2350,7 @@ impl Animations {
}
/// C# member: `F:LibreMetaverse.Animations.DANCE1`.
pub fn dance1() -> libremetaverse_types::UUID {
libremetaverse_types::unimplemented_api!("F:LibreMetaverse.Animations.DANCE1")
crate::animation::dance1()
}
/// C# member: `F:LibreMetaverse.Animations.DANCE2`.
pub fn dance2() -> libremetaverse_types::UUID {