aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Interfaces/INPCModule.cs
diff options
context:
space:
mode:
authorUbitUmarov2016-01-01 23:41:25 +0000
committerUbitUmarov2016-01-01 23:41:25 +0000
commitee15c51ba475c4e56c26c60785a9e90fcd199766 (patch)
treefda00a947f62c04414dadaab46e34ea49521f0b0 /OpenSim/Region/Framework/Interfaces/INPCModule.cs
parent stop avatar move to target on parcel ban enforce (diff)
downloadopensim-SC_OLD-ee15c51ba475c4e56c26c60785a9e90fcd199766.zip
opensim-SC_OLD-ee15c51ba475c4e56c26c60785a9e90fcd199766.tar.gz
opensim-SC_OLD-ee15c51ba475c4e56c26c60785a9e90fcd199766.tar.bz2
opensim-SC_OLD-ee15c51ba475c4e56c26c60785a9e90fcd199766.tar.xz
add npc create option OS_NPC_OBJECT_GROUP. with it the npc will be created with the group of the object with the script, if that object owner is member of that group. This should allow parcel access by group to work now, and not much else. The groupTitle will also be set, it the region option NoNPCGroup is not active.
Diffstat (limited to 'OpenSim/Region/Framework/Interfaces/INPCModule.cs')
-rw-r--r--OpenSim/Region/Framework/Interfaces/INPCModule.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/INPCModule.cs b/OpenSim/Region/Framework/Interfaces/INPCModule.cs
index 8f9a13c..a40f150 100644
--- a/OpenSim/Region/Framework/Interfaces/INPCModule.cs
+++ b/OpenSim/Region/Framework/Interfaces/INPCModule.cs
@@ -38,7 +38,8 @@ namespace OpenSim.Region.Framework.Interfaces
38 AllowNotOwned = 0x01, // allow NPCs to be created not Owned 38 AllowNotOwned = 0x01, // allow NPCs to be created not Owned
39 AllowSenseAsAvatar = 0x02, // allow NPCs to set to be sensed as Avatars 39 AllowSenseAsAvatar = 0x02, // allow NPCs to set to be sensed as Avatars
40 AllowCloneOtherAvatars = 0x04, // allow NPCs to created cloning a avatar in region 40 AllowCloneOtherAvatars = 0x04, // allow NPCs to created cloning a avatar in region
41 NoNPCGroup = 0x08 // NPCs will have no group title, otherwise will have "- NPC -" 41 NoNPCGroup = 0x08, // NPCs will have no group title, otherwise will have "- NPC -"
42 objectGroup = 0x10 // NPC will have host sog groupID
42 } 43 }
43 44
44 /// <summary> 45 /// <summary>
@@ -48,12 +49,14 @@ namespace OpenSim.Region.Framework.Interfaces
48 /// </summary> 49 /// </summary>
49 public interface INPC 50 public interface INPC
50 { 51 {
52
51 /// <summary> 53 /// <summary>
52 /// Should this NPC be sensed by LSL sensors as an 'agent' 54 /// Should this NPC be sensed by LSL sensors as an 'agent'
53 /// (interpreted here to mean a normal user) rather than an OpenSim 55 /// (interpreted here to mean a normal user) rather than an OpenSim
54 /// specific NPC extension? 56 /// specific NPC extension?
55 /// </summary> 57 /// </summary>
56 bool SenseAsAgent { get; } 58 bool SenseAsAgent { get; }
59 UUID ActiveGroupId { get; set; }
57 } 60 }
58 61
59 public interface INPCModule 62 public interface INPCModule