예제 #1
0
        public void Remove(Type type)
        {
            m_Icons.Remove(type);

            if (m_Icons.Count == 0)
            {
                CentralMemory.RemoveModule(this.Owner, (Module)this);
            }
        }
예제 #2
0
        public void Remove(string castCommand)
        {
            m_CastCommands.Remove(castCommand.ToLower());

            if (m_CastCommands.Count == 0)
            {
                CentralMemory.RemoveModule(this.Owner, (Module)this);
            }
        }