metamod_source 0.1.0-alpha.2

Higher-level bindings for Metamod:Source.
#![cfg_attr(docsrs, feature(doc_cfg))]

mod api;
#[cfg(feature = "sdk")]
mod commands;
mod context;
#[cfg(feature = "sdk")]
mod hooks;
mod plugin;

pub use api::{
	LoaderVersionInfo, MetamodApi, MetamodApiBinding, MetamodFeature, MetamodVersion,
	SourceHookVersions, UnsupportedFeature,
};
#[cfg(feature = "sdk")]
#[cfg_attr(docsrs, doc(cfg(feature = "sdk")))]
pub use commands::MetamodRegistrar;
pub use context::{CachedContext, ContextKey, cached_context_key};
#[cfg(feature = "sdk")]
#[cfg_attr(docsrs, doc(cfg(feature = "sdk")))]
pub use hooks::{GameFrameFn, HookError, LevelEvents, NetMessageHookError};
pub use plugin::{ErrorBuffer, PluginCallbacks, PluginDescriptor, PluginMetadata};
pub use sys;

/// Used by the [`plugin_meta`] macro.
#[doc(hidden)]
pub use crys_bricks::env_cstr as __private_env_cstr;