cultnet-rs owns the Odin catalog connection id; cultmesh-rs re-exports it

One spelling of 0x0d1d_0002, in the lower crate, before the presence publisher uses it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-29 18:27:12 +01:00
commit ee4d39597f
2 changed files with 5 additions and 1 deletions

View file

@ -28,7 +28,7 @@ mod rudp_document_server;
pub use rudp_document_server::*;
pub const CULTMESH_RUDP_DOCUMENT_CATALOG_CONNECTION_ID: u32 = 0x0d1d_0002;
pub use cultnet_rs::CULTMESH_RUDP_DOCUMENT_CATALOG_CONNECTION_ID;
pub trait CultMeshDocumentSet: Clone + Send + Sync + 'static {
fn register_cache(&self, cache: &mut CultCache) -> Result<()>;

View file

@ -1480,6 +1480,10 @@ impl CultNetRudpSession {
}
}
/// The connection id of Odin's CultMesh document catalog, the RUDP endpoint that
/// accepts raw documents and serves raw snapshots.
pub const CULTMESH_RUDP_DOCUMENT_CATALOG_CONNECTION_ID: u32 = 0x0d1d_0002;
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum CultNetRudpSocketMode {
Client,