ANTWAR C++ SDK
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | Friends | List of all members
Operation Struct Reference

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::ostreamoperator<< (std::ostream &out, const Operation &op)
 

Detailed Description

Player's operations. It is able to be applied to the map.

Constructor & Destructor Documentation

◆ Operation()

Operation::Operation ( OperationType  type,
int  arg0 = INVALID_ARG,
int  arg1 = INVALID_ARG 
)
inline

Construct a new Operation object with specified type and arguments.

Parameters
typeType of operation.
arg0(optional) The first argument.
arg1(optional) The second argument.

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