当前位置: 首页>>代码示例>>C#>>正文


C# SyscallShim._asyncCallDelegate方法代码示例

本文整理汇总了C#中InWorldz.Phlox.Glue.SyscallShim._asyncCallDelegate方法的典型用法代码示例。如果您正苦于以下问题:C# SyscallShim._asyncCallDelegate方法的具体用法?C# SyscallShim._asyncCallDelegate怎么用?C# SyscallShim._asyncCallDelegate使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在InWorldz.Phlox.Glue.SyscallShim的用法示例。


在下文中一共展示了SyscallShim._asyncCallDelegate方法的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Shim_botSendInstantMessage

        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);
            });
        }
开发者ID:vinzenz,项目名称:phlox,代码行数:14,代码来源:SyscallShim.cs

示例2: Shim_botGetBotOutfits

        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();
            });
        }
开发者ID:vinzenz,项目名称:phlox,代码行数:10,代码来源:SyscallShim.cs

示例3: Shim_botRemoveOutfit

        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);
            });
        }
开发者ID:vinzenz,项目名称:phlox,代码行数:12,代码来源:SyscallShim.cs

示例4: Shim_llRequestAgentData

        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);
            });
        }
开发者ID:vinzenz,项目名称:phlox,代码行数:13,代码来源:SyscallShim.cs

示例5: Shim_botCreateBot

        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);
            });
        }
开发者ID:vinzenz,项目名称:phlox,代码行数:16,代码来源:SyscallShim.cs

示例6: Shim_iwTeleportAgent

        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);
            });
        }
开发者ID:vinzenz,项目名称:phlox,代码行数:14,代码来源:SyscallShim.cs

示例7: Shim_llGiveInventoryList

        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);
            });
        }
开发者ID:vinzenz,项目名称:phlox,代码行数:13,代码来源:SyscallShim.cs

示例8: Shim_iwGiveLinkInventory

        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);
            });
        }
开发者ID:vinzenz,项目名称:phlox,代码行数:14,代码来源:SyscallShim.cs

示例9: Shim_iwMakeNotecard

        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);
            });
        }
开发者ID:vinzenz,项目名称:phlox,代码行数:13,代码来源:SyscallShim.cs

示例10: Shim_botSearchBotOutfits

        // 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);
            });
        }
开发者ID:digitalmystic,项目名称:phlox,代码行数:16,代码来源:SyscallShim.cs

示例11: Shim_iwDeliverInventoryList

        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);
            });
        }
开发者ID:emperorstarfinder,项目名称:phlox,代码行数:14,代码来源:SyscallShim.cs

示例12: Shim_llManageEstateAccess

        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);
            });
        }
开发者ID:emperorstarfinder,项目名称:phlox,代码行数:13,代码来源:SyscallShim.cs

示例13: Shim_iwAvatarName2Key

        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);
            });
        }
开发者ID:emperorstarfinder,项目名称:phlox,代码行数:13,代码来源:SyscallShim.cs

示例14: Shim_llRequestDisplayName

        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);
            });
        }
开发者ID:emperorstarfinder,项目名称:phlox,代码行数:12,代码来源:SyscallShim.cs


注:本文中的InWorldz.Phlox.Glue.SyscallShim._asyncCallDelegate方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。