Revision Difference
PANEL:LoadCookies#510942
<function name="LoadCookies" parent="PANEL" type="hook">⤶
<ishook>yes</ishook>⤶
<description>Called after <page>Panel:SetCookieName</page> is called on this panel to apply the just loaded cookie values for this panel.</description>⤶
<realm>Client</realm>⤶
<predicted>No</predicted>⤶
<hidepredictionwarning>No</hidepredictionwarning>⤶
</function>⤶
⤶
<example>⤶
<code>⤶
function PANEL:LoadCookies()⤶
⤶
local value = self:GetCookieNumber( "SavedCookieName", 0 )⤶
print( value )⤶
⤶
-- Do your stuff with the loaded value⤶
⤶
end⤶
</code>⤶
⤶
</example>