Skip to content

Commit

Permalink
Add force deployment and scenario objectives
Browse files Browse the repository at this point in the history
  • Loading branch information
sixlettervariables committed Mar 20, 2020
1 parent 9f68d61 commit 855097c
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions MekHQ/src/main/proto/Service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,18 @@ message ScenarioIdentifier {
int32 scenario_id = 3;
}

// Represents the deployment details of a Force
// within a Scenario.
message ForceDeployment {
// The number of rounds the force will be delayed
// upon deployment.
int32 deployment_delay = 1;

// The edge of the board the force will be deployed
// to.
int32 board_start = 2;
}

// Represents a Force assigned to a Scenario
message ScenarioForce {
// The unique identifier of the Campaign
Expand All @@ -364,6 +376,24 @@ message ScenarioForce {

// Zero-or-more units assigned to the Scenario.
repeated ForceUnit units = 5;

// Details of how the force will be deployed
// in the Scenario.
//
// This is sent by the Host Campaign only.
ForceDeployment deployment = 6;
}

// Represents an objective within a Scenario.
message ScenarioObjective {
// A description of the objective.
string description = 1;

// Zero or more forces affected by the objective.
repeated string affected_forces = 2;

// Zero or more units affected by the objective.
repeated string affected_units = 3;
}

// Represents the details of a Scenario.
Expand Down

0 comments on commit 855097c

Please sign in to comment.