Beispiel #1
0
        private PropertyInfo GetPropertyInfo(string propname, string typeName, bool inStruct = false)
        {
            switch (pcc.Game)
            {
            case MEGame.ME1:
                return(ME1UnrealObjectInfo.getPropertyInfo(typeName, propname, inStruct));

            case MEGame.ME2:
                return(ME2UnrealObjectInfo.getPropertyInfo(typeName, propname, inStruct));

            case MEGame.ME3:
                return(ME3UnrealObjectInfo.getPropertyInfo(typeName, propname, inStruct));
            }
            return(null);
        }
Beispiel #2
0
        private PropertyInfo GetPropertyInfo(int propName)
        {
            switch (pcc.Game)
            {
            case MEGame.ME1:
                return(ME1UnrealObjectInfo.getPropertyInfo(className, pcc.getNameEntry(propName)));

            case MEGame.ME2:
                return(ME2UnrealObjectInfo.getPropertyInfo(className, pcc.getNameEntry(propName)));

            case MEGame.ME3:
                return(ME3UnrealObjectInfo.getPropertyInfo(className, pcc.getNameEntry(propName)));
            }
            return(null);
        }