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:
UbitUmarov
2016-06-28 23:30:04 +01:00
parent a08c354a07
commit 90b825cda8
3 changed files with 29 additions and 1 deletions

View File

@@ -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,