Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObjectBase
Description
Add a newly created object to the name hash tables and the object array
Add a newly created object to the name hash tables and the object array
| Name | AddObject |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectBase.h |
| Include Path | #include "UObject/UObjectBase.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectBase.cpp |
void AddObject
(
FName Name,
EInternalObjectFlags InSetInternalFlags,
int32 InInternalIndex,
int32 InSerialNumber,
FRemoteObjectId InRemoteId
)
Parameters
| Name | Remarks |
|---|---|
| Name | name to assign to this uobject |
| InSetInternalFlags | Internal object flags to be set on the object once it's been added to the array |
| InInternalIndex | already allocated internal index to use, negative value means allocate a new index |
| InSerialNumber | already allocated serial number to re-use |
| Name | name to assign to this uobject |