Class ObjectInfoExtensions
Extension methods for ObjectInfo.
Inherited Members
Namespace: Microsoft.XboxStudios.GameStateTracker.Unreal
Assembly: GameStateTracker.Unreal.dll
Syntax
public static class ObjectInfoExtensions
Methods
View SourceFriendlyName(in ObjectInfo)
Gets the object's friendly name, which is the last component of its path.
Declaration
public static string? FriendlyName(this in ObjectInfo self)
Parameters
Type | Name | Description |
---|---|---|
ObjectInfo | self | The ObjectInfo being extended. |
Returns
Type | Description |
---|---|
string | The friendly name. |
PartialPathName(in ObjectInfo, int)
Gets the object's shortened path name.
Declaration
public static string PartialPathName(this in ObjectInfo self, int packageLevel = 1)
Parameters
Type | Name | Description |
---|---|---|
ObjectInfo | self | The ObjectInfo being extended. |
int | packageLevel | How many outer packages to include from the path name. |
Returns
Type | Description |
---|---|
string | A string with the specified components of the path name. |