2019-08-23 11:56:54 -07:00
|
|
|
#include "BfObjects.h"
|
|
|
|
|
|
|
|
USING_NS_BF;
|
|
|
|
|
|
|
|
Beefy::String bf::System::Object::GetTypeName()
|
|
|
|
{
|
2019-08-27 08:04:41 -07:00
|
|
|
String* strObj = BFRTCALLBACKS.String_Alloc();
|
|
|
|
Type* type = _GetType();
|
|
|
|
BFRTCALLBACKS.Type_GetFullName(type, strObj);
|
2024-03-17 06:26:38 -04:00
|
|
|
Beefy::String str(strObj->ToStringView());
|
2019-08-27 08:04:41 -07:00
|
|
|
BFRTCALLBACKS.Object_Delete(strObj);
|
2019-08-23 11:56:54 -07:00
|
|
|
return str;
|
|
|
|
}
|
|
|
|
|
|
|
|
Beefy::String bf::System::Type::GetFullName()
|
|
|
|
{
|
2019-08-27 08:04:41 -07:00
|
|
|
String* strObj = BFRTCALLBACKS.String_Alloc();
|
|
|
|
BFRTCALLBACKS.Type_GetFullName(this, strObj);
|
2024-03-17 06:26:38 -04:00
|
|
|
Beefy::String str(strObj->ToStringView());
|
2019-08-27 08:04:41 -07:00
|
|
|
BFRTCALLBACKS.Object_Delete(strObj);
|
2019-08-23 11:56:54 -07:00
|
|
|
return str;
|
|
|
|
}
|
2025-01-28 14:49:15 -08:00
|
|
|
|
|
|
|
bf::System::Type_NOFLAGS* bf::System::Type::GetTypeData()
|
|
|
|
{
|
|
|
|
if ((BFRTFLAGS & BfRtFlags_ObjectHasDebugFlags) != 0)
|
|
|
|
return BFRTCALLBACKS.ClassVData_GetTypeDataPtr((bf::System::ClassVData*)(mClassVData & ~0xFF));
|
|
|
|
else
|
|
|
|
return BFRTCALLBACKS.ClassVData_GetTypeDataPtr((bf::System::ClassVData*)(mClassVData));
|
|
|
|
}
|