My Project
Public Member Functions | Public Attributes | List of all members
sc2::ControlImp Class Reference
Inheritance diagram for sc2::ControlImp:
sc2::ControlInterface

Public Member Functions

 ControlImp (ClientEvents *client_events)
 
ProtoInterfaceProto () override
 
bool Connect (const std::string &address, int port, int timeout_ms) override
 
bool CreateGame (const std::string &map_path, const std::vector< PlayerSetup > &players) override
 
bool RequestJoinGame (PlayerSetup setup, bool feature_layers=false, const Ports &ports=Ports()) override
 
bool WaitJoinGame () override
 
bool RequestEndGame () override
 
bool RequestLeaveGame () override
 
bool PollLeaveGame () override
 
bool Step (int count=1) override
 
bool WaitStep () override
 
GameStateProtocol::Status GetLastStatus () const override
 
bool IsInGame () const override
 
bool IsFinishedGame () const override
 
bool IsReadyForCreateGame () const override
 
bool HasResponsePending () const override
 
bool GetObservation () override
 
bool PollResponse () override
 

Public Attributes

bool is_multiplayer_
 
ProtoInterface proto_
 
ObservationPtr observation_
 
ResponseObservationPtr response_
 
ObservationImpobservation_imp_
 
UnitQueryImpunit_query_imp_
 
DebugImpdebug_imp_
 
ClientEventsclient_events_
 

The documentation for this class was generated from the following file: