UnknownParameter
(no declaration available)Inherits from Yarn.Shared.Parameter
Implements System.IEquatable{Yarn.Shared.Parameter}, System.IEquatable{Yarn.Shared.UnknownParameter}
#Properties
#ShortFormType
"bool"public override string ShortFormType { get }Type String
#Methods
#CreateCommandParameterString(int, int)
public override string CreateCommandParameterString(int parameterIndex, int arrayIndex)Parameters
parameterIndexintWhat index is the current parameter? So if the method is something likename(a,b)then theaparameter will have an index here of 0.arrayIndexintWhat index is the current into the array of provided values from Yarn? This is superficially similar to theparameterIndex, but may not be the same: commands have as element 0 the name of the command, and in the case of instance methods there is an impliedthisin C#, which is explicit in the Yarn - meaning the index values here will be shifted along one. Relatedly, some parameter types (such as tokens) have no corresponding values in the array of parameters provided from Yarn.
Returns String: The fully built command parameter string ready to be injected into the generated source.
Exceptions
System.ArgumentExceptionBecause there is no concept of converting a value from Yarn into an unknown type this method always throws
#CreateFunctionParameterString(int, int)
public override string CreateFunctionParameterString(int parameterIndex, int arrayIndex)Parameters
parameterIndexintwhat index is the current parameter? So if the method is something likename(a,b)then theaparameter will have an index here of 0.arrayIndexintWhat index is the current into the array of provided values from Yarn? This is superficially similar to the, but may not be the same: in the case of instance methods, there is an impliedthisin C#, which is explicit in the Yarn - meaning the index values here will be shifted along one. Relatedly, some parameter types (such as tokens) have no corresponding values in the array of parameters provided from Yarn.
Returns String: The fully built function parameter string ready to be injected into the generated source.
Exceptions
System.ArgumentExceptionBecause there is no concept of converting a value from Yarn into an unknown type this method always throws
Generated from Yarn Spinner for Unity 3.3.