|
Fimbulwinter Project
Pre-Alpha
An Ragnarok Online Emulator
|
Char DB. More...
#include <CharDB.hpp>
Public Member Functions | |
| CharDB (soci::session *db) | |
| int | get_char_count (int accid) |
| ! | |
| int | load_chars_to_buf (int account_id, struct CHARACTER_INFO *charinfo, CharSessionData *csd) |
| ! | |
| void | load_char (int id, CharData &c, bool full) |
| ! | |
| int | save (CharData &c, bool nw) |
| ! | |
| bool | delete_char (int cid) |
| ! | |
| void | load_acc_reg (int account_id, int char_id, struct AccountReg ®, int type) |
| ! | |
Char DB.
Constructor and Char-Server Manipulation Modules
| bool CharDB::delete_char | ( | int | cid | ) | [inline] |
!
Delete a Character
| int CharDB::get_char_count | ( | int | accid | ) | [inline] |
!
Get the number of chars in a account
| void CharDB::load_acc_reg | ( | int | account_id, |
| int | char_id, | ||
| struct AccountReg & | reg, | ||
| int | type | ||
| ) | [inline] |
!
Load Account register
| void CharDB::load_char | ( | int | id, |
| CharData & | c, | ||
| bool | full | ||
| ) | [inline] |
!
Load Character
| int CharDB::load_chars_to_buf | ( | int | account_id, |
| struct CHARACTER_INFO * | charinfo, | ||
| CharSessionData * | csd | ||
| ) | [inline] |
!
Load chars into the cache
| int CharDB::save | ( | CharData & | c, |
| bool | nw | ||
| ) | [inline] |
!
Save a Character
1.7.6.1