mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2025-12-25 05:00:30 +00:00
Prevent DB players from occupying same slot
This commit is contained in:
@@ -121,6 +121,7 @@ namespace Database {
|
||||
std::unique_ptr<Account> findAccount(std::string login);
|
||||
bool validateCharacter(int characterID, int userID);
|
||||
bool isNameFree(std::string firstName, std::string lastName);
|
||||
bool isSlotFree(int accountId, int slotNum);
|
||||
// called after chosing name, returns ID
|
||||
int createCharacter(sP_CL2LS_REQ_SAVE_CHAR_NAME* save, int AccountID);
|
||||
// called after finishing creation
|
||||
|
||||
Reference in New Issue
Block a user