Skip to content

Doc improvements#80

Open
eminence wants to merge 3 commits into
Blizzard:masterfrom
eminence:doc_improvements
Open

Doc improvements#80
eminence wants to merge 3 commits into
Blizzard:masterfrom
eminence:doc_improvements

Conversation

@eminence
Copy link
Copy Markdown

@eminence eminence commented Dec 9, 2017

See the individual commits for more info

In testing, it seems that only one of these fields can be set.  If
multiple fields are set, only the first field is acted upon (the other
actions are ignored).   Should this be converted to a `oneof` type?
Comment thread s2clientprotocol/sc2api.proto Outdated
optional ObservationUI ui_data = 8; // Populated if Feature Layer or Render interface is enabled.
}

// Only one of these Action fields should be set at once
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only one of these would be set when making an action, but multiple are likely to be returned when getting the actions back in an observation (eg from a replay) since the action can be represented in multiple ways.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point! I just pushed an update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants