Revision Difference
InvalidateInternalEntityCache#564935
<function name="InvalidateInternalEntityCache" parent="Global" type="libraryfunc">
<description>
<internal></internal>
Called by the engine before <page>GM:OnEntityCreated</page> or <page>GM:EntityRemoved</page> hooks are called.
Called by the engine before <page>GM:OnEntityCreated</page> and after <page>GM:EntityRemoved</page> hooks are called.
Internally used to clear the <page>player.Iterator</page> and <page>ents.Iterator</page> cache
</description>
<realm>Shared</realm>
<added>2025.06.12</added>
<args>
<arg name="ent" type="Entity">An entity that is about to be removed or that has just been created.</arg>
</args>
</function>