Exemplo n.º 1
0
        public IPrimCounts GetPrimCounts(UUID parcelID)
        {
            PrimCounts primCounts;

            lock (m_PrimCounts)
            {
                if (m_PrimCounts.TryGetValue(parcelID, out primCounts))
                {
                    return(primCounts);
                }

                primCounts             = new PrimCounts(parcelID, this);
                m_PrimCounts[parcelID] = primCounts;
            }
            return(primCounts);
        }
 public UserPrimCounts(PrimCounts parent)
 {
     m_Parent = parent;
 }
        public IPrimCounts GetPrimCounts(UUID parcelID)
        {
            PrimCounts primCounts;

            lock (m_PrimCounts)
            {
                if (m_PrimCounts.TryGetValue(parcelID, out primCounts))
                    return primCounts;

                primCounts = new PrimCounts(parcelID, this);
                m_PrimCounts[parcelID] = primCounts;
            }
            return primCounts;
        }
Exemplo n.º 4
0
 public UserPrimCounts(PrimCounts parent)
 {
     m_Parent = parent;
 }