mirror of
http://47.107.252.169:3000/Roguelite-Game-Developing-Team/Gen_Hack-and-Slash-Roguelite.git
synced 2025-11-19 21:27:14 +08:00
(tools, client, server) feat: Complete ProtoBuf message transmission with both TCP and UDP
This commit is contained in:
@@ -2,6 +2,13 @@ syntax = "proto3";
|
||||
|
||||
package protocol;
|
||||
|
||||
enum MessageType {
|
||||
loginRequest = 0;
|
||||
loginResponse = 1;
|
||||
signupRequest = 2;
|
||||
signupResponse = 3;
|
||||
}
|
||||
|
||||
enum RequestResult {
|
||||
Success = 0;
|
||||
Fail = 1;
|
||||
|
||||
Reference in New Issue
Block a user