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


C# LSL_Types类代码示例

本文整理汇总了C#中LSL_Types的典型用法代码示例。如果您正苦于以下问题:C# LSL_Types类的具体用法?C# LSL_Types怎么用?C# LSL_Types使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


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

示例1: default_event_touch_start

 public void default_event_touch_start(LSL_Types.LSLInteger num_detected)
 {
     LSL_Types.LSLInteger y = -3;
     LSL_Types.LSLInteger x = 14 + 6;
     y = 12 + 45 + 20 + x + 23 + 1 + x + y;
     y = 12 + -45 + -20 + x + 23 + -1 + x + y;
 }
开发者ID:Belxjander,项目名称:Asuna,代码行数:7,代码来源:006_expected.cs

示例2: default_event_touch_start

 public void default_event_touch_start(LSL_Types.LSLInteger num_detected)
 {
     goto here;
     llOwnerSay("Uh oh, the jump didn't work");
     here:
     llOwnerSay("After the jump");
 }
开发者ID:Belxjander,项目名称:Asuna,代码行数:7,代码来源:030_expected.cs

示例3: default_event_touch_start

 public void default_event_touch_start(LSL_Types.LSLInteger num_detected)
 {
     LSL_Types.LSLInteger x = 0;
     LSL_Types.LSLInteger y = 0;
     x = y = 5;
     x += y -= 5;
     llOwnerSay("x is: " + (LSL_Types.LSLString) (x) + ", y is: " + (LSL_Types.LSLString) (y));
 }
开发者ID:Belxjander,项目名称:Asuna,代码行数:8,代码来源:032_expected.cs

示例4: default_event_touch_start

 public void default_event_touch_start(LSL_Types.LSLInteger num_detected)
 {
     llSay(2000, onefunc());
     LSL_Types.LSLInteger x = 2;
     x *= 3;
     x /= 14 + -2;
     x %= 10;
 }
开发者ID:Belxjander,项目名称:Asuna,代码行数:8,代码来源:014_expected.cs

示例5: default_event_touch_start

 public void default_event_touch_start(LSL_Types.LSLInteger num_detected)
 {
     LSL_Types.LSLInteger x = 0x23;
     LSL_Types.LSLInteger x = 0x2f34B;
     LSL_Types.LSLInteger x = 0x2F34b;
     LSL_Types.LSLInteger x = 0x2F34B;
     LSL_Types.LSLInteger x = 0x2f34b;
 }
开发者ID:Belxjander,项目名称:Asuna,代码行数:8,代码来源:029_expected.cs

示例6: default_event_touch_start

 public void default_event_touch_start(LSL_Types.LSLInteger num_detected)
 {
     LSL_Types.LSLString s1 = "this is a string.";
     LSL_Types.LSLString s2 = "this is a string " + "with an escaped \" inside it.";
     s1 = s2 + " and this " + "is a string with // comments.";
     LSL_Types.LSLString onemore = "[\^@]";
     LSL_Types.LSLString multiline = "Good evening Sir,\n        my name is Steve.\n        I come from a rough area.\n        I used to be addicted to crack\n        but now I am off it and trying to stay clean.\n        That is why I am selling magazine subscriptions.";
 }
开发者ID:Belxjander,项目名称:Asuna,代码行数:8,代码来源:011_expected.cs

示例7: default_event_touch_start

 public void default_event_touch_start(LSL_Types.LSLInteger num_detected)
 {
     LSL_Types.LSLInteger x = 2;
     LSL_Types.LSLInteger y = 1;
     LSL_Types.LSLInteger z = x ^ y;
     x = ~z;
     x = ~(y && z);
     y = x >> z;
     z = y << x;
 }
开发者ID:Belxjander,项目名称:Asuna,代码行数:10,代码来源:026_expected.cs

示例8: default_event_touch_start

 public void default_event_touch_start(LSL_Types.LSLInteger num_detected)
 {
     LSL_Types.LSLInteger y = 0;
     LSL_Types.LSLInteger x = 14 + 6;
     y = 12 - 3;
     y = 12 * 3;
     y = 12 / 3;
     y = 12 | 3;
     y = 12 & 3;
     y = 12 % 3;
     y = 12 + 45 - 20 * x / 23 | 1 & x + y;
 }
开发者ID:Belxjander,项目名称:Asuna,代码行数:12,代码来源:008_expected.cs

示例9: default_event_touch_start

 public void default_event_touch_start(LSL_Types.LSLInteger num_detected)
 {
     LSL_Types.LSLInteger x = 1;
     LSL_Types.LSLInteger y = 0;
     while (x)
         llSay(0, "To infinity, and beyond!");
     while (0 || (x && 0))
     {
         llSay(0, "Never say never.");
         return ;
     }
 }
开发者ID:Belxjander,项目名称:Asuna,代码行数:12,代码来源:022_expected.cs

示例10: default_event_touch_start

 public void default_event_touch_start(LSL_Types.LSLInteger num_detected)
 {
     LSL_Types.LSLInteger x = 1;
     LSL_Types.LSLInteger y = 0;
     if (x && y)
         llSay(0, "Hello");
     if (x || y)
     {
         llSay(0, "Hi");
         LSL_Types.LSLInteger r = 3;
         return ;
     }
     if (x && y || z)
         llSay(0, "x is true");
     else
         llSay(0, "x is false");
     if (x == y)
         llSay(0, "x is true");
     else
     if (y < x)
         llSay(0, "y is true");
     else
         llSay(0, "Who needs x and y anyway?");
     if (x > y)
         llSay(0, "x is true");
     else
     if (y <= x)
     {
         llSay(0, "uh-oh, y is true, exiting");
         return ;
     }
     else
         llSay(0, "Who needs x and y anyway?");
     if (x >= y)
         llSay(0, "x is true");
     else
     if (y != x)
         llSay(0, "y is true");
     else
     if (!z)
         llSay(0, "z is true");
     else
     if (!(a && b))
         llSay(0, "a is true");
     else
     if (b)
         llSay(0, "b is true");
     else
     if (v)
         llSay(0, "v is true");
     else
         llSay(0, "Everything is lies!");
 }
开发者ID:Belxjander,项目名称:Asuna,代码行数:53,代码来源:021_expected.cs

示例11: default_event_touch_start

 public void default_event_touch_start(LSL_Types.LSLInteger num_detected)
 {
     LSL_Types.LSLInteger x = 1;
     if (x)
         llSay(0, "Hello");
     if (1)
     {
         llSay(0, "Hi");
         LSL_Types.LSLInteger r = 3;
         return ;
     }
     if (f(x))
         llSay(0, "f(x) is true");
     else
         llSay(0, "f(x) is false");
     if (x + y)
         llSay(0, "x + y is true");
     else
     if (y - x)
         llSay(0, "y - x is true");
     else
         llSay(0, "Who needs x and y anyway?");
     if (x * y)
         llSay(0, "x * y is true");
     else
     if (y / x)
     {
         llSay(0, "uh-oh, y / x is true, exiting");
         return ;
     }
     else
         llSay(0, "Who needs x and y anyway?");
     if (x % y)
         llSay(0, "x is true");
     else
     if (y & x)
         llSay(0, "y is true");
     else
     if (z | x)
         llSay(0, "z is true");
     else
     if (a * (b + x))
         llSay(0, "a is true");
     else
     if (b)
         llSay(0, "b is true");
     else
     if (v)
         llSay(0, "v is true");
     else
         llSay(0, "Everything is lies!");
 }
开发者ID:Belxjander,项目名称:Asuna,代码行数:52,代码来源:020_expected.cs

示例12: default_event_touch_start

 public void default_event_touch_start(LSL_Types.LSLInteger num_detected)
 {
     LSL_Types.LSLString s = "";
     LSL_Types.LSLInteger x = 1;
     s = (LSL_Types.LSLString) (x++);
     s = (LSL_Types.LSLString) (x);
     s = (LSL_Types.LSLString) (new LSL_Types.Vector3(0.0, 0.0, 0.0));
     s = (LSL_Types.LSLString) (new LSL_Types.Quaternion(1.0, 1.0, 1.0, 1.0));
     s = (LSL_Types.LSLInteger) ("1");
     s = (LSL_Types.LSLString) (llSomethingThatReturnsInteger());
     s = (LSL_Types.LSLString) (134);
     s = (LSL_Types.LSLString) (x ^ y | (z && l)) + (LSL_Types.LSLString) (x + y - 13);
     llOwnerSay("s is: " + s);
 }
开发者ID:Belxjander,项目名称:Asuna,代码行数:14,代码来源:027_expected.cs

示例13: default_event_touch_start

 public void default_event_touch_start(LSL_Types.LSLInteger num_detected)
 {
     LSL_Types.LSLInteger x = 1;
     LSL_Types.LSLInteger y = 0;
     do
         llSay(0, "And we're doing...");
     while (x);
     do
     {
         llSay(0, "I like it here. I wish we could stay here forever.");
         y--;
     }
     while (y);
 }
开发者ID:Belxjander,项目名称:Asuna,代码行数:14,代码来源:023_expected.cs

示例14: default_event_touch_start

 public void default_event_touch_start(LSL_Types.LSLInteger num_detected)
 {
     LSL_Types.LSLInteger x = 1;
     LSL_Types.LSLInteger y = 0;
     for (x = 10; x >= 0; x--)
     {
         llOwnerSay("Launch in T minus " + x);
         IncreaseRocketPower();
     }
     for (x = 0, y = 6; y > 0 && x != y; x++, y--)
         llOwnerSay("Hi " + x + ", " + y);
     for (x = 0, y = 6; !y; x++, y--)
         llOwnerSay("Hi " + x + ", " + y);
 }
开发者ID:Belxjander,项目名称:Asuna,代码行数:14,代码来源:024_expected.cs

示例15: default_event_touch_start

 public void default_event_touch_start(LSL_Types.LSLInteger num_detected)
 {
     LSL_Types.LSLInteger i = 0;
     LSL_Types.LSLInteger j = 14;
     LSL_Types.LSLFloat f = 0.0;
     LSL_Types.LSLFloat g = 14.0;
     LSL_Types.LSLString s = "";
     LSL_Types.LSLString t = "Hi there";
     LSL_Types.list l = new LSL_Types.list();
     LSL_Types.list m = new LSL_Types.list(1, 2, 3);
     LSL_Types.Vector3 v = new LSL_Types.Vector3(0.0, 0.0, 0.0);
     LSL_Types.Vector3 w = new LSL_Types.Vector3(1.0, 0.1, 0.5);
     LSL_Types.Quaternion r = new LSL_Types.Quaternion(0.0, 0.0, 0.0, 0.0);
     LSL_Types.Quaternion u = new LSL_Types.Quaternion(0.8, 0.7, 0.6, llSomeFunc());
     LSL_Types.LSLString k = "";
     LSL_Types.LSLString n = "ping";
 }
开发者ID:Belxjander,项目名称:Asuna,代码行数:17,代码来源:031_expected.cs


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