Files
osirose-new/proto/character_common.proto
raven cb6ee657f0 - add: Character service can now actually create a character correctly in the database
- add: character db client to allow the character service to talk to the database service
- update: character.proto to make character data shared
2025-01-07 13:41:07 -05:00

31 lines
660 B
Protocol Buffer

syntax = "proto3";
package character_common;
message Stats {
int32 level = 1;
int32 job = 2;
}
message Looks {
int32 race = 1;
int32 hair = 2;
int32 face = 3;
}
message EquippedItem {
int32 id = 1;
int32 gem_option = 2;
int32 socket = 3;
int32 grade = 4;
}
message Character {
string character_id = 1; // Unique ID for the character
string name = 2; // Name of the character
int64 last_played = 3; // Last played timestamp (Unix time)
int64 delete_time = 4; // Time until character deletion (seconds)
Stats stats = 5; // Character's stats
Looks looks = 6; // Character's Looks
repeated EquippedItem items = 7;
}