~starkingdoms/starkingdoms

ref: dd101bc47e02b050cc85e160450af537e601d8fe starkingdoms/protocol/src/pbuf/module.proto -rw-r--r-- 248 bytes
dd101bc4 — core whoa, i just rewrote spacetime again 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;
}