Example #1
0
        /// <summary>
        /// The resolve.
        /// </summary>
        /// <param name="type">
        /// The type.
        /// </param>
        /// <param name="hash">
        /// The hash.
        /// </param>
        /// <returns>
        /// </returns>
        public CIwManaged Resolve(uint type, uint hash)
        {
            foreach (var resGroup in this.groups)
            {
                CIwResource res = resGroup.GetResHashed(hash, type);
                if (res != null)
                {
                    return(res);
                }
            }

            return(null);
        }
Example #2
0
 /// <summary>
 /// Interprets a list as stack: pushes item onto the top of the stack.
 /// </summary>
 /// <param name="object">
 /// The object pointer to add.
 /// </param>
 /// <param name="allowDups">
 /// Set to true only if you wish to allow the list to contain.
 /// </param>
 public void Push(CIwResource @object, bool allowDups = false)
 {
     this.array.PushBack(@object);
 }
Example #3
0
 /// <summary>
 /// Interprets a list as stack: pushes item onto the top of the stack.
 /// </summary>
 /// <param name="object">
 /// The object pointer to add.
 /// </param>
 /// <param name="allowDups">
 /// Set to true only if you wish to allow the list to contain.
 /// </param>
 public void Push(CIwResource @object, bool allowDups = false)
 {
     this.array.PushBack(@object);
 }
Example #4
0
 public void AddRes(CIwResource pData)
 {
     list.Add(pData);
 }