mirror of
https://github.com/UltraCoderRU/screepsxx.git
synced 2026-01-28 01:55:12 +00:00
28 lines
567 B
C++
28 lines
567 B
C++
#ifndef SCREEPS_STRUCTURE_TERMINAL_HPP
|
|
#define SCREEPS_STRUCTURE_TERMINAL_HPP
|
|
|
|
#include "OwnedStructure.hpp"
|
|
#include "Store.hpp"
|
|
|
|
#include <optional>
|
|
|
|
namespace Screeps {
|
|
|
|
class StructureTerminal : public OwnedStructure
|
|
{
|
|
public:
|
|
explicit StructureTerminal(JS::Value value);
|
|
|
|
int cooldown() const;
|
|
|
|
Store store() const;
|
|
|
|
int send(const std::string& resourceType,
|
|
int amount,
|
|
const std::string& destination,
|
|
std::optional<std::string> description = std::nullopt);
|
|
};
|
|
|
|
} // namespace Screeps
|
|
|
|
#endif // SCREEPS_STRUCTURE_TERMINAL_HPP
|