diff options
author | Adam Frisby | 2009-08-21 11:43:45 +1000 |
---|---|---|
committer | Adam Frisby | 2009-08-21 11:43:45 +1000 |
commit | 7ef3e5f41cf226a5c5ba13fe5ee2f1d1d6ccc7ea (patch) | |
tree | 9dd245c5a489e742168d24ba0a1e8cdcb7f5869c /OpenSim/Region/ScriptEngine | |
parent | * Addendum to previous (diff) | |
download | opensim-SC_OLD-7ef3e5f41cf226a5c5ba13fe5ee2f1d1d6ccc7ea.zip opensim-SC_OLD-7ef3e5f41cf226a5c5ba13fe5ee2f1d1d6ccc7ea.tar.gz opensim-SC_OLD-7ef3e5f41cf226a5c5ba13fe5ee2f1d1d6ccc7ea.tar.bz2 opensim-SC_OLD-7ef3e5f41cf226a5c5ba13fe5ee2f1d1d6ccc7ea.tar.xz |
* Protip: Declare publically accessible functions, as public functions.
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs index 1227ec4..605f67b 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | |||
@@ -393,20 +393,22 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
393 | return m_OSSL_Functions.osGetLinkPrimitiveParams(linknumber, rules); | 393 | return m_OSSL_Functions.osGetLinkPrimitiveParams(linknumber, rules); |
394 | } | 394 | } |
395 | 395 | ||
396 | key osNpcCreate(string user, string name, vector position, key cloneFrom) | 396 | public key osNpcCreate(string user, string name, vector position, key cloneFrom) |
397 | { | 397 | { |
398 | return m_OSSL_Functions.osNpcCreate(user, name, position, cloneFrom); | 398 | return m_OSSL_Functions.osNpcCreate(user, name, position, cloneFrom); |
399 | } | 399 | } |
400 | void osNpcMoveTo(key npc, vector position) | 400 | |
401 | public void osNpcMoveTo(key npc, vector position) | ||
401 | { | 402 | { |
402 | m_OSSL_Functions.osNpcMoveTo(npc, position); | 403 | m_OSSL_Functions.osNpcMoveTo(npc, position); |
403 | } | 404 | } |
404 | 405 | ||
405 | void osNpcSay(key npc, string message) | 406 | public void osNpcSay(key npc, string message) |
406 | { | 407 | { |
407 | m_OSSL_Functions.osNpcSay(npc, message); | 408 | m_OSSL_Functions.osNpcSay(npc, message); |
408 | } | 409 | } |
409 | void osNpcRemove(key npc) | 410 | |
411 | public void osNpcRemove(key npc) | ||
410 | { | 412 | { |
411 | m_OSSL_Functions.osNpcRemove(npc); | 413 | m_OSSL_Functions.osNpcRemove(npc); |
412 | } | 414 | } |