ArkaliaCore.Game.Game.Commands.CommandManager.GetCommand C# (CSharp) Method

GetCommand() public static method

public static GetCommand ( string prefix ) : Command
prefix string
return Command
        public static Command GetCommand(string prefix)
        {
            lock (m_commands)
            {
                if (m_commands.ContainsKey(prefix))
                {
                    return m_commands[prefix];
                }
                else
                {
                    return null;
                }
            }
        }