Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc improvements #80

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
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
7 changes: 4 additions & 3 deletions s2clientprotocol/raw.proto
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,11 @@ enum Alliance {
Enemy = 4;
}

// Currently it is not possible to observe the "shimmer" of a cloaked and undetected unit.
enum CloakState {
Cloaked = 1;
CloakedDetected = 2;
NotCloaked = 3;
Cloaked = 1; // A unit that is currently cloaked. Only applies to your own units.
CloakedDetected = 2; // An enemy unit that was cloaked, but is currently being detected by a detector.
NotCloaked = 3; // A regular un-cloaked unit.
}

message PassengerUnit {
Expand Down
2 changes: 2 additions & 0 deletions s2clientprotocol/sc2api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,8 @@ message Observation {
optional ObservationUI ui_data = 8; // Populated if Feature Layer or Render interface is enabled.
}

// When sending an Action, only set one of these fields.
// Multiple fields may be set in a reply.
message Action {
optional ActionRaw action_raw = 1; // Populated if Raw interface is enabled.
optional ActionSpatial action_feature_layer = 2; // Populated if Feature Layer interface is enabled.
Expand Down