TorchCraftAI
A bot for machine learning research on StarCraft: Brood War
Public Member Functions | Public Attributes | List of all members
torchcraft::Client::Command Struct Reference

#include <client.h>

Public Member Functions

 Command ()
 
 Command (int code)
 
 Command (int code, std::string str)
 
 Command (int code, std::initializer_list< int > &&args)
 
 Command (int code, std::string str, std::initializer_list< int > &&args)
 
 Command (int code, std::string str, std::vector< int > &args)
 
template<typename... Args>
 Command (int code, int a, Args &&...args)
 
template<typename... Args>
 Command (int code, std::string str, Args &&...args)
 

Public Attributes

int code = -1
 
std::vector< int > args
 
std::string str
 

Constructor & Destructor Documentation

torchcraft::Client::Command::Command ( )
inline
torchcraft::Client::Command::Command ( int  code)
inline
torchcraft::Client::Command::Command ( int  code,
std::string  str 
)
inline
torchcraft::Client::Command::Command ( int  code,
std::initializer_list< int > &&  args 
)
inline
torchcraft::Client::Command::Command ( int  code,
std::string  str,
std::initializer_list< int > &&  args 
)
inline
torchcraft::Client::Command::Command ( int  code,
std::string  str,
std::vector< int > &  args 
)
inline
template<typename... Args>
torchcraft::Client::Command::Command ( int  code,
int  a,
Args &&...  args 
)
inline
template<typename... Args>
torchcraft::Client::Command::Command ( int  code,
std::string  str,
Args &&...  args 
)
inline

Member Data Documentation

std::vector<int> torchcraft::Client::Command::args
int torchcraft::Client::Command::code = -1
std::string torchcraft::Client::Command::str

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