CommonLibSSE (Parapets fork)
IAIWorldLocationHandle.h
Go to the documentation of this file.
1 #pragma once
2 
3 namespace RE
4 {
5  class IAIWorldLocation;
6  class PackageLocation;
7  class TESObjectREFR;
8  struct AIWorldLocationContext;
9 
11  {
12  public:
13  inline static constexpr auto RTTI = RTTI_IAIWorldLocationHandle;
14 
15  virtual ~IAIWorldLocationHandle(); // 00
16 
17  // add
18  virtual const IAIWorldLocation* AllocateLocation(AIWorldLocationContext* a_context) = 0; // 01
19  virtual PackageLocation* GetAsPackageLocation(); // 02 - { return 0; }
20  virtual bool IsRefAtLocation(AIWorldLocationContext* a_context, TESObjectREFR* a_ref) = 0; // 03
21  };
22  static_assert(sizeof(IAIWorldLocationHandle) == 0x8);
23 }
Definition: IAIWorldLocationHandle.h:11
virtual PackageLocation * GetAsPackageLocation()
virtual bool IsRefAtLocation(AIWorldLocationContext *a_context, TESObjectREFR *a_ref)=0
static constexpr auto RTTI
Definition: IAIWorldLocationHandle.h:13
virtual const IAIWorldLocation * AllocateLocation(AIWorldLocationContext *a_context)=0
Definition: PackageLocation.h:11
Definition: TESObjectREFR.h:105
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_IAIWorldLocationHandle
Definition: Offsets_RTTI.h:4904