Fimbulwinter Project  Pre-Alpha
An Ragnarok Online Emulator
Public Member Functions
CharDB Class Reference

Char DB. More...

#include <CharDB.hpp>

List of all members.

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 &reg, int type)
 !

Detailed Description

Char DB.

Constructor and Char-Server Manipulation Modules

Author:
Fimbulwinter Development Team
GreenBox
Date:
10/12/11

Member Function Documentation

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


The documentation for this class was generated from the following file:
 All Classes Functions