Class UnrealObjectInfo
Contains Unreal-specific functionality for ObjectInfo.
Inherited Members
Namespace: Microsoft.XboxStudios.GameStateTracker.Unreal
Assembly: GameStateTracker.Unreal.dll
Syntax
public static class UnrealObjectInfoMethods
View SourceFriendlyName(string?)
Gets the object's friendly name, which is the last component of its path.
Declaration
public static string? FriendlyName(string? objectName)Parameters
| Type | Name | Description | 
|---|---|---|
| string | objectName | The object name. | 
Returns
| Type | Description | 
|---|---|
| string | The friendly name. | 
MatchesName(string, string?)
Determines whether the object name matches a query for its short, partial, or complete name.
Declaration
public static bool MatchesName(string objectName, string? queriedName)Parameters
| Type | Name | Description | 
|---|---|---|
| string | objectName | The object name. | 
| string | queriedName | The queried name. | 
Returns
| Type | Description | 
|---|---|
| bool | True if they match. | 
PartialPathName(string, int)
Gets the object's shortened path name.
Declaration
public static string PartialPathName(string objectName, int packageLevel = 1)Parameters
| Type | Name | Description | 
|---|---|---|
| string | objectName | The object name. | 
| int | packageLevel | How many outer packages to include from the path name. | 
Returns
| Type | Description | 
|---|---|
| string | A string with the specified number of components of the path name. |