mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-04 16:45:10 -05:00
5dda5762ba
subrepo: subdir: "ZAPDTR" merged: "a53a53ea4" upstream: origin: "https://github.com/HarbourMasters/ZAPDTR.git" branch: "master" commit: "a53a53ea4" git-subrepo: version: "0.4.1" origin: "???" commit: "???"
28 lines
575 B
C++
28 lines
575 B
C++
#include "SetEchoSettings.h"
|
|
#include "Utils/StringHelper.h"
|
|
|
|
SetEchoSettings::SetEchoSettings(ZFile* nParent) : ZRoomCommand(nParent)
|
|
{
|
|
}
|
|
|
|
void SetEchoSettings::ParseRawData()
|
|
{
|
|
ZRoomCommand::ParseRawData();
|
|
echo = parent->GetRawData().at(rawDataIndex + 0x07);
|
|
}
|
|
|
|
std::string SetEchoSettings::GetBodySourceCode() const
|
|
{
|
|
return StringHelper::Sprintf("SCENE_CMD_ECHO_SETTINGS(%i)", echo);
|
|
}
|
|
|
|
std::string SetEchoSettings::GetCommandCName() const
|
|
{
|
|
return "SCmdEchoSettings";
|
|
}
|
|
|
|
RoomCommand SetEchoSettings::GetRoomCommand() const
|
|
{
|
|
return RoomCommand::SetEchoSettings;
|
|
}
|