Shipwright/ZAPDTR/ZAPD/ZRoom/Commands/ZRoomCommandUnk.cpp
M4xw 5dda5762ba git subrepo clone https://github.com/HarbourMasters/ZAPDTR.git
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:   "???"
2022-03-22 02:54:48 +01:00

21 lines
546 B
C++

#include "ZRoomCommandUnk.h"
#include "Utils/BitConverter.h"
#include "Utils/StringHelper.h"
#include "ZRoom/ZRoom.h"
ZRoomCommandUnk::ZRoomCommandUnk(ZFile* nParent) : ZRoomCommand(nParent)
{
}
std::string ZRoomCommandUnk::GetBodySourceCode() const
{
return StringHelper::Sprintf("{ %s, 0x%02X, 0x%06X } /* WARNING: "
"UNIMPLEMENTED ROOM COMMAND */",
GetCommandHex().c_str(), cmdArg1, cmdArg2);
}
RoomCommand ZRoomCommandUnk::GetRoomCommand() const
{
return RoomCommand::Error;
}