CommonLibSSE (powerof3)
ReferenceEffectController.h
Go to the documentation of this file.
1 #pragma once
2 
3 namespace RE
4 {
5  class BGSArtObject;
6  class BGSLoadGameBuffer;
7  class BGSSaveGameBuffer;
8  class NiAVObject;
9  class NiPoint3;
10  class ReferenceEffect;
11  class TESEffectShader;
12  class TESObjectREFR;
13 
15  {
16  public:
17  inline static constexpr auto RTTI = RTTI_ReferenceEffectController;
18 
19  virtual ~ReferenceEffectController(); // 00
20 
21  // add
22  virtual void Unk_01(void); // 01 - { return; }
23  virtual void Unk_02(void); // 02 - { return 0.0; }
24  virtual void Unk_03(void); // 03 - { return 1.0; }
25  virtual void Unk_04(void); // 04 - { return; }
26  virtual const NiPoint3& GetSourcePosition(); // 05 - { return NiPoint3(); }
27  virtual bool GetUseSourcePosition(); // 06 - { return true; }
28  virtual bool GetNoInitialFlare(); // 07 - { return false; }
29  virtual bool GetEffectPersists(); // 08 - { return true; }
30  virtual bool GetGoryVisuals(); // 09 - { return false; }
31  virtual void RemoveHitEffect(ReferenceEffect* a_refEffect); // 0A - { return; }
32  virtual TESObjectREFR* GetTargetReference() = 0; // 0B
33  virtual BGSArtObject* GetHitEffectArt() = 0; // 0C
34  virtual TESEffectShader* GetHitEffectShader() = 0; // 0D
35  virtual bool GetManagerHandlesSaveLoad() = 0; // 0E
36  virtual NiAVObject* GetAttachRoot(); // 0F - { auto ref = GetTargetReference(); return ref ? ref->Get3D() : 0; }
37  virtual float GetParticleAttachExtent(); // 10 - { return 0.0; }
38  virtual bool GetUseParticleAttachExtent(); // 11 - { return false; }
39  virtual bool GetDoParticles(); // 12 - { return true; }
40  virtual bool GetParticlesUseLocalSpace(); // 13 - { return false; }
41  virtual bool GetUseRootWorldRotate(); // 14 - { return false; }
42  virtual bool GetIsRootActor(); // 15 - { auto ref = GetTargetReference(); return ref ? ref->formType = FormType::ActorCharacter : false; }
43  virtual bool GetClearWhenCellIsUnloaded(); // 16 - { return false; }
44  virtual bool EffectShouldFaceTarget(); // 17 - { return false; }
45  virtual TESObjectREFR* GetFacingTarget(); // 18 - { return 0; }
46  virtual bool GetShaderUseParentCell(); // 19 - { return true; }
47  virtual bool EffectAttachesToCamera(); // 1A - { return false; }
48  virtual bool EffectRotatesWithCamera(); // 1B - { return false; }
49  virtual bool GetAllowTargetRoot(); // 1C - { return true; }
50  virtual bool IsReadyForAttach(); // 1D - { return true; }
51  virtual void SetWindPoint(const NiPoint3& a_point); // 1E - { return; }
52  virtual const NiPoint3& GetWindPoint(); // 1F - { return NiPoint3(); }
53  virtual bool GetAllowNo3D(); // 20 - { return false; }
54  virtual void SaveGame(BGSSaveGameBuffer* a_buf); // 21 - { return; }
55  virtual void LoadGame(BGSLoadGameBuffer* a_buf); // 22 - { return; }
56  };
57  static_assert(sizeof(ReferenceEffectController) == 0x8);
58 }
Definition: BGSArtObject.h:12
Definition: NiAVObject.h:45
Definition: NiPoint3.h:6
Definition: ReferenceEffectController.h:15
virtual bool GetUseRootWorldRotate()
virtual bool EffectShouldFaceTarget()
virtual bool GetParticlesUseLocalSpace()
virtual const NiPoint3 & GetWindPoint()
virtual BGSArtObject * GetHitEffectArt()=0
virtual bool GetAllowTargetRoot()
virtual void RemoveHitEffect(ReferenceEffect *a_refEffect)
virtual TESObjectREFR * GetTargetReference()=0
virtual bool EffectAttachesToCamera()
virtual bool GetNoInitialFlare()
virtual void SaveGame(BGSSaveGameBuffer *a_buf)
virtual TESObjectREFR * GetFacingTarget()
virtual bool GetShaderUseParentCell()
virtual bool GetUseParticleAttachExtent()
virtual bool GetUseSourcePosition()
virtual void Unk_02(void)
virtual bool GetEffectPersists()
virtual bool EffectRotatesWithCamera()
virtual bool GetClearWhenCellIsUnloaded()
virtual void LoadGame(BGSLoadGameBuffer *a_buf)
virtual void Unk_04(void)
virtual TESEffectShader * GetHitEffectShader()=0
virtual void Unk_01(void)
virtual void Unk_03(void)
virtual void SetWindPoint(const NiPoint3 &a_point)
virtual NiAVObject * GetAttachRoot()
static constexpr auto RTTI
Definition: ReferenceEffectController.h:17
virtual const NiPoint3 & GetSourcePosition()
virtual float GetParticleAttachExtent()
virtual bool GetManagerHandlesSaveLoad()=0
Definition: ReferenceEffect.h:11
Definition: TESEffectShader.h:171
Definition: TESObjectREFR.h:103
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_ReferenceEffectController
Definition: Offsets_RTTI.h:5772