More work.

Added chat service
Updated packet service to pass the tcp stream around in a Arc type.
Updated character position data to not require multiplying the coords
Added more debug logs
Added an interceptor for gRPC comms with the chat server
Updated build and push script for the chat server changes
This commit is contained in:
2025-06-06 17:52:29 -04:00
parent 85d41c0239
commit ad6ba2c8e6
32 changed files with 787 additions and 92 deletions

View File

@@ -5,7 +5,7 @@ package chat;
import "common.proto";
service ChatService {
rpc SendMessage(ChatMessage) returns (common.Empty);
rpc ChatStream(stream ChatMessage) returns (stream ChatMessage);
}
enum MessageType {
@@ -19,7 +19,8 @@ enum MessageType {
}
message ChatMessage {
MessageType type = 1;
string message = 2;
string target = 3;
string client_id = 1;
MessageType type = 2;
string message = 3;
string target_id = 4;
}