mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
if a NPC is owned, allow access if ownerID matchs parcel owner or it is in the access list. option OS_NPC_OBJECT_GROUP it still needed if access is by group (this option should also work with not owned NPC) NEEDS TESTING, may prove to be a bad solution
This commit is contained in:
@@ -43,6 +43,10 @@ namespace OpenSim.Region.OptionalModules.World.NPC
|
||||
public class NPCAvatar : IClientAPI, INPC
|
||||
{
|
||||
public bool SenseAsAgent { get; set; }
|
||||
public UUID Owner
|
||||
{
|
||||
get { return m_ownerID;}
|
||||
}
|
||||
|
||||
public delegate void ChatToNPC(
|
||||
string message, byte type, Vector3 fromPos, string fromName,
|
||||
|
||||
Reference in New Issue
Block a user