Esempio n. 1
0
        private static void Shim_botSendInstantMessage(SyscallShim self)
        {
            string p2 = ConvToString(self._interpreter.ScriptState.Operands.Pop());
            string p1 = ConvToString(self._interpreter.ScriptState.Operands.Pop());
            string p0 = ConvToString(self._interpreter.ScriptState.Operands.Pop());

            //set the script to long running syscall and call the function async
            self._interpreter.ScriptState.RunState = VM.RuntimeState.Status.Syscall;

            self._asyncCallDelegate(delegate()
            {
                self._systemAPI.botSendInstantMessage(p0, p1, p2);
            });
        }
Esempio n. 2
0
        private static void Shim_botGetBotOutfits(SyscallShim self)
        {
            //set the script to long running syscall and call the function async
            self._interpreter.ScriptState.RunState = VM.RuntimeState.Status.Syscall;

            self._asyncCallDelegate(delegate()
            {
                self._systemAPI.botGetBotOutfits();
            });
        }
Esempio n. 3
0
        private static void Shim_botRemoveOutfit(SyscallShim self)
        {
            string p0 = ConvToString(self._interpreter.ScriptState.Operands.Pop());

            //set the script to long running syscall and call the function async
            self._interpreter.ScriptState.RunState = VM.RuntimeState.Status.Syscall;

            self._asyncCallDelegate(delegate()
            {
                self._systemAPI.botRemoveOutfit(p0);
            });
        }
Esempio n. 4
0
        private static void Shim_llRequestAgentData(SyscallShim self)
        {
            int p1 = ConvToInt(self._interpreter.ScriptState.Operands.Pop());
            string p0 = ConvToString(self._interpreter.ScriptState.Operands.Pop());

            //set the script to long running syscall and call the function async
            self._interpreter.ScriptState.RunState = VM.RuntimeState.Status.Syscall;

            self._asyncCallDelegate(delegate()
            {
                self._systemAPI.llRequestAgentData(p0, p1);
            });
        }
Esempio n. 5
0
        private static void Shim_botCreateBot(SyscallShim self)
        {
            int p4 = ConvToInt(self._interpreter.ScriptState.Operands.Pop());
            Vector3 p3 = ConvToVector(self._interpreter.ScriptState.Operands.Pop());
            string p2 = ConvToString(self._interpreter.ScriptState.Operands.Pop());
            string p1 = ConvToString(self._interpreter.ScriptState.Operands.Pop());
            string p0 = ConvToString(self._interpreter.ScriptState.Operands.Pop());

            //set the script to long running syscall and call the function async
            self._interpreter.ScriptState.RunState = VM.RuntimeState.Status.Syscall;

            self._asyncCallDelegate(delegate()
            {
                self._systemAPI.botCreateBot(p0, p1, p2, p3, p4);
            });
        }
Esempio n. 6
0
        private static void Shim_iwTeleportAgent(SyscallShim self)
        {
            Vector3 lookat = ConvToVector(self._interpreter.ScriptState.Operands.Pop());
            Vector3 pos = ConvToVector(self._interpreter.ScriptState.Operands.Pop());
            string region = ConvToString(self._interpreter.ScriptState.Operands.Pop());
            string agent = ConvToString(self._interpreter.ScriptState.Operands.Pop());

            self._interpreter.ScriptState.RunState = VM.RuntimeState.Status.Syscall;

            self._asyncCallDelegate(delegate()
            {
                self._systemAPI.iwTeleportAgent(agent, region, pos, lookat);
            });
        }
Esempio n. 7
0
        private static void Shim_llGiveInventoryList(SyscallShim self)
        {
            LSLList p2 = ConvToLSLList(self._interpreter.ScriptState.Operands.Pop());
            string p1 = ConvToString(self._interpreter.ScriptState.Operands.Pop());
            string p0 = ConvToString(self._interpreter.ScriptState.Operands.Pop());

            self._interpreter.ScriptState.RunState = VM.RuntimeState.Status.Syscall;

            self._asyncCallDelegate(delegate()
            {
                self._systemAPI.llGiveInventoryList(p0, p1, p2);
            });
        }
Esempio n. 8
0
        private static void Shim_iwGiveLinkInventory(SyscallShim self)
        {
            string p2 = ConvToString(self._interpreter.ScriptState.Operands.Pop());
            string p1 = ConvToString(self._interpreter.ScriptState.Operands.Pop());
            int p0 = ConvToInt(self._interpreter.ScriptState.Operands.Pop());

            //set the script to long running syscall and call the function async
            self._interpreter.ScriptState.RunState = VM.RuntimeState.Status.Syscall;

            self._asyncCallDelegate(delegate()
            {
                self._systemAPI.iwGiveLinkInventory(p0, p1, p2);
            });
        }
Esempio n. 9
0
        private static void Shim_iwMakeNotecard(SyscallShim self)
        {
            LSLList p1 = ConvToLSLList(self._interpreter.ScriptState.Operands.Pop());
            string p0 = ConvToString(self._interpreter.ScriptState.Operands.Pop());

            //set the script to long running syscall and call the function async
            self._interpreter.ScriptState.RunState = VM.RuntimeState.Status.Syscall;

            self._asyncCallDelegate(delegate()
            {
                self._systemAPI.iwMakeNotecard(p0, p1);
            });
        }
Esempio n. 10
0
        // list botSearchBotOutfits(string pattern, integer matchType, integer start, integer end);
        private static void Shim_botSearchBotOutfits(SyscallShim self)
        {
            //set the script to long running syscall and call the function async
            self._interpreter.ScriptState.RunState = VM.RuntimeState.Status.Syscall;

            int p3 = ConvToInt(self._interpreter.ScriptState.Operands.Pop());
            int p2 = ConvToInt(self._interpreter.ScriptState.Operands.Pop());
            int p1 = ConvToInt(self._interpreter.ScriptState.Operands.Pop());
            string p0 = ConvToString(self._interpreter.ScriptState.Operands.Pop());

            self._asyncCallDelegate(delegate ()
            {
                self._systemAPI.botSearchBotOutfits(p0, p1, p2, p3);
            });
        }
Esempio n. 11
0
        static private void Shim_iwDeliverInventoryList(SyscallShim self)
        {
            LSLList p3 = ConvToLSLList(self._interpreter.ScriptState.Operands.Pop());
            string p2 = ConvToString(self._interpreter.ScriptState.Operands.Pop());
            string p1 = ConvToString(self._interpreter.ScriptState.Operands.Pop());
            int p0 = ConvToInt(self._interpreter.ScriptState.Operands.Pop());

            self._interpreter.ScriptState.RunState = VM.RuntimeState.Status.Syscall;

            self._asyncCallDelegate(delegate ()
            {
                self._systemAPI.iwDeliverInventoryList(p0, p1, p2, p3);
            });
        }
Esempio n. 12
0
        static private void Shim_llManageEstateAccess(SyscallShim self)
        {
            string p1 = ConvToString(self._interpreter.ScriptState.Operands.Pop()); 
            int p0 = ConvToInt(self._interpreter.ScriptState.Operands.Pop());

            //set the script to long running syscall and call the function async
            self._interpreter.ScriptState.RunState = VM.RuntimeState.Status.Syscall;

            self._asyncCallDelegate(delegate()
            {
                self._systemAPI.llManageEstateAccess(p0, p1);
            });
        }
Esempio n. 13
0
        static private void Shim_iwAvatarName2Key(SyscallShim self)
        {
            string p1 = ConvToString(self._interpreter.ScriptState.Operands.Pop());
            string p0 = ConvToString(self._interpreter.ScriptState.Operands.Pop());

            //set the script to long running syscall and call the function async
            self._interpreter.ScriptState.RunState = VM.RuntimeState.Status.Syscall;

            self._asyncCallDelegate(delegate()
            {
                self._systemAPI.iwAvatarName2Key(p0, p1);
            });
        }
Esempio n. 14
0
        static private void Shim_llRequestDisplayName(SyscallShim self)
        {
            string p0 = ConvToString(self._interpreter.ScriptState.Operands.Pop());

            //set the script to long running syscall and call the function async
            self._interpreter.ScriptState.RunState = VM.RuntimeState.Status.Syscall;

            self._asyncCallDelegate(delegate()
            {
                self._systemAPI.llRequestDisplayName(p0);
            });
        }