- add: Character service now loads the data from the database and sends it in the character list packet

- add: character id list to the connection state for tracking the real character database id's for when the client requests actions on the character
- fix: sql error when trying to create a character
This commit is contained in:
2025-01-07 22:16:47 -05:00
parent cb6ee657f0
commit db868cc1ac
9 changed files with 117 additions and 62 deletions

View File

@@ -14,10 +14,11 @@ message Looks {
}
message EquippedItem {
int32 id = 1;
int32 item_id = 1;
int32 gem_option = 2;
int32 socket = 3;
int32 grade = 4;
int32 slot = 5;
}
message Character {

View File

@@ -10,7 +10,8 @@ service CharacterService {
}
message CharacterRequest {
int32 character_id = 1;
int32 user_id = 1;
int32 character_id = 2;
}
message CharacterListRequest {
@@ -49,8 +50,6 @@ message Character {
int32 id = 1;
int32 user_id = 2;
string name = 3;
int32 level = 4;
int64 experience = 5;
string inventory = 6;
string stats = 7;
string looks = 8;