blob: 832232e06ba8237a884227b9517a347345ca7314 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#pragma once
#include "ZRoom/ZRoomCommand.h"
class Spawn
{
public:
uint8_t startPositionIndex;
uint8_t roomToLoad;
Spawn(const std::vector<uint8_t>& rawData, uint32_t rawDataIndex);
std::string GetBodySourceCode() const;
};
class SetEntranceList : public ZRoomCommand
{
public:
std::vector<Spawn> 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;
};
|