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