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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user