mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2026-01-03 08:10:43 +00:00
added a sanity check for entering invalid characters
This commit is contained in:
@@ -119,6 +119,7 @@ namespace Database {
|
||||
int addAccount(std::string login, std::string password);
|
||||
void updateSelected(int accountId, int playerId);
|
||||
std::unique_ptr<Account> findAccount(std::string login);
|
||||
bool validateCharacter(int characterID, int userID);
|
||||
bool isNameFree(sP_CL2LS_REQ_CHECK_CHAR_NAME* nameCheck);
|
||||
// called after chosing name, returns ID
|
||||
int createCharacter(sP_CL2LS_REQ_SAVE_CHAR_NAME* save, int AccountID);
|
||||
|
||||
Reference in New Issue
Block a user