Advertisement
powerofthree

Untitled

Feb 17th, 2020
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 4.96 KB | None | 0 0
  1. #pragma once
  2.  
  3. #include "RE/NiPoint3.h"
  4. #include "RE/BSPointerHandle.h"
  5. #include "RE/CombatGroupDetectionListener.h"
  6.  
  7. namespace RE
  8. {
  9.     class BSPathingLOSGridMap;
  10.    
  11.     class CombatGroup
  12.     {
  13.     public:
  14.  
  15.         struct TargetData
  16.         {
  17.             ActorHandle target;         // 00
  18.             SInt32      detectLevel;    // 04 | -1000
  19.             float       stealthPoints;  // 08 | fCombatStealthPointMax - 1.0
  20.             UInt32      unk0C;          // 0C
  21.             NiPoint3    unk10;          // 10
  22.             UInt64      unk20;          // 20
  23.             NiPoint3    unk28;          // 28
  24.             UInt64      unk38;          // 38
  25.             NiPoint3    unk40;          // 40
  26.             UInt64      unk50;          // 50
  27.             NiPoint3    unk58;          // 58
  28.             UInt64      unk68;          // 68
  29.             NiPoint3    unk70;          // 70
  30.             UInt64      unk80;          // 80
  31.             float       unk88;          // 88
  32.             float       unk8C;          // 8C
  33.             float       unk90;          // 9C
  34.             float       unk94;          // 94
  35.             float       unk98;          // 98
  36.             float       unk9C;          // 9C
  37.             ActorHandle unkA0;          // A0
  38.             UInt16      unkA4;          // A4 | target count
  39.             UInt8       unkA6;          // A6 | flags
  40.             UInt8       unkA7;          // A7
  41.         };
  42.         STATIC_ASSERT(sizeof(TargetData) == 0xA8);
  43.  
  44.  
  45.         struct MemberData
  46.         {
  47.             ActorHandle member; // 00
  48.             float       unk04;  // 04
  49.             float       unk08;  // 08
  50.         };
  51.         STATIC_ASSERT(sizeof(MemberData) == 0x0C);
  52.        
  53.        
  54.         struct Data120
  55.         {
  56.             NiPoint3    unk00;  // 00
  57.             UInt32      unk04;  // 04
  58.             TESForm*    unk10;  // 10
  59.             float       unk18;  // 18
  60.             float       unk20;  // 1C
  61.         }; 
  62.         STATIC_ASSERT(sizeof(Data120) == 0x20);
  63.        
  64.  
  65.         virtual ~CombatGroup();                                 // 00
  66.  
  67.         // members
  68.         UInt16                          index;                  // 000
  69.         UInt32                          groupCount;             // 004
  70.         BSTArray<TargetData>            targets;                // 008
  71.         BSTArray<MemberData>            members;                // 020
  72.         CombatGroupDetectionListener*   detectionListener;      // 038
  73.         UInt64                          unk40;                  // 040
  74.         UInt64                          unk48;                  // 048
  75.         UInt64                          unk50;                  // 050
  76.         UInt64                          unk58[11];              // 058
  77.         float                           timer;                  // 0B0
  78.         float                           unkB4;                  // 0B4
  79.         UInt64                          unkB8;                  // 0B8
  80.         UInt64                          unkC0;                  // 0C0
  81.         float                           unkC8;                  // 0C8
  82.         float                           unkCC;                  // 0CC
  83.         float                           unkD0;                  // 0D0
  84.         float                           unkD4;                  // 0D4
  85.         UInt32                          unkD8;                  // 0D8
  86.         UInt32                          unkDC;                  // 0DC
  87.         BSPathingLOSGridMap*            unkE0;                  // 0E0
  88.         UInt64                          unkE8;                  // 0E8
  89.         UInt64                          unkF0;                  // 0F0
  90.         float                           unkF8;                  // 0F8
  91.         ActorHandle                     unkFC;                  // 0FC
  92.         NiPoint3                        unk100;                 // 100
  93.         UInt32                          unk10C;                 // 10C
  94.         UInt64                          unk110;                 // 110
  95.         UInt32                          unk118;                 // 118
  96.         UInt32                          unk11C;                 // 11C
  97.         BSTArray<Data120>               unk120;                 // 120
  98.         BSTArray<void*>                 unk138;                 // 138
  99.         UInt32                          unk150;                 // 150
  100.         UInt32                          unk154;                 // 154
  101.         UInt32                          unk158;                 // 158
  102.         UInt8                           unk15C;                 // 15C
  103.         UInt8                           unk15D;                 // 15D
  104.         UInt8                           unk15E;                 // 15E
  105.         UInt8                           unk15F;                 // 15F
  106.         BSReadWriteLock                 unk160;                 // 160
  107.  
  108.     };
  109.     //static_assert(offsetof(CombatGroup, unk160) == 0x160);
  110.     //STATIC_ASSERT(sizeof(CombatGroup) == 0x168);
  111. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement