Revision Difference
GM:NotifyShouldTransmit#511149
<function name="NotifyShouldTransmit" parent="GM" type="hook">⤶
<ishook>yes</ishook>⤶
<description>⤶
Called whenever this entity changes its transmission state for this <page>Global.LocalPlayer</page>, such as exiting or re entering the PVS.⤶
⤶
<note>This is the best place to handle the reset of <page>Entity:SetPredictable</page>, as this would be usually called when the player lags and requests a full packet update</note>⤶
⤶
<note>When the entity stops transmitting, <page>Entity:IsDormant</page> will only return true **after** this hook</note>⤶
</description>⤶
<realm>Client</realm>⤶
<predicted>No</predicted>⤶
<args>⤶
<arg name="ent" type="Entity">The entity that changed its transmission state.</arg>⤶
<arg name="shouldtransmit" type="boolean">True if we started transmitting to this client and false if we stopped.</arg>⤶
</args>⤶
</function>⤶
⤶