aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs')
-rw-r--r--OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs
index 223d764..0308079 100644
--- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs
+++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs
@@ -40,6 +40,27 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
40 /// exception. 'Exists' allows you to check the object is still 40 /// exception. 'Exists' allows you to check the object is still
41 /// in play before utilizing it. 41 /// in play before utilizing it.
42 /// </summary> 42 /// </summary>
43 /// <example>
44 /// IObject deleteMe = World.Objects[0];
45 ///
46 /// if(deleteMe.Exists) {
47 /// deleteMe.Say("Hello, I still exist!");
48 /// }
49 ///
50 /// World.Objects.Remove(deleteMe);
51 ///
52 /// if(!deleteMe.Exists) {
53 /// Host.Console.Info("I was deleted");
54 /// }
55 /// </example>
56 /// <remarks>
57 /// Objects should be near-guarunteed to exist for any event which
58 /// passes them as an argument. Storing an object for a longer period
59 /// of time however will limit their reliability.
60 ///
61 /// It is a good practice to use Try/Catch blocks handling for
62 /// NullReferenceException, when accessing remote objects.
63 /// </remarks>
43 bool Exists { get; } 64 bool Exists { get; }
44 65
45 /// <summary> 66 /// <summary>