Aurora.ScriptEngine.AuroraDotNetEngine.APIs.LSL_Api.llShout C# (CSharp) Метод

llShout() публичный Метод

public llShout ( int channelID, string text ) : void
channelID int
text string
Результат void
        public void llShout(int channelID, string text)
        {
            if (!ScriptProtection.CheckThreatLevel(ThreatLevel.None, "LSL", m_host, "LSL", m_itemID)) return;

            if (text.Length > 1023)
                text = text.Substring(0, 1023);

            IChatModule chatModule = World.RequestModuleInterface<IChatModule>();
            if (chatModule != null)
                chatModule.SimChat(text, ChatTypeEnum.Shout, channelID,
                    m_host.ParentEntity.RootChild.AbsolutePosition, m_host.Name, m_host.UUID, true, World);

            if (m_comms != null)
                m_comms.DeliverMessage(ChatTypeEnum.Shout, channelID, m_host.Name, m_host.UUID, text);
        }
LSL_Api