OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osSetStateEvents C# (CSharp) Method

osSetStateEvents() public method

public osSetStateEvents ( int events ) : void
events int
return void
        public void osSetStateEvents(int events)
        {
            // This function is a hack. There is no reason for it's existence
            // anymore, since state events now work properly.
            // It was probably added as a crutch or debugging aid, and
            // should be removed
            //
            CheckThreatLevel(ThreatLevel.High, "osSetStateEvents");
            m_host.AddScriptLPS(1);

            m_host.SetScriptEvents(m_item.ItemID, events);
        }
OSSL_Api