#pragma once #include "../../DNACommon/DNACommon.hpp" #include "IScriptObject.hpp" #include "Parameters.hpp" namespace DataSpec::DNAMP1 { struct NewCameraShaker : IScriptObject { AT_DECL_DNA_YAMLV String<-1> name; Value location; Value active; PropertyFlags flags; Value duration; Value sfxDist; struct CameraShakerComponent : BigDNA { AT_DECL_DNA PropertyFlags flags; struct CameraShakePoint : BigDNA { AT_DECL_DNA PropertyFlags flags; Value attackTime; Value sustainTime; Value duration; Value magnitude; }; CameraShakePoint am; CameraShakePoint fm; } shakerComponents[3]; }; } // namespace DataSpec::DNAMP1