mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-13 00:40:53 +01:00
39 lines
991 B
C
39 lines
991 B
C
#pragma once
|
|
|
|
#include "ExtraData.h"
|
|
#include <Misc/BSFixedString.h>
|
|
#include <Components/TESDescription.h>
|
|
|
|
struct BGSMessage : TESForm, TESFullName, TESDescription
|
|
{
|
|
void* pIcon;
|
|
void* pOwnerQuest;
|
|
uint8_t menuButtons[0x10];
|
|
uint32_t uiFlags;
|
|
uint32_t uiDisplayTime;
|
|
};
|
|
|
|
static_assert(sizeof(BGSMessage) == 0x68);
|
|
|
|
struct ExtraTextDisplayData : BSExtraData
|
|
{
|
|
inline static constexpr auto eExtraData = ExtraDataType::TextDisplayData;
|
|
|
|
BSFixedString DisplayName{};
|
|
BGSMessage* pDisplayNameText{};
|
|
TESQuest* pOwnerQuest{};
|
|
int32_t iOwnerInstance{};
|
|
float fTemperFactor{};
|
|
uint16_t usCustomNameLength{};
|
|
|
|
// TODO: implement the rest when i dont feel lazy
|
|
/*
|
|
BGSMessage *pDisplayNameText;
|
|
TESQuest *pOwnerQuest;
|
|
uint32_t uiOwnerInstance;
|
|
BSTArray<BSTTuple<BSFixedString,TESForm *>,BSTArrayHeapAllocator> *pTextPairA;
|
|
unsigned __int16 usCustomNameLength;
|
|
*/
|
|
};
|
|
|
|
static_assert(sizeof(ExtraTextDisplayData) == 0x38);
|