based database and account progress
This commit is contained in:
@ -26,18 +26,21 @@ message ActionBatch {
|
||||
int32 player_id = 1;
|
||||
repeated Action actions = 2;
|
||||
int64 tick = 3;
|
||||
int32 protocol_version = 4;
|
||||
}
|
||||
|
||||
message PlayerState {
|
||||
int32 player_id = 1;
|
||||
int32 x = 2;
|
||||
int32 y = 3;
|
||||
string username = 4;
|
||||
}
|
||||
|
||||
message ChatMessage {
|
||||
int32 player_id = 1;
|
||||
string content = 2;
|
||||
int64 timestamp = 3;
|
||||
string username = 2;
|
||||
string content = 3;
|
||||
int64 timestamp = 4;
|
||||
}
|
||||
|
||||
message ServerMessage {
|
||||
@ -47,4 +50,5 @@ message ServerMessage {
|
||||
repeated ChatMessage chat_messages = 4;
|
||||
bool auth_success = 5;
|
||||
string error_message = 6;
|
||||
int32 protocol_version = 7;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user