Merge branch 'feat/login_ex' into main

This commit is contained in:
SolidStateDrive 2025-02-02 04:54:31 +01:00 committed by GitHub Enterprise
commit d3783ce48a
17 changed files with 875 additions and 28 deletions

View file

@ -1,14 +1,18 @@
mod method_login_ex;
mod method_login;
use log::{error};
use crate::define_protocol;
use crate::protocols::auth::method_login_ex::{ login_ex_raw_params};
use crate::nex::account::Account;
use crate::protocols::auth::method_login::login_raw_params;
use crate::protocols::auth::method_login_ex::{login_ex, login_ex_raw_params};
use crate::rmc::message::RMCMessage;
use crate::rmc::response::{ErrorCode, RMCResponse};
define_protocol!{
10 => {
10(secure_server_account: &'static Account) => {
0x01 => login_raw_params,
0x02 => login_ex_raw_params
}
}
}