CommonLibSSE (Parapets fork)
GFxMovieDefImpl.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/G/GAtomic.h"
5 #include "RE/G/GFxMovieDef.h"
6 #include "RE/G/GFxResource.h"
7 #include "RE/G/GFxResourceKey.h"
8 #include "RE/G/GFxResourceLib.h"
9 #include "RE/G/GPtr.h"
10 #include "RE/G/GRefCountBase.h"
11 #include "RE/G/GStats.h"
12 
13 namespace RE
14 {
16  {
17  public:
18  struct ImportData;
19 
21  {
24  };
25 
26  struct ImportData
27  {
28  GMemoryHeap* heap; // 00
29  std::uint32_t importCount; // 08
30  std::uint32_t pad0C; // 0C
32  GLock lock; // 18
33  bool hasImports; // 40
34  std::uint8_t pad41; // 41
35  std::uint16_t pad42; // 42
36  std::uint32_t pad44; // 44
38  };
39  static_assert(sizeof(ImportData) == 0x50);
40 
41  class BindTaskData : public GRefCountBase<BindTaskData, GStatGroups::kGStat_Default_Mem>
42  {
43  public:
44  virtual ~BindTaskData(); // 00
45 
46  // members
50  std::uint32_t unk28; // 28
51  std::uint32_t pad2C; // 2C
54  GLock lock; // 98
55  std::uint64_t unkC0; // C0
56  std::uint64_t unkC8; // C8
57  std::uint64_t unkD0; // D0
58  std::uint32_t taskState; // D8
59  std::uint32_t padDC; // DC
61  std::uint32_t loadingFrame; // E8
62  std::uint32_t bytesLoaded; // EC
63  bool hasError; // F0
64  std::uint8_t padF1; // F1
65  std::uint16_t padF2; // F2
66  std::uint32_t padF4; // F4
67  };
68  static_assert(sizeof(BindTaskData) == 0xF8);
69 
70  virtual ~GFxMovieDefImpl(); // 00
71 
72  // add
73  virtual GFxResource* GetFont(const char* a_name, std::uint32_t a_fontFlags, std::int32_t& a_arg3); // 1C
74 
75  // members
77  void* unk28; // 28
80  };
81  static_assert(sizeof(GFxMovieDefImpl) == 0x40);
82 }
Definition: GArray.h:13
Definition: GFxMovieDataDef.h:89
Definition: GFxMovieDefImpl.h:42
GLock lock
Definition: GFxMovieDefImpl.h:54
GArray< GFxMovieDef * > importedMovies
Definition: GFxMovieDefImpl.h:53
GPtr< GFxLoadUpdateSync > updateSync
Definition: GFxMovieDefImpl.h:60
bool hasError
Definition: GFxMovieDefImpl.h:63
std::uint64_t unkC0
Definition: GFxMovieDefImpl.h:55
std::uint16_t padF2
Definition: GFxMovieDefImpl.h:65
std::uint8_t padF1
Definition: GFxMovieDefImpl.h:64
std::uint32_t padDC
Definition: GFxMovieDefImpl.h:59
std::uint32_t unk28
Definition: GFxMovieDefImpl.h:50
ImportData importData
Definition: GFxMovieDefImpl.h:52
std::uint64_t unkD0
Definition: GFxMovieDefImpl.h:57
GFxMovieDefImpl * unk20
Definition: GFxMovieDefImpl.h:49
std::uint32_t pad2C
Definition: GFxMovieDefImpl.h:51
std::uint32_t bytesLoaded
Definition: GFxMovieDefImpl.h:62
std::uint64_t unkC8
Definition: GFxMovieDefImpl.h:56
std::uint32_t taskState
Definition: GFxMovieDefImpl.h:58
GMemoryHeap * bindDataHeap
Definition: GFxMovieDefImpl.h:47
GFxMovieDataDef * movieDataResource
Definition: GFxMovieDefImpl.h:48
std::uint32_t padF4
Definition: GFxMovieDefImpl.h:66
std::uint32_t loadingFrame
Definition: GFxMovieDefImpl.h:61
Definition: GFxMovieDefImpl.h:16
GPtr< GFxMovieDefBindStates > movieBindStates
Definition: GFxMovieDefImpl.h:78
GPtr< BindTaskData > bindTaskData
Definition: GFxMovieDefImpl.h:79
virtual GFxResource * GetFont(const char *a_name, std::uint32_t a_fontFlags, std::int32_t &a_arg3)
void * unk28
Definition: GFxMovieDefImpl.h:77
GPtr< GFxStateBagImpl > stateBagImpl
Definition: GFxMovieDefImpl.h:76
virtual ~GFxMovieDefImpl()
Definition: GFxMovieDef.h:21
Definition: GFxResource.h:15
Definition: GAtomic.h:6
Definition: GMemoryHeap.h:16
Definition: GPtr.h:7
Definition: GRefCountBase.h:12
Definition: AbsorbEffect.h:6
Definition: GFxMovieDefImpl.h:27
ImportedResource * resourceArray
Definition: GFxMovieDefImpl.h:31
GLock lock
Definition: GFxMovieDefImpl.h:32
GFxMovieDef * movieDef
Definition: GFxMovieDefImpl.h:37
GMemoryHeap * heap
Definition: GFxMovieDefImpl.h:28
std::uint16_t pad42
Definition: GFxMovieDefImpl.h:35
std::uint32_t pad0C
Definition: GFxMovieDefImpl.h:30
std::uint32_t importCount
Definition: GFxMovieDefImpl.h:29
bool hasImports
Definition: GFxMovieDefImpl.h:33
std::uint32_t pad44
Definition: GFxMovieDefImpl.h:36
std::uint8_t pad41
Definition: GFxMovieDefImpl.h:34
Definition: GFxMovieDefImpl.h:21
GPtr< GFxResource > resource
Definition: GFxMovieDefImpl.h:22
ImportData * importData
Definition: GFxMovieDefImpl.h:23