Rearranged the server-side object hierarchy (read more)
This has been a long-running problem for days, but I've finally implemented a correctly working hierarchy between the ClientData, AccountData and CharacterData objects: CharacterData -> AccountData -> ClientData There doesn't seem to be any issues with it right now, touch wood.
This commit is contained in:
@@ -77,8 +77,8 @@ private:
|
||||
void PumpPacket(SerialPacket);
|
||||
|
||||
//Account management
|
||||
int CreateUserAccount(std::string username, int clientIndex, int characterIndex);
|
||||
int LoadUserAccount(std::string username, int clientIndex, int characterIndex);
|
||||
int CreateUserAccount(std::string username, int clientIndex);
|
||||
int LoadUserAccount(std::string username, int clientIndex);
|
||||
int SaveUserAccount(int uid);
|
||||
void UnloadUserAccount(int uid);
|
||||
void DeleteUserAccount(int uid);
|
||||
|
||||
Reference in New Issue
Block a user