public static ManagedUnrealClass FindClass(Type type) { ManagedUnrealClass result; Classes.TryGetValue(type, out result); if (result == null) { } return(result); }
/// <summary> /// Gets the class info for the given UObject derived type (defined in managed code) /// </summary> /// <param name="type">The UObject derived type</param> /// <returns>The class info for the given type</returns> public static ManagedClass GetManagedClass(Type type) { ManagedClass result; if (!Classes.TryGetValue(type, out result)) { // Might actually be an interface ManagedInterface managedInterface; Interfaces.TryGetValue(type, out managedInterface); result = managedInterface; } return(result); }