feat(protocols): extend functionality of protocol macro

This commit is contained in:
DJMrTV 2025-02-01 19:42:45 +01:00
commit 1679590bf3
6 changed files with 38 additions and 12 deletions

View file

@ -2,13 +2,14 @@ mod method_login_ex;
use log::{error, info};
use crate::define_protocol;
use crate::nex::account::Account;
use crate::protocols::auth::method_login_ex::{login_ex, login_ex_raw_params};
use crate::rmc::message::RMCMessage;
use crate::rmc::response::{ErrorCode, RMCResponse, RMCResponseResult};
define_protocol!{
10 => {
10<'a>(account: &'a Account) => {
0x02 => login_ex_raw_params
}
}