Show / Hide Table of Contents

Class UnrealObjectInfo

Contains Unreal-specific functionality for ObjectInfo.

Inheritance
object
UnrealObjectInfo
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 UnrealObjectInfo

Methods

View Source

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

View Source

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.

View Source

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.

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