1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#ifndef DATA_H #define DATA_H #include "login.h" int try_load_plr(char *player_name, playerc_t *conn); int try_write_plr(player_t *plr); enum ParsePlayerState { ReadingData, Comma }; enum ParsePlayerType { Hp, MaxHp, Level, Xp, LocationId, PwHash, Name }; #endif