data/sc2ai/protocol/debug.proto in sc2ai-0.2.0 vs data/sc2ai/protocol/debug.proto in sc2ai-0.3.0

- old
+ new

@@ -65,23 +65,23 @@ optional Point p = 2; optional float r = 3; } enum DebugGameState { - EnumDebugGameStateUnset = 0; // Proto3 compat - show_map = 1; - control_enemy = 2; - food = 3; - free = 4; - all_resources = 5; - god = 6; - minerals = 7; - gas = 8; - cooldown = 9; - tech_tree = 10; - upgrade = 11; - fast_build = 12; + ENUM_DEBUG_GAME_STATE_UNSET = 0; // PROTO3 COMPAT + SHOW_MAP = 1; + CONTROL_ENEMY = 2; + FOOD = 3; + FREE = 4; + ALL_RESOURCES = 5; + GOD = 6; + MINERALS = 7; + GAS = 8; + COOLDOWNS = 9; + TECH_TREE = 10; + UPGRADE = 11; + FAST_BUILD = 12; } message DebugCreateUnit { optional uint32 unit_type = 1; optional int32 owner = 2; @@ -93,14 +93,14 @@ repeated uint64 tag = 1; } message DebugTestProcess { enum Test { - EnumTestUnset = 0; // Proto3 compat - hang = 1; - crash = 2; - exit = 3; + ENUM_TEST_UNSET = 0; // PROTO3 COMPAT + HANG = 1; + CRASH = 2; + EXIT = 3; } optional Test test = 1; optional int32 delay_ms = 2; } @@ -108,22 +108,22 @@ optional float score = 1; } message DebugEndGame { enum EndResult { - EnumEndResultUnset = 0; // Proto3 compat - Surrender = 1; // Default if nothing is set. The current player admits defeat. - DeclareVictory = 2; + ENUM_END_RESULT_UNSET = 0; // PROTO3 COMPAT + SURRENDER = 1; // DEFAULT IF NOTHING IS SET. THE CURRENT PLAYER ADMITS DEFEAT. + DECLARE_VICTORY = 2; } optional EndResult end_result = 1; } message DebugSetUnitValue { enum UnitValue { - EnumUnitValueUnset = 0; // Proto3 compat - Energy = 1; - Life = 2; - Shields = 3; + ENUM_UNIT_VALUE_UNSET = 0; // PROTO3 COMPAT + ENERGY = 1; + LIFE = 2; + SHIELDS = 3; } optional UnitValue unit_value = 1; optional float value = 2; optional uint64 unit_tag = 3; }