![]() |
|
#11
|
|||
|
I'm the sort of person that wants to be 100% sure, so I looked at the code for deleting a char on eqemu :
https://github.com/EQEmu/Server/blob...rld/client.cpp at 965 we have : Code:
bool Client::HandleDeleteCharacterPacket(const EQApplicationPacket *app) {
uint32 char_acct_id = database.GetAccountIDByChar((char*)app->pBuffer);
if(char_acct_id == GetAccountID()) {
LogInfo("Delete character: [{}]", app->pBuffer);
database.DeleteCharacter((char *)app->pBuffer);
SendCharInfo();
}
return true;
}
For soft deletes it runs this : Code:
SQL(
UPDATE
character_data
SET
name = SUBSTRING(CONCAT(name, '-deleted-', UNIX_TIMESTAMP()), 1, 64),
deleted_at = NOW()
WHERE
id = '{}'
),
| ||
|
|