- 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:
@@ -21,8 +21,6 @@ impl CharacterService for MyDatabaseService {
|
||||
id: character.id,
|
||||
user_id: character.user_id,
|
||||
name: character.name,
|
||||
level: character.level as i32,
|
||||
experience: character.experience,
|
||||
inventory: character.inventory.to_string(),
|
||||
stats: character.stats.to_string(),
|
||||
looks: character.looks.to_string(),
|
||||
@@ -54,8 +52,6 @@ impl CharacterService for MyDatabaseService {
|
||||
id: character.id,
|
||||
user_id: character.user_id,
|
||||
name: character.name,
|
||||
level: character.level as i32,
|
||||
experience: character.experience,
|
||||
inventory: character.inventory.to_string(),
|
||||
stats: character.stats.to_string(),
|
||||
looks: character.looks.to_string(),
|
||||
|
||||
Reference in New Issue
Block a user