diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | 37 |
1 files changed, 36 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs index 0d7d5ea..cc8d417 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | |||
@@ -452,6 +452,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
452 | return m_OSSL_Functions.osGetGridLoginURI(); | 452 | return m_OSSL_Functions.osGetGridLoginURI(); |
453 | } | 453 | } |
454 | 454 | ||
455 | public string osGetGridHomeURI() | ||
456 | { | ||
457 | return m_OSSL_Functions.osGetGridHomeURI(); | ||
458 | } | ||
459 | |||
460 | public string osGetGridCustom(string key) | ||
461 | { | ||
462 | return m_OSSL_Functions.osGetGridCustom(key); | ||
463 | } | ||
464 | |||
455 | public LSL_String osFormatString(string str, LSL_List strings) | 465 | public LSL_String osFormatString(string str, LSL_List strings) |
456 | { | 466 | { |
457 | return m_OSSL_Functions.osFormatString(str, strings); | 467 | return m_OSSL_Functions.osFormatString(str, strings); |
@@ -483,11 +493,21 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
483 | return m_OSSL_Functions.osGetLinkPrimitiveParams(linknumber, rules); | 493 | return m_OSSL_Functions.osGetLinkPrimitiveParams(linknumber, rules); |
484 | } | 494 | } |
485 | 495 | ||
496 | public LSL_Integer osIsNpc(LSL_Key npc) | ||
497 | { | ||
498 | return m_OSSL_Functions.osIsNpc(npc); | ||
499 | } | ||
500 | |||
486 | public key osNpcCreate(string user, string name, vector position, key cloneFrom) | 501 | public key osNpcCreate(string user, string name, vector position, key cloneFrom) |
487 | { | 502 | { |
488 | return m_OSSL_Functions.osNpcCreate(user, name, position, cloneFrom); | 503 | return m_OSSL_Functions.osNpcCreate(user, name, position, cloneFrom); |
489 | } | 504 | } |
490 | 505 | ||
506 | public key osNpcCreate(string user, string name, vector position, key cloneFrom, int options) | ||
507 | { | ||
508 | return m_OSSL_Functions.osNpcCreate(user, name, position, cloneFrom, options); | ||
509 | } | ||
510 | |||
491 | public key osNpcSaveAppearance(key npc, string notecard) | 511 | public key osNpcSaveAppearance(key npc, string notecard) |
492 | { | 512 | { |
493 | return m_OSSL_Functions.osNpcSaveAppearance(npc, notecard); | 513 | return m_OSSL_Functions.osNpcSaveAppearance(npc, notecard); |
@@ -498,6 +518,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
498 | m_OSSL_Functions.osNpcLoadAppearance(npc, notecard); | 518 | m_OSSL_Functions.osNpcLoadAppearance(npc, notecard); |
499 | } | 519 | } |
500 | 520 | ||
521 | public LSL_Key osNpcGetOwner(LSL_Key npc) | ||
522 | { | ||
523 | return m_OSSL_Functions.osNpcGetOwner(npc); | ||
524 | } | ||
525 | |||
501 | public vector osNpcGetPos(LSL_Key npc) | 526 | public vector osNpcGetPos(LSL_Key npc) |
502 | { | 527 | { |
503 | return m_OSSL_Functions.osNpcGetPos(npc); | 528 | return m_OSSL_Functions.osNpcGetPos(npc); |
@@ -548,6 +573,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
548 | m_OSSL_Functions.osNpcRemove(npc); | 573 | m_OSSL_Functions.osNpcRemove(npc); |
549 | } | 574 | } |
550 | 575 | ||
576 | public void osNpcPlayAnimation(LSL_Key npc, string animation) | ||
577 | { | ||
578 | m_OSSL_Functions.osNpcPlayAnimation(npc, animation); | ||
579 | } | ||
580 | |||
581 | public void osNpcStopAnimation(LSL_Key npc, string animation) | ||
582 | { | ||
583 | m_OSSL_Functions.osNpcStopAnimation(npc, animation); | ||
584 | } | ||
585 | |||
551 | public LSL_Key osOwnerSaveAppearance(string notecard) | 586 | public LSL_Key osOwnerSaveAppearance(string notecard) |
552 | { | 587 | { |
553 | return m_OSSL_Functions.osOwnerSaveAppearance(notecard); | 588 | return m_OSSL_Functions.osOwnerSaveAppearance(notecard); |
@@ -818,4 +853,4 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
818 | return m_OSSL_Functions.osUnixTimeToTimestamp(time); | 853 | return m_OSSL_Functions.osUnixTimeToTimestamp(time); |
819 | } | 854 | } |
820 | } | 855 | } |
821 | } \ No newline at end of file | 856 | } |