mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-13 17:00:54 +01:00
40 lines
819 B
C++
40 lines
819 B
C++
#include <TiltedOnlinePCH.h>
|
|
|
|
#include <Misc/BSFixedString.h>
|
|
|
|
BSFixedString::BSFixedString()
|
|
: data{nullptr}
|
|
{
|
|
}
|
|
|
|
BSFixedString::BSFixedString(const char* acpData)
|
|
{
|
|
TP_THIS_FUNCTION(TConstructor, void, BSFixedString, const char*);
|
|
|
|
POINTER_SKYRIMSE(TConstructor, s_constructor, 69161);
|
|
|
|
TiltedPhoques::ThisCall(s_constructor, this, acpData);
|
|
}
|
|
|
|
BSFixedString::~BSFixedString()
|
|
{
|
|
// Release();
|
|
}
|
|
|
|
void BSFixedString::Set(const char* acpData)
|
|
{
|
|
TP_THIS_FUNCTION(TSet, void, BSFixedString, const char*);
|
|
|
|
POINTER_SKYRIMSE(TSet, s_set, 69165);
|
|
|
|
TiltedPhoques::ThisCall(s_set, this, acpData);
|
|
}
|
|
|
|
void BSFixedString::Release() noexcept
|
|
{
|
|
TP_THIS_FUNCTION(TRelease, void, BSFixedString);
|
|
|
|
POINTER_SKYRIMSE(TRelease, s_release, 69192);
|
|
|
|
TiltedPhoques::ThisCall(s_release, this);
|
|
}
|