Click or drag to resize

PlayerCommandService Class

Provides player commands functionality.
Inheritance Hierarchy

Namespace:  SampSharp.Entities.SAMP.Commands
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public class PlayerCommandService : CommandServiceBase, 
	IPlayerCommandService

The PlayerCommandService type exposes the following members.

Constructors
  NameDescription
Public methodPlayerCommandService
Initializes a new instance of the PlayerCommandService class
Top
Methods
  NameDescription
Protected methodCreateParameterParser
Creates the parameter parser for the parameter at the specified index in the parameters array..
(Inherited from CommandServiceBase.)
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.)
Protected methodGetCommandName
Extracts a command name from a method.
(Inherited from CommandServiceBase.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodGetUsageMessage
Gets the usage message for one or multiple specified commands.
(Overrides CommandServiceBaseGetUsageMessage(CommandInfo).)
Protected methodInvoke(IServiceProvider, Object, String)
Invokes a command based on the specified inputText.
(Inherited from CommandServiceBase.)
Public methodInvoke(IServiceProvider, EntityId, String)
Invokes a player command using the specified inputText for the specified player.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodScanMethods
Scans for methods in ISystem which should be considered to be compiled as a command.
(Overrides CommandServiceBaseScanMethods(AssemblyScanner).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodTryCollectParameters
Tries to collect parameter information.
(Overrides CommandServiceBaseTryCollectParameters(ParameterInfo, Int32, CommandParameterInfo).)
Protected methodValidateInputText
Validates and corrects the specified inputText.
(Overrides CommandServiceBaseValidateInputText(String).)
Top
See Also