OpenAstra
 
Loading...
Searching...
No Matches
command_set_dataitems.h
1#ifndef COMMAND_SET_DATAITEMS_H
2#define COMMAND_SET_DATAITEMS_H
3
4#include <stdint.h>
5
6#include "../engine/command.h"
7
8class Command_set_dataitems
9 : public Command
10{
11public:
12 static constexpr char objectType[] = "set_dataitems";
13 static Command* createFromDump(ObjectId id);
14 static Command* createFromNetwork( const nlohmann::json& command_data );
15
16public:
17 Command_set_dataitems( ObjectId id );
18 virtual ~Command_set_dataitems();
19
20 virtual bool performCommand() final;
21
22};
23
24#endif // COMMAND_SET_DATAITEMS_H
Definition gameid.hpp:9