Ejemplo n.º 1
0
        internal static void IgnoreThisObject(CachedSNOEntry snoObj, int RAGUID, bool removal=true, bool blacklistSNOID=true)
        {
            Logging.WriteVerbose("[Blacklist] -- RAGUID {0} SNOID {1} ({2})", snoObj.SNOID, RAGUID, snoObj.InternalName);

                int sno, raguid;
                sno=snoObj.SNOID;
                raguid=RAGUID;

                //Add to our blacklist so we don't create it again..
                hashRGUIDIgnoreBlacklist.Add(raguid);

                if (blacklistSNOID)
                     //Blacklist SNO so we don't create it ever again!
                     CacheIDLookup.hashActorSNOIgnoreBlacklist.Add(sno);

                if (removal)
                {
                     //Clear SNO cache entries..
                     cacheSnoCollection.Remove(snoObj.SNOID);
                     //Clear previous cache entries..
                     Objects.Remove(RAGUID);
                }
        }
Ejemplo n.º 2
0
 public CachedSNOEntry(CachedSNOEntry parent)
     : base(parent)
 {
 }