Aurora.ScriptEngine.AuroraDotNetEngine.APIs.LSL_Api.llModPow C# (CSharp) Method

llModPow() public method

public llModPow ( int a, int b, int c ) : Aurora.ScriptEngine.AuroraDotNetEngine.LSL_Types.LSLInteger
a int
b int
c int
return Aurora.ScriptEngine.AuroraDotNetEngine.LSL_Types.LSLInteger
        public LSL_Integer llModPow(int a, int b, int c)
        {
            if (!ScriptProtection.CheckThreatLevel(ThreatLevel.None, "LSL", m_host, "LSL", m_itemID)) return 0;

            Int64 tmp = 0;
            Math.DivRem(Convert.ToInt64(Math.Pow(a, b)), c, out tmp);
            ScriptSleep(100);
            return Convert.ToInt32(tmp);
        }
LSL_Api