Click or drag to resize

CommandsManager Class

Represents the default commands manager.
Inheritance Hierarchy
SystemObject
  SampSharp.GameMode.SAMP.CommandsCommandsManager

Namespace:  SampSharp.GameMode.SAMP.Commands
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public class CommandsManager : ICommandsManager, 
	IService

The CommandsManager type exposes the following members.

Constructors
  NameDescription
Public methodCommandsManager
Initializes a new instance of the CommandsManager class.
Top
Properties
  NameDescription
Public propertyCommands
Gets a read-only collection of all registered commands.
Public propertyGameMode
Gets the game mode.
Top
Methods
  NameDescription
Protected methodCreateCommand
Creates a command.
Protected methodCreateHelpCommand
Creates a help command.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetCommandForText
Gets the command for the specified command text.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodProcess
Processes the specified player.
Public methodRegister(ICommand)
Registers the specified command.
Public methodRegister(CommandPath, String, Boolean, IPermissionChecker, MethodInfo, String)
Registers the specified command.
Public methodRegisterCommands(Assembly)
Loads all tagged commands from the specified assembly.
Public methodRegisterCommands(Type)
Loads all tagged commands from the assembly containing the specified type.
Public methodRegisterCommandsT
Loads all tagged commands from the assembly containing the specified type.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also