- add: ability to refresh the current session

- add: delete type to delete character request
- add: ability to update key in redis
- add: handle alive packet to refresh the session
- fix: delete now actually returns the time remaining correctly
- fix: character list now has the correct time until character deletion
This commit is contained in:
2025-01-08 02:03:27 -05:00
parent 584892ab97
commit 6d35d15ac3
16 changed files with 158 additions and 25 deletions

View File

@@ -39,6 +39,7 @@ message CreateCharacterResponse {
message DeleteCharacterRequest {
int32 user_id = 1;
int32 character_id = 2;
int32 delete_type = 3;
}
message DeleteCharacterResponse {
@@ -56,7 +57,8 @@ message Character {
string position = 9;
string created_at = 10;
string updated_at = 11;
bool is_active = 12;
string deleted_at = 12;
bool is_active = 13;
}
message Empty {}