Re-order object types

This commit is contained in:
Marc Di Luzio 2020-07-19 13:27:59 +01:00
parent 713699687f
commit 4f1a9c2c2b
2 changed files with 15 additions and 15 deletions

View file

@ -163,11 +163,11 @@ const (
// RoverLive represents a live rover
Object_RoverLive Object = 1
// RoverDormant describes a dormant rover
Object_RoverDormant Object = 4
Object_RoverDormant Object = 2
// RockSmall is a small stashable rock
Object_RockSmall Object = 2
Object_RockSmall Object = 3
// RockLarge is a large blocking rock
Object_RockLarge Object = 3
Object_RockLarge Object = 4
)
// Enum value maps for Object.
@ -175,16 +175,16 @@ var (
Object_name = map[int32]string{
0: "ObjectUnknown",
1: "RoverLive",
4: "RoverDormant",
2: "RockSmall",
3: "RockLarge",
2: "RoverDormant",
3: "RockSmall",
4: "RockLarge",
}
Object_value = map[string]int32{
"ObjectUnknown": 0,
"RoverLive": 1,
"RoverDormant": 4,
"RockSmall": 2,
"RockLarge": 3,
"RoverDormant": 2,
"RockSmall": 3,
"RockLarge": 4,
}
)
@ -1276,9 +1276,9 @@ var file_roveapi_roveapi_proto_rawDesc = []byte{
0x04, 0x2a, 0x5a, 0x0a, 0x06, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x11, 0x0a, 0x0d, 0x4f,
0x62, 0x6a, 0x65, 0x63, 0x74, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x10, 0x00, 0x12, 0x0d,
0x0a, 0x09, 0x52, 0x6f, 0x76, 0x65, 0x72, 0x4c, 0x69, 0x76, 0x65, 0x10, 0x01, 0x12, 0x10, 0x0a,
0x0c, 0x52, 0x6f, 0x76, 0x65, 0x72, 0x44, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x74, 0x10, 0x04, 0x12,
0x0d, 0x0a, 0x09, 0x52, 0x6f, 0x63, 0x6b, 0x53, 0x6d, 0x61, 0x6c, 0x6c, 0x10, 0x02, 0x12, 0x0d,
0x0a, 0x09, 0x52, 0x6f, 0x63, 0x6b, 0x4c, 0x61, 0x72, 0x67, 0x65, 0x10, 0x03, 0x2a, 0x37, 0x0a,
0x0c, 0x52, 0x6f, 0x76, 0x65, 0x72, 0x44, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x74, 0x10, 0x02, 0x12,
0x0d, 0x0a, 0x09, 0x52, 0x6f, 0x63, 0x6b, 0x53, 0x6d, 0x61, 0x6c, 0x6c, 0x10, 0x03, 0x12, 0x0d,
0x0a, 0x09, 0x52, 0x6f, 0x63, 0x6b, 0x4c, 0x61, 0x72, 0x67, 0x65, 0x10, 0x04, 0x2a, 0x37, 0x0a,
0x04, 0x54, 0x69, 0x6c, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x69, 0x6c, 0x65, 0x55, 0x6e, 0x6b,
0x6e, 0x6f, 0x77, 0x6e, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x52, 0x6f, 0x63, 0x6b, 0x10, 0x01,
0x12, 0x0a, 0x0a, 0x06, 0x47, 0x72, 0x61, 0x76, 0x65, 0x6c, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04,

View file

@ -152,13 +152,13 @@ enum Object {
RoverLive = 1;
// RoverDormant describes a dormant rover
RoverDormant = 4;
RoverDormant = 2;
// RockSmall is a small stashable rock
RockSmall = 2;
RockSmall = 3;
// RockLarge is a large blocking rock
RockLarge = 3;
RockLarge = 4;
}
enum Tile {