2018-02-22 07:24:51 +00:00
|
|
|
#include "WorldTeleporter.hpp"
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
namespace DataSpec::DNAMP1 {
|
2018-02-22 07:24:51 +00:00
|
|
|
|
|
|
|
template <class Op>
|
2018-12-08 05:30:43 +00:00
|
|
|
void WorldTeleporter::Enumerate(typename Op::StreamT& s) {
|
|
|
|
IScriptObject::Enumerate<Op>(s);
|
2019-08-27 03:02:31 +00:00
|
|
|
Do<Op>(athena::io::PropId{"name"}, name, s);
|
|
|
|
Do<Op>(athena::io::PropId{"active"}, active, s);
|
|
|
|
Do<Op>(athena::io::PropId{"mlvl"}, mlvl, s);
|
|
|
|
Do<Op>(athena::io::PropId{"mrea"}, mrea, s);
|
|
|
|
Do<Op>(athena::io::PropId{"animationParameters"}, animationParameters, s);
|
|
|
|
Do<Op>(athena::io::PropId{"playerScale"}, playerScale, s);
|
|
|
|
Do<Op>(athena::io::PropId{"platformModel"}, platformModel, s);
|
|
|
|
Do<Op>(athena::io::PropId{"platformScale"}, platformScale, s);
|
|
|
|
Do<Op>(athena::io::PropId{"blackgroundModel"}, backgroundModel, s);
|
|
|
|
Do<Op>(athena::io::PropId{"backgroundScale"}, backgroundScale, s);
|
|
|
|
Do<Op>(athena::io::PropId{"upElevator"}, upElevator, s);
|
|
|
|
Do<Op>(athena::io::PropId{"elevatorSound"}, elevatorSound, s);
|
|
|
|
Do<Op>(athena::io::PropId{"volume"}, volume, s);
|
|
|
|
Do<Op>(athena::io::PropId{"panning"}, panning, s);
|
|
|
|
Do<Op>(athena::io::PropId{"showText"}, showText, s);
|
|
|
|
Do<Op>(athena::io::PropId{"font"}, font, s);
|
|
|
|
Do<Op>(athena::io::PropId{"strg"}, strg, s);
|
|
|
|
Do<Op>(athena::io::PropId{"fadeWhite"}, fadeWhite, s);
|
|
|
|
Do<Op>(athena::io::PropId{"charFadeInTime"}, charFadeInTime, s);
|
|
|
|
Do<Op>(athena::io::PropId{"charsPerSecond"}, charsPerSecond, s);
|
|
|
|
Do<Op>(athena::io::PropId{"showDelay"}, showDelay, s);
|
2018-02-22 07:24:51 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
if (propertyCount == 26) {
|
2019-08-27 03:02:31 +00:00
|
|
|
Do<Op>(athena::io::PropId{"audioStream"}, audioStream, s);
|
|
|
|
Do<Op>(athena::io::PropId{"unknown13"}, unknown13, s);
|
|
|
|
Do<Op>(athena::io::PropId{"unknown14"}, unknown14, s);
|
|
|
|
Do<Op>(athena::io::PropId{"unknown15"}, unknown15, s);
|
|
|
|
Do<Op>(athena::io::PropId{"unknown16"}, unknown16, s);
|
2018-12-08 05:30:43 +00:00
|
|
|
} else {
|
|
|
|
unknown13 = false;
|
|
|
|
unknown14 = 0.0;
|
|
|
|
unknown15 = 0.0;
|
|
|
|
unknown16 = 0.0;
|
|
|
|
}
|
2018-02-22 07:24:51 +00:00
|
|
|
}
|
|
|
|
|
2021-04-10 08:42:06 +00:00
|
|
|
std::string_view WorldTeleporter::DNAType() { return "DNAMP1::WorldTeleporter"sv; }
|
2018-02-22 07:24:51 +00:00
|
|
|
|
|
|
|
AT_SPECIALIZE_DNA_YAML(WorldTeleporter)
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
} // namespace DataSpec::DNAMP1
|