~starkingdoms/starkingdoms

ref: b494ad7f2355ec343b0425b7accb8863feedecf6 starkingdoms/protocol/src/pbuf/starkingdoms-protocol.proto -rw-r--r-- 442 bytes
b494ad7f — ghostlyzsh Merge branch 'master' of https://gitlab.com/starkingdoms.tk/starkingdoms.tk 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
syntax = "proto3";
package protocol;

import public "message_c2s.proto";
import public "state.proto";
import public "goodbye_reason.proto";
import public "message_s2c.proto";
import public "player.proto";
import public "planet.proto";
import public "input.proto";

message PacketWrapper {
  int64 packet_id = 1;    // What is the Packet ID of this packet?
  bytes packet_data = 2;  // Protobuf-encoded bytearray containing the actual packet
}