|
Beamable SDK
|
Defines a method signature of interest so that we can validate that game-makers are placing IReflectionAttribute on methods that match expected signatures. More...

Public Member Functions | |
| SignatureOfInterest (bool isStatic, Type returnType, ParameterOfInterest[] parameters) | |
| SignatureOfInterest default constructor. More... | |
Public Attributes | |
| readonly bool | IsStatic |
| Whether or not the signature is expected to be static. Assumes it is an instanced call if false. | |
| readonly Type | ReturnType |
| The return type for the method. Currently we don't support detecting for ref or readonly returns. | |
| readonly ParameterOfInterest[] | Parameters |
| List of ParameterOfInterest that define the parameters of the signature we are matching. | |
Defines a method signature of interest so that we can validate that game-makers are placing IReflectionAttribute on methods that match expected signatures.
|
inline |
SignatureOfInterest default constructor.
| parameters | If no parameters were passed, we assume the user does not care about it and we don't validate parameters. If has length 0, it will be enforced that the method has 0 parameters. |