metaforce/DataSpec/DNAMP1/ScriptObjects/SpecialFunction.hpp

32 lines
840 B
C++
Raw Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
2015-09-10 20:30:35 +00:00
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
2018-12-08 05:30:43 +00:00
namespace DataSpec::DNAMP1 {
struct SpecialFunction : IScriptObject {
AT_DECL_DNA_YAML
AT_DECL_DNAV
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<ESpecialFunctionType> function;
String<-1> unknown1;
Value<float> unknown2;
Value<float> unknown3;
Value<float> unknown4;
struct LayerSwitch : BigDNA {
AT_DECL_DNA
Value<atUint32> area;
Value<atUint32> layerIdx;
} layerSwitch;
Value<EPickupType> pickup;
Value<bool> unknown5;
Value<float> unknown6;
Value<atUint32> unknown7; // Used by SpinnerController 1
Value<atUint32> unknown8; // Used by SpinnerController 2
Value<atUint32> unknown9; // Used by SpinnerController 3
2015-09-10 20:30:35 +00:00
};
2018-12-08 05:30:43 +00:00
} // namespace DataSpec::DNAMP1