Show / Hide Table of Contents

Class ObjectInfoExtensions

Extension methods for ObjectInfo.

Inheritance
object
ObjectInfoExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Microsoft.XboxStudios.GameStateTracker.Unreal
Assembly: GameStateTracker.Unreal.dll
Syntax
public static class ObjectInfoExtensions

Methods

View Source

FriendlyName(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.

View Source

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.

  • View Source
In this article
Back to top Generated by DocFX