~starkingdoms/starkingdoms

ref: f48ae47b8916ab705dfec9fc02089d9200ca3ae0 starkingdoms/protocol/src/pbuf/module.proto -rw-r--r-- 248 bytes
f48ae47b — core Merge remote-tracking branch 'origin/master' 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;
}