F4MP/tiltedcode/Code/client/Games/Skyrim/Misc/BSFixedString.cpp
Jous99 37b16f1547 code upload
codigo original de f4mp y tilted para referencias
2026-01-06 18:45:00 +01:00

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);
}