- 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:
2025-02-27 22:11:17 -05:00
parent 292a298205
commit a9a6c52b00
21 changed files with 141 additions and 30 deletions

25
proto/chat.proto Normal file
View 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;
}