~starkingdoms/starkingdoms

ref: 5e87308d12336afb2800216f5a06aa8d84ec1915 starkingdoms/protocol/src/pbuf/module.proto -rw-r--r-- 248 bytes
5e87308d — 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
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;
}