~starkingdoms/starkingdoms

ref: 03ae4f52d091e573b5ddaaa207deda1635619a47 starkingdoms/protocol/src/pbuf/module.proto -rw-r--r-- 248 bytes
03ae4f52 — ghostlyzsh initial rotation bug fixed. i hate math. 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
syntax = "proto3";
package protocol.module;

message Module {
    ModuleType module_type = 1;
    double rotation = 2;
    double x = 3;
    double y = 4;
}

enum ModuleType {
    UNKNOWN = 0;
    Cargo = 1;
    LandingThruster = 2;
    Hub = 3;
}