docs: add plugin setup guide
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
#pragma once
|
||||
|
||||
#include "RE/B/BSTEvent.h"
|
||||
#include "RE/P/PipboyDataGroup.h"
|
||||
|
||||
namespace RE
|
||||
{
|
||||
namespace ActorValueEvents
|
||||
{
|
||||
class ActorValueChangedEvent;
|
||||
}
|
||||
|
||||
class __declspec(novtable) PipboySpecialData :
|
||||
public PipboyDataGroup, // 00
|
||||
public BSTEventSink<ActorValueEvents::ActorValueChangedEvent> // 98
|
||||
{
|
||||
public:
|
||||
static constexpr auto RTTI{ RTTI::PipboySpecialData };
|
||||
static constexpr auto VTABLE{ VTABLE::PipboySpecialData };
|
||||
|
||||
virtual ~PipboySpecialData();
|
||||
|
||||
// override
|
||||
virtual void Populate(bool a_arg1) override; // 01
|
||||
virtual void DoClearData() override; // 02
|
||||
virtual void DoClearSink() override; // 03
|
||||
|
||||
// add
|
||||
virtual BSEventNotifyControl ProcessEvent(const ActorValueEvents::ActorValueChangedEvent& a_event, BSTEventSource<ActorValueEvents::ActorValueChangedEvent>* a_source); // 04
|
||||
|
||||
// members
|
||||
PipboyArray* specialsArray; // A0
|
||||
};
|
||||
static_assert(sizeof(PipboySpecialData) == 0xA8);
|
||||
}
|
||||
Reference in New Issue
Block a user