Hi,
Could it be that you're using an outdated version of the sc2 client protobuf code?
For example, this is in the current s2clientprotobuf/sc2api.proto:
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.
optional ActionSpatial action_render = 3; // Not implemented. Populated if Render interface is enabled.
optional ActionUI action_ui = 4; // Populated if Feature Layer or Render interface is enabled.
optional ActionChat action_chat = 6; // Chat messages as a player typing into the chat channel.
}
Whereas you seem to have generated the C# code based on this (as per your current github commit):
message Action {
ActionRaw action_raw = 1; // Populated if Raw interface is enabled.
ActionSpatial action_feature_layer = 2; // Populated if Feature Layer interface is enabled.
ActionSpatial action_render = 3; // Not implemented. Populated if Render interface is enabled.
ActionUI action_ui = 4; // Populated if Feature Layer or Render interface is enabled.
repeated ActionChat chat = 5; // Chat messages as a player typing into the chat channel.
}
This leads to chat not working at all. There might be more things broken though.
Hi,
Could it be that you're using an outdated version of the sc2 client protobuf code?
For example, this is in the current s2clientprotobuf/sc2api.proto:
Whereas you seem to have generated the C# code based on this (as per your current github commit):
This leads to chat not working at all. There might be more things broken though.