feat(protocols): extend functionality of protocol macro
This commit is contained in:
parent
ffe4084ba3
commit
1679590bf3
6 changed files with 38 additions and 12 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue