Beamable SDK
Public Member Functions | Public Attributes | List of all members
Beamable.Common.Reflection.SignatureOfInterest Struct Reference

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

Collaboration diagram for Beamable.Common.Reflection.SignatureOfInterest:
Collaboration graph
[legend]

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.
 

Detailed Description

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

Constructor & Destructor Documentation

◆ SignatureOfInterest()

Beamable.Common.Reflection.SignatureOfInterest.SignatureOfInterest ( bool  isStatic,
Type  returnType,
ParameterOfInterest[]  parameters 
)
inline

SignatureOfInterest default constructor.

Parameters
parametersIf 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.



The documentation for this struct was generated from the following file: