2018-02-22 07:24:51 +00:00
|
|
|
#include "Oculus.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 Oculus::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{"location"}, location, s);
|
|
|
|
Do<Op>(athena::io::PropId{"orientation"}, orientation, s);
|
|
|
|
Do<Op>(athena::io::PropId{"scale"}, scale, s);
|
|
|
|
Do<Op>(athena::io::PropId{"patternedInfo"}, patternedInfo, s);
|
|
|
|
Do<Op>(athena::io::PropId{"actorParameters"}, actorParameters, s);
|
|
|
|
Do<Op>(athena::io::PropId{"unknown1"}, unknown1, s);
|
|
|
|
Do<Op>(athena::io::PropId{"unknown2"}, unknown2, s);
|
|
|
|
Do<Op>(athena::io::PropId{"unknown3"}, unknown3, s);
|
|
|
|
Do<Op>(athena::io::PropId{"unknown4"}, unknown4, s);
|
|
|
|
Do<Op>(athena::io::PropId{"unknown5"}, unknown5, s);
|
|
|
|
Do<Op>(athena::io::PropId{"unknown6"}, unknown6, s);
|
|
|
|
Do<Op>(athena::io::PropId{"damageVulnerabilty"}, damageVulnerabilty, s);
|
|
|
|
Do<Op>(athena::io::PropId{"unknown7"}, unknown7, s);
|
|
|
|
Do<Op>(athena::io::PropId{"damageInfo"}, damageInfo, s);
|
2018-12-08 05:30:43 +00:00
|
|
|
if (propertyCount == 16)
|
2019-08-27 03:02:31 +00:00
|
|
|
Do<Op>(athena::io::PropId{"unknown8"}, unknown8, s);
|
2018-12-08 05:30:43 +00:00
|
|
|
else
|
|
|
|
unknown8 = 0.f;
|
2018-02-22 07:24:51 +00:00
|
|
|
}
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
const char* Oculus::DNAType() { return "urde::DNAMP1::Oculus"; }
|
2018-02-22 07:24:51 +00:00
|
|
|
|
|
|
|
AT_SPECIALIZE_DNA_YAML(Oculus)
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
} // namespace DataSpec::DNAMP1
|