<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>ChannelFlags on StompyMUX Documentation</title><link>https://stompymux.com/docs/scripting/packages/mux/comsys/type-channel-flags/</link><description>Recent content in ChannelFlags on StompyMUX Documentation</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://stompymux.com/docs/scripting/packages/mux/comsys/type-channel-flags/index.xml" rel="self" type="application/rss+xml"/><item><title>add</title><link>https://stompymux.com/docs/scripting/packages/mux/comsys/type-channel-flags/add/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://stompymux.com/docs/scripting/packages/mux/comsys/type-channel-flags/add/</guid><description>&lt;p&gt;Sets a typed channel flag.&lt;/p&gt;
&lt;h2 id="function"&gt;Function&lt;/h2&gt;
&lt;h3 id="synopsis"&gt;Synopsis&lt;/h3&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-lua" data-lang="lua"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;channel_flags:add( flag )
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id="arguments"&gt;Arguments&lt;/h3&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;ChannelFlag flag&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;A constant from &lt;a href="../../flags/"&gt;&lt;code&gt;mux.comsys.flags&lt;/code&gt;&lt;/a&gt;.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id="returns"&gt;Returns&lt;/h3&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;boolean changed&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;code&gt;true&lt;/code&gt; when the flag was newly set and &lt;code&gt;false&lt;/code&gt; when it was already set.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id="raises"&gt;Raises&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;mux.unavailable.checking&lt;/code&gt; during &lt;code&gt;@lua/check&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;mux.channel.invalid&lt;/code&gt; if the originating channel was destroyed.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;mux.channel_flag.invalid&lt;/code&gt; if &lt;code&gt;flag&lt;/code&gt; is not a typed constant from this Lua
runtime.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="notes"&gt;Notes&lt;/h2&gt;
&lt;p&gt;Flag changes take effect immediately and are not part of the Lua State
transaction.&lt;/p&gt;</description></item><item><title>has</title><link>https://stompymux.com/docs/scripting/packages/mux/comsys/type-channel-flags/has/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://stompymux.com/docs/scripting/packages/mux/comsys/type-channel-flags/has/</guid><description>&lt;p&gt;Tests whether the channel has a typed flag.&lt;/p&gt;
&lt;h2 id="function"&gt;Function&lt;/h2&gt;
&lt;h3 id="synopsis"&gt;Synopsis&lt;/h3&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-lua" data-lang="lua"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;channel_flags:has( flag )
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id="arguments"&gt;Arguments&lt;/h3&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;ChannelFlag flag&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;A constant from &lt;a href="../../flags/"&gt;&lt;code&gt;mux.comsys.flags&lt;/code&gt;&lt;/a&gt;.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id="returns"&gt;Returns&lt;/h3&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;boolean present&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;code&gt;true&lt;/code&gt; when the flag is set, otherwise &lt;code&gt;false&lt;/code&gt;.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id="raises"&gt;Raises&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;mux.unavailable.checking&lt;/code&gt; during &lt;code&gt;@lua/check&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;mux.channel.invalid&lt;/code&gt; if the originating channel was destroyed.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;mux.channel_flag.invalid&lt;/code&gt; if &lt;code&gt;flag&lt;/code&gt; is not a typed constant from this Lua
runtime.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="see-also"&gt;See Also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="../../../"&gt;&lt;code&gt;mux&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="../"&gt;&lt;code&gt;ChannelFlags&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="../add/"&gt;&lt;code&gt;ChannelFlags:add&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>list</title><link>https://stompymux.com/docs/scripting/packages/mux/comsys/type-channel-flags/list/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://stompymux.com/docs/scripting/packages/mux/comsys/type-channel-flags/list/</guid><description>&lt;p&gt;Lists the flags currently set on the channel.&lt;/p&gt;
&lt;h2 id="function"&gt;Function&lt;/h2&gt;
&lt;h3 id="synopsis"&gt;Synopsis&lt;/h3&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-lua" data-lang="lua"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;channel_flags:list( )
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id="arguments"&gt;Arguments&lt;/h3&gt;
&lt;p&gt;None.&lt;/p&gt;
&lt;h3 id="returns"&gt;Returns&lt;/h3&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;ChannelFlag[] flags&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;A dense array of set constants in &lt;code&gt;PUBLIC&lt;/code&gt;, &lt;code&gt;LOUD&lt;/code&gt;, &lt;code&gt;TRANSPARENT&lt;/code&gt; order.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id="raises"&gt;Raises&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;mux.unavailable.checking&lt;/code&gt; during &lt;code&gt;@lua/check&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;mux.channel.invalid&lt;/code&gt; if the originating channel was destroyed.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="see-also"&gt;See Also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="../../../"&gt;&lt;code&gt;mux&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="../"&gt;&lt;code&gt;ChannelFlags&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="../../flags/"&gt;&lt;code&gt;mux.comsys.flags&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>remove</title><link>https://stompymux.com/docs/scripting/packages/mux/comsys/type-channel-flags/remove/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://stompymux.com/docs/scripting/packages/mux/comsys/type-channel-flags/remove/</guid><description>&lt;p&gt;Clears a typed channel flag.&lt;/p&gt;
&lt;h2 id="function"&gt;Function&lt;/h2&gt;
&lt;h3 id="synopsis"&gt;Synopsis&lt;/h3&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-lua" data-lang="lua"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;channel_flags:remove( flag )
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id="arguments"&gt;Arguments&lt;/h3&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;ChannelFlag flag&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;A constant from &lt;a href="../../flags/"&gt;&lt;code&gt;mux.comsys.flags&lt;/code&gt;&lt;/a&gt;.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id="returns"&gt;Returns&lt;/h3&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;boolean changed&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;code&gt;true&lt;/code&gt; when the flag was cleared and &lt;code&gt;false&lt;/code&gt; when it was already clear.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id="raises"&gt;Raises&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;mux.unavailable.checking&lt;/code&gt; during &lt;code&gt;@lua/check&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;mux.channel.invalid&lt;/code&gt; if the originating channel was destroyed.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;mux.channel_flag.invalid&lt;/code&gt; if &lt;code&gt;flag&lt;/code&gt; is not a typed constant from this Lua
runtime.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="notes"&gt;Notes&lt;/h2&gt;
&lt;p&gt;Flag changes take effect immediately and are not part of the Lua State
transaction.&lt;/p&gt;</description></item></channel></rss>