pub enum ExplorerToOrchestratorKind {
Show 13 variants
StartExplorerAIResult,
KillExplorerResult,
ResetExplorerAIResult,
StopExplorerAIResult,
MovedToPlanetResult,
CurrentPlanetResult,
SupportedResourceResult,
SupportedCombinationResult,
GenerateResourceResponse,
CombineResourceResponse,
BagContentResponse,
NeighborsRequest,
TravelToPlanetRequest,
}Variants§
StartExplorerAIResult
This variant is used to acknowledge the starting of the Explorer AI
Response To: OrchestratorToExplorer::StartExplorerAI
KillExplorerResult
This variant is used to acknowledge the killing of an Explorer
Response To: OrchestratorToExplorer::KillExplorer
ResetExplorerAIResult
This variant is used to acknowledge the reset of the Explorer AI
Response To: OrchestratorToExplorer::ResetExplorerAI
StopExplorerAIResult
This variant is used to acknowledge the stopping of the Explorer AI
Response To: OrchestratorToExplorer::StopExplorerAI
MovedToPlanetResult
This variant is used to acknowledge the transfer of an Explorer to a new Planet
Response To: OrchestratorToExplorer::MoveToPlanet
CurrentPlanetResult
This variant is used to send the ID of the current planet on which the Explorer is located
Response To: OrchestratorToExplorer::CurrentPlanetRequest
SupportedResourceResult
This variant is used to send the list of the available BasicResourceType in the Explorer’s current planet
Response To: OrchestratorToExplorer::SupportedResourceRequest
SupportedCombinationResult
This variant is used to send the list of the available ComplexResourceType in the Explorer’s current planet
Response To: OrchestratorToExplorer::SupportedCombinationRequest
GenerateResourceResponse
This variant is used to send the generated Basic Resource asked by the Orchestrator
Response To: OrchestratorToExplorer::GenerateResourceRequest
CombineResourceResponse
This variant is used to send the generated ComplexResource asked by the Orchestrator
Response To: OrchestratorToExplorer::CombineResourceRequest
BagContentResponse
This message is for passing around the bag content and has been implemented with a generic type to let the group the freedom to implement the methods on it
Response To: OrchestratorToExplorer::BagContentRequest
NeighborsRequest
This variant asks the Orchestrator for the list of neighbors Planets to travel to
Expected Response: OrchestratorToExplorer::NeighborsResponse
Use Case: Knowing reachable planets from current planet
TravelToPlanetRequest
This variant asks the Orchestrator to be sent to the specified Planet
Expected Response: OrchestratorToExplorer::MoveToPlanet
Use Case: Autonomously asking to travel to a planet
Trait Implementations§
Source§impl Clone for ExplorerToOrchestratorKind
impl Clone for ExplorerToOrchestratorKind
Source§fn clone(&self) -> ExplorerToOrchestratorKind
fn clone(&self) -> ExplorerToOrchestratorKind
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more