#include <LinkerPlaceholderBase.h>
◆ AddDerivedFunction()
Records a child placeholder object. Not needed except for validiation purposes, since both the child object and this are placeholders: Records a derived function, which will have a reference back to its (placeholder) parent function. We need to update the derived function when the parent finishes loading.
◆ AddReferencingProperty()
Records the supplied property so that we can later replace it's references to this placeholder with another (real) object.
- Parameters
-
| ReferencingProperty | A property that references this placeholder. |
◆ AddReferencingScriptExpr()
Records a raw pointer, directly to the UObject* script expression (so that we can switch-out its value in ResolveScriptReferences).
NOTE: We don't worry about creating some kind of weak ref to the script pointer (or facilitate a way for this tracked reference to be removed). We're not worried about the script ref being deleted before we call ResolveScriptReferences (because we expect that to do this all within the same frame; before GC can be ran).
- Parameters
-
| ExpressionPtr | A direct pointer to the UObject* that is now referencing this placeholder. |
◆ HasKnownReferences()
A query method that let's us check to see if this class is currently being referenced by anything (if this returns false, then a referencing property could have forgotten to add itself... or, we've replaced all references).
- Returns
- True if this has anything stored in its ReferencingProperties container, otherwise false.
Reimplemented from FLinkerPlaceholderBase.
◆ RemoveReferencingProperty()
Removes the specified property from this class's internal tracking list (which aims to keep track of properties utilizing this placeholder).
- Parameters
-
| ReferencingProperty | A property that used to use this placeholder and now no longer does. |
◆ ResolveAllPlaceholderReferences()
Iterates over all known referencers and attempts to replace their references to this with a new (hopefully proper) UObject.
- Parameters
-
| ReplacementObj | The object that you want all references to this replaced with. |
- Returns
- The number of references that were successfully replaced.
Reimplemented from FLinkerPlaceholderBase.
The documentation for this class was generated from the following files: