strafe-client-jed/src/lib.rs

27 lines
554 B
Rust
Raw Normal View History

2024-02-13 08:13:04 +00:00
#[cfg(feature="legacy")]
2024-02-14 08:35:11 +00:00
mod roblox_legacy;
#[cfg(feature="legacy")]
mod source_legacy;
2024-02-13 08:13:04 +00:00
#[cfg(feature="roblox")]
mod roblox;
#[cfg(feature="source")]
mod source;
2024-02-14 03:48:47 +00:00
pub mod texture;
2024-02-13 08:13:04 +00:00
#[cfg(feature="legacy")]
2024-02-14 08:35:11 +00:00
pub fn roblox_legacy()->roblox_legacy::Loader{
roblox_legacy::Loader::new()
}
#[cfg(feature="legacy")]
pub fn source_legacy()->source_legacy::Loader{
source_legacy::Loader::new()
2024-02-13 08:13:04 +00:00
}
#[cfg(feature="roblox")]
2024-02-14 03:48:47 +00:00
pub fn roblox()->roblox::Loader{
roblox::Loader::new()
2024-02-13 08:13:04 +00:00
}
#[cfg(feature="source")]
2024-02-14 03:48:47 +00:00
pub fn source()->source::Loader{
source::Loader::new()
2024-02-13 08:13:04 +00:00
}