Exemple #1
0
        /// <summary>
        /// Get the slot with the given name or null if it doesn't exist.
        /// </summary>
        /// <param name="name"></param>
        /// <returns></returns>
        public DbSlot GetSlot(string name)
        {
            DbSlot slot;

            Slots.TryGet(name, out slot);
            return(slot);
        }
Exemple #2
0
        /// <summary>
        /// Get the bone with the given name or null if it doesn't exist.
        /// </summary>
        public DbBone GetBone(string name)
        {
            DbBone bone;

            Bones.TryGet(name, out bone);
            return(bone);
        }