mirror of
https://git.ngram.ca/OpenJam/rc-servers
synced 2026-08-23 23:08:52 +00:00
Add basic stats tracking #30
This commit is contained in:
1 parent
580ce69839
commit
df017883c1
10 files changed
+331
-11
No files matched your search
@@ -12,4 +12,5 @@ mod ingame_broadcast_dataless;
|
||||
pub use ingame_broadcast_dataless::DatalessBroadcaster;
|
||||
|
||||
mod stub;
|
||||
#[allow(unused_imports)]
|
||||
pub use stub::Stub;
|
||||
@@ -3,6 +3,7 @@ pub struct Stub<const CODE_IN: i16, In: byteserde::des_slice::ByteDeserializeSli
|
||||
}
|
||||
|
||||
impl <const CODE_IN: i16, In: byteserde::des_slice::ByteDeserializeSlice<In> + Send + Sync + 'static> Stub<CODE_IN, In> {
|
||||
#[allow(dead_code)]
|
||||
pub fn handler(init_ctx: &crate::InitConfig) -> crate::handlers::simple_typed::SimpleRlnl<In, Self> {
|
||||
crate::handlers::simple_typed::SimpleRlnl::new(Stub::new(init_ctx))
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user