|
Fimbulwinter Project
Pre-Alpha
An Ragnarok Online Emulator
|
Classes | |
| struct | login_config |
Public Types | |
|
typedef std::map< int, struct AuthNode > | auth_node_db |
|
typedef std::map< int, struct OnlineChar > | online_char_db |
|
typedef std::map< int, struct ZoneServerConnection > | zone_server_db |
Static Public Member Functions | |
| static void | run () |
| Start Char Server. | |
| static int | parse_from_client (tcp_connection::pointer cl) |
| Parse from Client. | |
| static int | parse_from_zone (tcp_connection::pointer cl) |
| Parse from Zone. | |
| static int | parse_from_login (tcp_connection::pointer cl) |
| Parse from Login. | |
| static void | connect_to_auth () |
| Connect to Auth Server. | |
| static void | auth_ok (tcp_connection::pointer cl, CharSessionData *csd) |
| Connection success into char server. | |
| static void | set_charsel (int account_id, tcp_connection::pointer cl) |
| Character Selection. | |
| static void | set_char_offline (int account_id, char char_id) |
| Set a character to offline mode. | |
| static void | set_char_online (int server, int char_id, int account_id) |
| Set a Character to online mode. | |
| static void | disconnect_timeout (int timer, int accid) |
| static void | send_chars (tcp_connection::pointer cl, CharSessionData *csd) |
| Send Characters. | |
| static void | char_to_buf (struct CHARACTER_INFO *charinfo, CharData *p) |
| Char to Buffer. | |
| static int | create_char (CharSessionData *csd, char *name_, int str, int agi, int vit, int int_, int dex, int luk, int slot, int hair_color, int hair_style) |
| Create Character. | |
| static int | check_char_name (char *name) |
| Check Character Name. | |
| static bool | check_email (char *email) |
| Check Email. | |
| static void | delete2_req (tcp_connection::pointer cl, CharSessionData *csd) |
| Delete Character Requisition. | |
| static void | delete2_accept (tcp_connection::pointer cl, CharSessionData *csd) |
| Delete character OK. | |
| static void | delete2_cancel (tcp_connection::pointer cl, CharSessionData *csd) |
| Cancel Character Delection. | |
| static void | delete2_ack (tcp_connection::pointer cl, int char_id, int result, time_t deltime) |
| static void | delete2_accept_ack (tcp_connection::pointer cl, int char_id, int param3) |
| static void | delete2_cancel_ack (tcp_connection::pointer cl, int char_id, int result) |
| static void | inter_reply_regs (tcp_connection::pointer cl, int account_id, int char_id, int type) |
| static void | request_accreg2 (int account_id, int char_id) |
| ! | |
Static Public Attributes | |
| static bool | auth_conn_ok |
| static tcp_connection::pointer | auth_conn |
| static config_file * | char_config |
| static struct login_config | config |
| static boost::asio::io_service * | io_service |
| static tcp_server * | server |
| static soci::session * | database |
| static CharDB * | chars |
| static auth_node_db | auth_nodes |
| static online_char_db | online_chars |
| static map_index | maps |
| static map< int, int > | map_to_zone |
| static zone_server_db | servers |
| void CharServer::auth_ok | ( | tcp_connection::pointer | cl, |
| CharSessionData * | csd | ||
| ) | [static] |
Connection success into char server.
| void CharServer::char_to_buf | ( | struct CHARACTER_INFO * | charinfo, |
| CharData * | p | ||
| ) | [static] |
Char to Buffer.
Makes the character cache
| int CharServer::check_char_name | ( | char * | name | ) | [static] |
Check Character Name.
| bool CharServer::check_email | ( | char * | ) | [static] |
Check Email.
| void CharServer::connect_to_auth | ( | ) | [static] |
Connect to Auth Server.
Do the connection between char and auth server
| int CharServer::create_char | ( | CharSessionData * | csd, |
| char * | name, | ||
| int | str, | ||
| int | agi, | ||
| int | vit, | ||
| int | int_, | ||
| int | dex, | ||
| int | luk, | ||
| int | slot, | ||
| int | hair_color, | ||
| int | hair_style | ||
| ) | [static] |
Create Character.
| void CharServer::delete2_accept | ( | tcp_connection::pointer | cl, |
| CharSessionData * | csd | ||
| ) | [static] |
Delete character OK.
| void CharServer::delete2_cancel | ( | tcp_connection::pointer | cl, |
| CharSessionData * | csd | ||
| ) | [static] |
Cancel Character Delection.
| void CharServer::delete2_req | ( | tcp_connection::pointer | cl, |
| CharSessionData * | csd | ||
| ) | [static] |
Delete Character Requisition.
| int CharServer::parse_from_client | ( | tcp_connection::pointer | cl | ) | [static] |
Parse from Client.
| int CharServer::parse_from_login | ( | tcp_connection::pointer | cl | ) | [static] |
Parse from Login.
Parse informations from auth server
| int CharServer::parse_from_zone | ( | tcp_connection::pointer | cl | ) | [static] |
Parse from Zone.
| void CharServer::request_accreg2 | ( | int | account_id, |
| int | char_id | ||
| ) | [static] |
!
Request Acc Register
| void CharServer::run | ( | ) | [static] |
Start Char Server.
Start the char-server and load the confs
| void CharServer::send_chars | ( | tcp_connection::pointer | cl, |
| CharSessionData * | csd | ||
| ) | [static] |
Send Characters.
Send character informations to the client
| void CharServer::set_char_offline | ( | int | account_id, |
| char | char_id | ||
| ) | [static] |
Set a character to offline mode.
| void CharServer::set_char_online | ( | int | server, |
| int | char_id, | ||
| int | account_id | ||
| ) | [static] |
Set a Character to online mode.
| void CharServer::set_charsel | ( | int | account_id, |
| tcp_connection::pointer | cl | ||
| ) | [static] |
Character Selection.
1.7.6.1