Revision Difference
util.FilterText#546489
<function name="FilterText" parent="util" type="libraryfunc">⤶
<description>⤶
Filters given text using Steam's filtering system. The function will obey local client's Steam settings for chat filtering:⤶
⤶
<upload src="70c/8d9e680b626348b.png" size="50426" name="image.png" />⤶
</description>⤶
<added>2022.02.02</added>⤶
<realm>Client</realm>⤶
<args>⤶
<arg name="str" type="string">String to filter.</arg>⤶
<arg name="context" type="number" default="TEXT_FILTER_UNKNOWN">Filtering context. See <page>Enums/TEXT_FILTER</page>.</arg>⤶
<arg name="player" type="Player" default="nil">Used to determine if the text should be filtered according to local user's Steam chat filtering settings.</arg>⤶
</args>⤶
<rets>⤶
<ret name="" type="string">The filtered text based on given settings.</ret>⤶
</rets>⤶
</function>⤶
⤶