ANTWAR C++ SDK
|
Player's operations. It is able to be applied to the map. More...
#include <common.hpp>
Public Member Functions | |
Operation (OperationType type, int arg0=INVALID_ARG, int arg1=INVALID_ARG) | |
Construct a new Operation object with specified type and arguments. | |
Public Attributes | |
OperationType | type |
int | arg0 |
int | arg1 |
Static Public Attributes | |
static constexpr int | INVALID_ARG = -1 |
Placeholder for the second argument. | |
Friends | |
std::ostream & | operator<< (std::ostream &out, const Operation &op) |
Player's operations. It is able to be applied to the map.
|
inline |
Construct a new Operation object with specified type and arguments.
type | Type of operation. |
arg0 | (optional) The first argument. |
arg1 | (optional) The second argument. |