Tested setup

This commit is contained in:
xavo95 2024-09-13 02:41:30 +02:00
parent 747f1fed13
commit e1e42e2fe0
Signed by: xavo95
GPG key ID: CBF8ADED6DEBB783

View file

@ -20,7 +20,7 @@ macro_rules! handle_request {
tracing::debug!("logic: processing request {}", stringify!($($inner_package::)?[<$name Request>])); tracing::debug!("logic: processing request {}", stringify!($($inner_package::)?[<$name Request>]));
let mut response = ::shorekeeper_protocol::$($inner_package::)?[<$name Response>]::default(); let mut response = ::shorekeeper_protocol::$($inner_package::)?[<$name Response>]::default();
[<on_ $name:snake _request>](player, request, &mut response); [<on_ $($inner_package:snake _)? $name:snake _request>](player, request, &mut response);
player.respond(response, msg.get_rpc_id()); player.respond(response, msg.get_rpc_id());
}, },