Castle Game Engine: CastleScript: Class TCasScriptRegisteredHandler

# Class TCasScriptRegisteredHandler
Description | Hierarchy | Fields | Methods | Properties
## Unit CastleScript ## Declaration `type TCasScriptRegisteredHandler = class(TObject)` ## Description ## Hierarchy TObject TCasScriptRegisteredHandler ## Overview ### Methods
| `constructor Create( AHandler: TCasScriptFunctionHandler; AFunctionClass: TCasScriptFunctionClass; const AArgumentClasses: TCasScriptValueClassArray; const AVariableArgumentsCount: boolean);`
### Properties
| `property Handler: TCasScriptFunctionHandler read FHandler;`
| `property FunctionClass: TCasScriptFunctionClass read FFunctionClass;`
| `property ArgumentClasses: TCasScriptValueClassArray read FArgumentClasses;`
| `property VariableArgumentsCount: boolean read FVariableArgumentsCount;`
## Description ### Methods
| `constructor Create( AHandler: TCasScriptFunctionHandler; AFunctionClass: TCasScriptFunctionClass; const AArgumentClasses: TCasScriptValueClassArray; const AVariableArgumentsCount: boolean);`
### Properties
| `property Handler: TCasScriptFunctionHandler read FHandler;`
| `property FunctionClass: TCasScriptFunctionClass read FFunctionClass;`
| `property ArgumentClasses: TCasScriptValueClassArray read FArgumentClasses;`
| `property VariableArgumentsCount: boolean read FVariableArgumentsCount;`
Is the handler able to receive any number of arguments. If yes, then the last argument class may be repeated any number of times (but must occur at least once). That is, the ArgumentClasses array dictates the required arguments, and more arguments are allowed. Note that this means that at least one argument must be allowed (we have to know the argument class that can be repeated at the end), otherwise the handler will not be able to receive variable number of arguments anyway.
Generated by PasDoc 0.13.0 on 2015-06-15 04:43:11