28 lines
742 B
C++
28 lines
742 B
C++
#pragma once
|
|
|
|
namespace RE
|
|
{
|
|
class __declspec(novtable) PipboyCommandResult
|
|
{
|
|
public:
|
|
static constexpr auto RTTI{ RTTI::PipboyCommandResult };
|
|
static constexpr auto VTABLE{ VTABLE::PipboyCommandResult };
|
|
|
|
PipboyCommandResult(std::uint32_t a_commandId, bool a_succeeded, bool a_shouldReply) :
|
|
commandId(a_commandId), succeeded(a_succeeded), shouldReply(a_shouldReply)
|
|
{
|
|
REX::EMPLACE_VTABLE(this);
|
|
}
|
|
|
|
// add
|
|
virtual ~PipboyCommandResult(); // 00
|
|
virtual void Serialize(Json::Value* a_json) = 0; // 01
|
|
|
|
// members
|
|
const std::uint32_t commandId; // 08
|
|
const bool succeeded; // 0C
|
|
const bool shouldReply; // 0D
|
|
};
|
|
static_assert(sizeof(PipboyCommandResult) == 0x10);
|
|
}
|