本文整理汇总了C#中InWorldz.Phlox.Glue.SyscallShim类的典型用法代码示例。如果您正苦于以下问题:C# SyscallShim类的具体用法?C# SyscallShim怎么用?C# SyscallShim使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
SyscallShim类属于InWorldz.Phlox.Glue命名空间,在下文中一共展示了SyscallShim类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: Shim_llTakeControls
private static void Shim_llTakeControls(SyscallShim self)
{
int p2 = ConvToInt(self._interpreter.ScriptState.Operands.Pop());
int p1 = ConvToInt(self._interpreter.ScriptState.Operands.Pop());
int p0 = ConvToInt(self._interpreter.ScriptState.Operands.Pop());
self._systemAPI.llTakeControls(p0, p1, p2);
}
开发者ID:vinzenz,项目名称:phlox,代码行数:8,代码来源:SyscallShim.cs
示例2: Shim_botSay
private static void Shim_botSay(SyscallShim self)
{
string p2 = ConvToString(self._interpreter.ScriptState.Operands.Pop());
int p1 = ConvToInt(self._interpreter.ScriptState.Operands.Pop());
string p0 = ConvToString(self._interpreter.ScriptState.Operands.Pop());
self._systemAPI.botSay(p0, p1, p2);
}
开发者ID:vinzenz,项目名称:phlox,代码行数:8,代码来源:SyscallShim.cs
示例3: Shim_botSensor
private static void Shim_botSensor(SyscallShim self)
{
float p5 = ConvToFloat(self._interpreter.ScriptState.Operands.Pop());
float p4 = ConvToFloat(self._interpreter.ScriptState.Operands.Pop());
int p3 = ConvToInt(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());
self._systemAPI.botSensor(p0, p1, p2, p3, p4, p5);
}
开发者ID:vinzenz,项目名称:phlox,代码行数:11,代码来源:SyscallShim.cs
示例4: Shim_botRegisterForNavigationEvents
private static void Shim_botRegisterForNavigationEvents(SyscallShim self)
{
string p0 = ConvToString(self._interpreter.ScriptState.Operands.Pop());
self._systemAPI.botRegisterForNavigationEvents(p0);
}
开发者ID:vinzenz,项目名称:phlox,代码行数:6,代码来源:SyscallShim.cs
示例5: Shim_botRemoveTag
private static void Shim_botRemoveTag(SyscallShim self)
{
string p1 = ConvToString(self._interpreter.ScriptState.Operands.Pop());
string p0 = ConvToString(self._interpreter.ScriptState.Operands.Pop());
self._systemAPI.botRemoveTag(p0, p1);
}
开发者ID:vinzenz,项目名称:phlox,代码行数:7,代码来源:SyscallShim.cs
示例6: 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
示例7: Shim_botIsBot
private static void Shim_botIsBot(SyscallShim self)
{
string p0 = ConvToString(self._interpreter.ScriptState.Operands.Pop());
int ret = self._systemAPI.botIsBot(p0);
self._interpreter.SafeOperandsPush(ConvToLSLType(ret));
}
开发者ID:vinzenz,项目名称:phlox,代码行数:8,代码来源:SyscallShim.cs
示例8: Shim_llTriggerSound
private static void Shim_llTriggerSound(SyscallShim self)
{
float p1 = ConvToFloat(self._interpreter.ScriptState.Operands.Pop());
string p0 = ConvToString(self._interpreter.ScriptState.Operands.Pop());
self._systemAPI.llTriggerSound(p0, p1);
}
开发者ID:vinzenz,项目名称:phlox,代码行数:7,代码来源:SyscallShim.cs
示例9: Shim_llTriggerSoundLimited
private static void Shim_llTriggerSoundLimited(SyscallShim self)
{
Vector3 p3 = ConvToVector(self._interpreter.ScriptState.Operands.Pop());
Vector3 p2 = ConvToVector(self._interpreter.ScriptState.Operands.Pop());
float p1 = ConvToFloat(self._interpreter.ScriptState.Operands.Pop());
string p0 = ConvToString(self._interpreter.ScriptState.Operands.Pop());
self._systemAPI.llTriggerSoundLimited(p0, p1, p2, p3);
}
开发者ID:vinzenz,项目名称:phlox,代码行数:9,代码来源:SyscallShim.cs
示例10: Shim_llTargetRemove
private static void Shim_llTargetRemove(SyscallShim self)
{
int p0 = ConvToInt(self._interpreter.ScriptState.Operands.Pop());
self._systemAPI.llTargetRemove(p0);
}
开发者ID:vinzenz,项目名称:phlox,代码行数:6,代码来源:SyscallShim.cs
示例11: Shim_llTextBox
private static void Shim_llTextBox(SyscallShim self)
{
int p2 = ConvToInt(self._interpreter.ScriptState.Operands.Pop());
string p1 = ConvToString(self._interpreter.ScriptState.Operands.Pop());
string p0 = ConvToString(self._interpreter.ScriptState.Operands.Pop());
self._systemAPI.llTextBox(p0, p1, p2);
}
开发者ID:vinzenz,项目名称:phlox,代码行数:8,代码来源:SyscallShim.cs
示例12: Shim_llTargetOmega
private static void Shim_llTargetOmega(SyscallShim self)
{
float p2 = ConvToFloat(self._interpreter.ScriptState.Operands.Pop());
float p1 = ConvToFloat(self._interpreter.ScriptState.Operands.Pop());
Vector3 p0 = ConvToVector(self._interpreter.ScriptState.Operands.Pop());
self._systemAPI.llTargetOmega(p0, p1, p2);
}
开发者ID:vinzenz,项目名称:phlox,代码行数:8,代码来源:SyscallShim.cs
示例13: Shim_llTarget
private static void Shim_llTarget(SyscallShim self)
{
float p1 = ConvToFloat(self._interpreter.ScriptState.Operands.Pop());
Vector3 p0 = ConvToVector(self._interpreter.ScriptState.Operands.Pop());
int ret = self._systemAPI.llTarget(p0, p1);
self._interpreter.SafeOperandsPush(ConvToLSLType(ret));
}
开发者ID:vinzenz,项目名称:phlox,代码行数:9,代码来源:SyscallShim.cs
示例14: Shim_llTan
private static void Shim_llTan(SyscallShim self)
{
float p0 = ConvToFloat(self._interpreter.ScriptState.Operands.Pop());
float ret = self._systemAPI.llTan(p0);
self._interpreter.SafeOperandsPush(ConvToLSLType(ret));
}
开发者ID:vinzenz,项目名称:phlox,代码行数:8,代码来源:SyscallShim.cs
示例15: Shim_botFollowAvatar
private static void Shim_botFollowAvatar(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());
int ret = self._systemAPI.botFollowAvatar(p0, p1, p2);
self._interpreter.SafeOperandsPush(ConvToLSLType(ret));
}
开发者ID:vinzenz,项目名称:phlox,代码行数:10,代码来源:SyscallShim.cs
示例16: Shim_llUnescapeURL
private static void Shim_llUnescapeURL(SyscallShim self)
{
string p0 = ConvToString(self._interpreter.ScriptState.Operands.Pop());
string ret = self._systemAPI.llUnescapeURL(p0);
self._interpreter.SafeOperandsPush(ConvToLSLType(ret));
}
开发者ID:vinzenz,项目名称:phlox,代码行数:8,代码来源:SyscallShim.cs
示例17: Shim_botGetAllMyBotsInRegion
private static void Shim_botGetAllMyBotsInRegion(SyscallShim self)
{
LSLList ret = self._systemAPI.botGetAllMyBotsInRegion();
self._interpreter.SafeOperandsPush(ConvToLSLType(ret));
}
开发者ID:vinzenz,项目名称:phlox,代码行数:6,代码来源:SyscallShim.cs
示例18: Shim_llUnSit
private static void Shim_llUnSit(SyscallShim self)
{
string p0 = ConvToString(self._interpreter.ScriptState.Operands.Pop());
self._systemAPI.llUnSit(p0);
}
开发者ID:vinzenz,项目名称:phlox,代码行数:6,代码来源:SyscallShim.cs
示例19: Shim_botGetProfileParams
private static void Shim_botGetProfileParams(SyscallShim self)
{
LSLList p1 = ConvToLSLList(self._interpreter.ScriptState.Operands.Pop());
string p0 = ConvToString(self._interpreter.ScriptState.Operands.Pop());
LSLList ret = self._systemAPI.botGetProfileParams(p0, p1);
self._interpreter.SafeOperandsPush(ConvToLSLType(ret));
}
开发者ID:vinzenz,项目名称:phlox,代码行数:9,代码来源:SyscallShim.cs
示例20: Shim_llVolumeDetect
private static void Shim_llVolumeDetect(SyscallShim self)
{
int p0 = ConvToInt(self._interpreter.ScriptState.Operands.Pop());
self._systemAPI.llVolumeDetect(p0);
}
开发者ID:vinzenz,项目名称:phlox,代码行数:6,代码来源:SyscallShim.cs
注:本文中的InWorldz.Phlox.Glue.SyscallShim类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论