示例#1
0
        protected CTDAFunctionParamType?ResolveParamType(
            Container container, CTDAFunction ctdaFunction
            )
        {
            var paramFlag = container.GetData("Type");
            var paramType = GetParamType(ctdaFunction);

            switch (paramType)
            {
            case CTDAFunctionParamType.ptObjectReference:
            case CTDAFunctionParamType.ptActor:
            case CTDAFunctionParamType.ptPackage:
                if ((paramFlag & 0x2) > 0)
                {
                    return(CTDAFunctionParamType.ptAlias);
                }
                else if ((paramFlag & 0x8) > 0)
                {
                    return(CTDAFunctionParamType.ptPackdata);
                }
                break;
            }
            return(paramType);
        }
示例#2
0
 internal virtual CTDAFunctionParamType?GetParamType(
     CTDAFunction ctdaFunction
     )
 {
     return(ctdaFunction.paramType1);
 }
示例#3
0
 internal override CTDAFunctionParamType?GetParamType(
     CTDAFunction ctdaFunction
     )
 {
     return(ctdaFunction.paramType2);
 }