Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion s2clientprotocol/common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ syntax = "proto2";
package SC2APIProtocol;

message AvailableAbility {
optional int32 ability_id = 1;
optional uint32 ability_id = 1;
optional bool requires_point = 2;
}

Expand Down
2 changes: 1 addition & 1 deletion s2clientprotocol/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ message ResponseQueryAvailableAbilities {

//--------------------------------------------------------------------------------------------------
message RequestQueryBuildingPlacement {
optional int32 ability_id = 1;
optional uint32 ability_id = 1;
optional Point2D target_pos = 2;
optional uint64 placing_unit_tag = 3; // Not required
}
Expand Down
4 changes: 2 additions & 2 deletions s2clientprotocol/raw.proto
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ message ActionRaw {
}

message ActionRawUnitCommand {
optional int32 ability_id = 1;
optional uint32 ability_id = 1;
oneof target {
Point2D target_world_space_pos = 2;
uint64 target_unit_tag = 3;
Expand All @@ -172,6 +172,6 @@ message ActionRawCameraMove {
}

message ActionRawToggleAutocast {
optional int32 ability_id = 1;
optional uint32 ability_id = 1;
repeated uint64 unit_tags = 2;
}
2 changes: 1 addition & 1 deletion s2clientprotocol/spatial.proto
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ message ActionSpatial {
}

message ActionSpatialUnitCommand {
optional int32 ability_id = 1;
optional uint32 ability_id = 1;
oneof target {
PointI target_screen_coord = 2;
PointI target_minimap_coord = 3;
Expand Down
2 changes: 1 addition & 1 deletion s2clientprotocol/ui.proto
Original file line number Diff line number Diff line change
Expand Up @@ -127,5 +127,5 @@ message ActionProductionPanelRemoveFromQueue {
}

message ActionToggleAutocast {
optional int32 ability_id = 1;
optional uint32 ability_id = 1;
}