本文整理汇总了C#中InWorldz.Phlox.Glue.SyscallShim类的典型用法代码示例。如果您正苦于以下问题:C# SyscallShim类的具体用法?C# SyscallShim怎么用?C# SyscallShim使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
SyscallShim类属于InWorldz.Phlox.Glue命名空间,在下文中一共展示了SyscallShim类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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);
}
示例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);
}
示例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);
}
示例4: Shim_botRegisterForNavigationEvents
private static void Shim_botRegisterForNavigationEvents(SyscallShim self)
{
string p0 = ConvToString(self._interpreter.ScriptState.Operands.Pop());
self._systemAPI.botRegisterForNavigationEvents(p0);
}
示例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);
}
示例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();
});
}
示例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));
}
示例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);
}
示例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);
}
示例10: Shim_llTargetRemove
private static void Shim_llTargetRemove(SyscallShim self)
{
int p0 = ConvToInt(self._interpreter.ScriptState.Operands.Pop());
self._systemAPI.llTargetRemove(p0);
}
示例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);
}
示例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);
}
示例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));
}
示例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));
}
示例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));
}