mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-23 01:42:19 -05:00
32 lines
686 B
C
32 lines
686 B
C
|
#pragma once
|
||
|
|
||
|
#include "ZRoom/ZRoomCommand.h"
|
||
|
|
||
|
class EntranceEntry
|
||
|
{
|
||
|
public:
|
||
|
uint8_t startPositionIndex;
|
||
|
uint8_t roomToLoad;
|
||
|
|
||
|
EntranceEntry(const std::vector<uint8_t>& rawData, uint32_t rawDataIndex);
|
||
|
|
||
|
std::string GetBodySourceCode() const;
|
||
|
};
|
||
|
|
||
|
class SetEntranceList : public ZRoomCommand
|
||
|
{
|
||
|
public:
|
||
|
std::vector<EntranceEntry> entrances;
|
||
|
|
||
|
SetEntranceList(ZFile* nParent);
|
||
|
|
||
|
void DeclareReferences(const std::string& prefix) override;
|
||
|
void ParseRawDataLate() override;
|
||
|
void DeclareReferencesLate(const std::string& prefix) override;
|
||
|
|
||
|
std::string GetBodySourceCode() const override;
|
||
|
|
||
|
RoomCommand GetRoomCommand() const override;
|
||
|
std::string GetCommandCName() const override;
|
||
|
};
|