summaryrefslogtreecommitdiff
path: root/src/char/pincode.h
diff options
context:
space:
mode:
authormalufett <malufett.eat.my.binaries@gmail.com>2013-03-16 10:13:03 +0800
committermalufett <malufett.eat.my.binaries@gmail.com>2013-03-16 10:13:03 +0800
commitf214021bb14aa3ab976730b32dd79d843ff8e93e (patch)
treef44f07da3c31f44117de809cbafbec7baf635367 /src/char/pincode.h
parent84e8f1872f0f00d6f82d6fe85974bb1f37247c53 (diff)
downloadhercules-f214021bb14aa3ab976730b32dd79d843ff8e93e.tar.gz
hercules-f214021bb14aa3ab976730b32dd79d843ff8e93e.tar.bz2
hercules-f214021bb14aa3ab976730b32dd79d843ff8e93e.tar.xz
hercules-f214021bb14aa3ab976730b32dd79d843ff8e93e.zip
Follow up fixed for Pin Code Feature
-Fixed some warning in Windows. -Fixed 'pincode_charselect' where it doesn't work properly Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
Diffstat (limited to 'src/char/pincode.h')
-rw-r--r--src/char/pincode.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/char/pincode.h b/src/char/pincode.h
index 1856e4baa..94e0b4f5b 100644
--- a/src/char/pincode.h
+++ b/src/char/pincode.h
@@ -27,11 +27,10 @@ struct pincode_interface {
void (*decrypt) (unsigned int userSeed, char* pin);
void (*error) (int account_id);
void (*update) (int account_id, char* pin);
- void (*state) (int fd, struct char_session_data* sd, uint16 state);
- void (*new) (int fd, struct char_session_data* sd);
+ void (*sendstate) (int fd, struct char_session_data* sd, uint16 state);
+ void (*setnew) (int fd, struct char_session_data* sd);
void (*change) (int fd, struct char_session_data* sd);
int (*compare) (int fd, struct char_session_data* sd, char* pin);
- void (*pass) (struct char_session_data *sd);
void (*check) (int fd, struct char_session_data* sd);
bool (*config_read) (char *w1, char *w2);
} pincode_s;