예제 #1
0
        private ArrayType GetArrayType(PropertyInfo propInfo)
        {
            switch (pcc.Game)
            {
            case MEGame.ME1:
                return(ME1UnrealObjectInfo.getArrayType(propInfo));

            case MEGame.ME2:
                return(ME2UnrealObjectInfo.getArrayType(propInfo));

            case MEGame.ME3:
                return(ME3UnrealObjectInfo.getArrayType(propInfo));
            }
            return(ArrayType.Int);
        }
예제 #2
0
        private ArrayType GetArrayType(int propName, string typeName = null)
        {
            if (typeName == null)
            {
                typeName = className;
            }
            switch (pcc.Game)
            {
            case MEGame.ME1:
                return(ME1UnrealObjectInfo.getArrayType(typeName, pcc.getNameEntry(propName)));

            case MEGame.ME2:
                return(ME2UnrealObjectInfo.getArrayType(typeName, pcc.getNameEntry(propName)));

            case MEGame.ME3:
                return(ME3UnrealObjectInfo.getArrayType(typeName, pcc.getNameEntry(propName)));
            }
            return(ArrayType.Int);
        }