mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-12-04 23:32:17 -05:00
35 lines
654 B
C
35 lines
654 B
C
|
#pragma once
|
||
|
|
||
|
#include "ZRoom/ZRoomCommand.h"
|
||
|
|
||
|
class MinimapChest
|
||
|
{
|
||
|
public:
|
||
|
MinimapChest(const std::vector<uint8_t>& rawData, uint32_t rawDataIndex);
|
||
|
|
||
|
std::string GetBodySourceCode() const;
|
||
|
|
||
|
protected:
|
||
|
uint16_t unk0;
|
||
|
uint16_t unk2;
|
||
|
uint16_t unk4;
|
||
|
uint16_t unk6;
|
||
|
uint16_t unk8;
|
||
|
};
|
||
|
|
||
|
class SetMinimapChests : public ZRoomCommand
|
||
|
{
|
||
|
public:
|
||
|
std::vector<MinimapChest> chests;
|
||
|
|
||
|
SetMinimapChests(ZFile* nParent);
|
||
|
|
||
|
void ParseRawData() override;
|
||
|
void DeclareReferences(const std::string& prefix) override;
|
||
|
|
||
|
std::string GetBodySourceCode() const override;
|
||
|
|
||
|
RoomCommand GetRoomCommand() const override;
|
||
|
std::string GetCommandCName() const override;
|
||
|
};
|