diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-19 14:45:26 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-19 14:45:26 +0000 |
commit | 64278f84045f73343b02ef8d724b9f6fc1beda4a (patch) | |
tree | 23864426636a7d50bdb683bd07a1bcde69bd242c /src/char_sql/char.h | |
parent | 41b1f9cb70a286845572847be488af075ee544d4 (diff) | |
download | hercules-64278f84045f73343b02ef8d724b9f6fc1beda4a.tar.gz hercules-64278f84045f73343b02ef8d724b9f6fc1beda4a.tar.bz2 hercules-64278f84045f73343b02ef8d724b9f6fc1beda4a.tar.xz hercules-64278f84045f73343b02ef8d724b9f6fc1beda4a.zip |
- Removed the mysterious array of two of char_dat (char/sql server), replaced it with a static structure.
- Added function char_loadName to extract the character name of a given ID.
- Fixed fame-list updating crashing char-sql server when the given char-id just got into ranking.
- Sorry I didn't check if it compiles cleanly because I don't have sql here <.< (am gonna test it in a second, though)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7248 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql/char.h')
-rw-r--r-- | src/char_sql/char.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/char_sql/char.h b/src/char_sql/char.h index 2231cbbbf..e6215765c 100644 --- a/src/char_sql/char.h +++ b/src/char_sql/char.h @@ -55,6 +55,8 @@ int mapif_send(int fd,unsigned char *buf,unsigned int len); int char_married(int pl1,int pl2);
int char_child(int parent_id, int child_id);
+int char_loadName(int char_id, char* name);
+
int request_accreg2(int account_id, int char_id);
int save_accreg2(unsigned char* buf, int len);
|