1
0
mirror of https://git.ngram.ca/OpenJam/rc-servers synced 2026-08-23 23:08:52 +00:00

Add map ping support #30

This commit is contained in:
NG (Graham)
2025-08-03 16:39:16 -04:00
parent 721922c4ea
commit 580ce69839
4 changed files with 50 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ mod kill_player;
mod client_unregister;
mod flipper_start;
mod self_destruct_elimination;
mod map_ping;
pub async fn handler(init_ctx: &crate::InitConfig) -> crate::handler::LnlEventHandler {
crate::handler::LnlEventHandler::new(init_ctx.users.clone(), crate::vehicle_motion::handler(init_ctx))
@@ -173,6 +174,7 @@ pub async fn handler(init_ctx: &crate::InitConfig) -> crate::handler::LnlEventHa
rlnl::events::ingame::UpdateVotingAfterBattle,
>::handler(init_ctx))
.add(self_destruct_elimination::handler(init_ctx))
.add(map_ping::handler(init_ctx))
}
#[inline]
@@ -208,6 +210,7 @@ mod _broadcast_impls {
impl Broadcastable for rlnl::events::ingame::CosmeticAction {}
impl Broadcastable for rlnl::events::ingame::UpdateVotingAfterBattle {}
impl Broadcastable for rlnl::events::ingame::TeleportActivateEffect {}
impl Broadcastable for rlnl::events::ingame::MapPing {}
impl Broadcastable for rlnl::events::sync::UpdateGameModeSettings {}
impl Broadcastable for rlnl::events::GameTime {}