24 lines
404 B
C++
24 lines
404 B
C++
#pragma once
|
|
#include "CommandType.h"
|
|
|
|
namespace BWAPIC
|
|
{
|
|
struct Command
|
|
{
|
|
Command()
|
|
: type( CommandType::None )
|
|
, value1( 0 )
|
|
, value2( 0 )
|
|
{ }
|
|
Command(CommandType::Enum _commandType, int _value1=0, int _value2=0)
|
|
: type( _commandType )
|
|
, value1( _value1 )
|
|
, value2( _value2 )
|
|
{ }
|
|
|
|
CommandType::Enum type;
|
|
int value1;
|
|
int value2;
|
|
};
|
|
}
|