Class UnrealClassManager
A class used to associate Unreal Engine game objects with subclasses of UObject.
Inherited Members
Namespace: Microsoft.XboxStudios.GameStateTracker.Unreal
Assembly: GameStateTracker.Unreal.dll
Syntax
public class UnrealClassManager : ClassManager, IClassManager, IPropertyManager, ITypeChanger<IGameObject>, IClassDataProvider
Constructors
View SourceUnrealClassManager()
Initializes a new instance of the UnrealClassManager class.
Declaration
public UnrealClassManager()
Methods
View SourceMatchesPattern(string, string?)
Determines if the class name matches the given pattern.
Declaration
protected override bool MatchesPattern(string pattern, string? className)
Parameters
Type | Name | Description |
---|---|---|
string | pattern | The pattern, using * as an optional wildcard at the end. |
string | className | The class name to compare against. |
Returns
Type | Description |
---|---|
bool | True if the class name matches the pattern. |
Overrides
View SourceTryRemoveClassPrefix(string?)
Attempts to remove the class prefix of Unreal Engine v5.1+. Example "/Script/Module.Foo" -> "Foo"
Declaration
public static string? TryRemoveClassPrefix(string? className)
Parameters
Type | Name | Description |
---|---|---|
string | className | The name of the class to remove the prefix from. |
Returns
Type | Description |
---|---|
string | The class name without the prefix if found. Otherwise the class name is returned as is. |