- update: proto files to move common stuff into common proto files
- update: made changes for new proto paths - add: skills to character table - add: load and send skills to client from db - add: chat proto
This commit is contained in:
25
proto/chat.proto
Normal file
25
proto/chat.proto
Normal file
@@ -0,0 +1,25 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package chat;
|
||||
|
||||
import "common.proto";
|
||||
|
||||
service ChatService {
|
||||
rpc SendMessage(ChatMessage) returns (common.Empty);
|
||||
}
|
||||
|
||||
enum MessageType {
|
||||
MESSAGE_TYPE_UNSPECIFIED = 0;
|
||||
MESSAGE_TYPE_NORMAL = 1;
|
||||
MESSAGE_TYPE_SHOUT = 2;
|
||||
MESSAGE_TYPE_PARTY = 3;
|
||||
MESSAGE_TYPE_WHISPER = 4;
|
||||
MESSAGE_TYPE_CLAN = 5;
|
||||
MESSAGE_TYPE_ALLIED = 6;
|
||||
}
|
||||
|
||||
message ChatMessage {
|
||||
MessageType type = 1;
|
||||
string message = 2;
|
||||
string target = 3;
|
||||
}
|
||||
Reference in New Issue
Block a user