Show / Hide Table of Contents

Class AssetEqualityComparer

Inheritance
System.Object
AssetEqualityComparer
Namespace: AssetRipper.Assets.Cloning
Assembly: AssetRipper.Assets.dll
Syntax
public sealed class AssetEqualityComparer : IEqualityComparer<IUnityObjectBase>

Properties

| Improve this Doc View Source

CallingObject

Declaration
public IUnityObjectBase CallingObject { get; }
Property Value
Type Description
IUnityObjectBase
| Improve this Doc View Source

OtherObject

Declaration
public IUnityObjectBase OtherObject { get; }
Property Value
Type Description
IUnityObjectBase

Methods

| Improve this Doc View Source

Equals(AssetEqualityComparer.UnorderedPair)

Declaration
public bool Equals(AssetEqualityComparer.UnorderedPair other)
Parameters
Type Name Description
AssetRipper.Assets.Cloning.AssetEqualityComparer.UnorderedPair other
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Equals(IUnityObjectBase, IUnityObjectBase)

Declaration
public bool Equals(IUnityObjectBase x, IUnityObjectBase y)
Parameters
Type Name Description
IUnityObjectBase x
IUnityObjectBase y
Returns
Type Description
System.Boolean
| Improve this Doc View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
| Improve this Doc View Source

GetHashCode(IUnityObjectBase)

Declaration
public int GetHashCode(IUnityObjectBase obj)
Parameters
Type Name Description
IUnityObjectBase obj
Returns
Type Description
System.Int32
| Improve this Doc View Source

MaybeAddDependentComparison(IPPtr, IPPtr)

Used for source generation.

Declaration
public bool? MaybeAddDependentComparison(IPPtr pptrFromCallingObject, IPPtr pptrFromOtherObject)
Parameters
Type Name Description
IPPtr pptrFromCallingObject
IPPtr pptrFromOtherObject
Returns
Type Description
System.Nullable<System.Boolean>

True if they're equal, false if they're inequal, or null if it was added to the list of dependent pairs.

Operators

| Improve this Doc View Source

Implicit(AssetEqualityComparer.UnorderedPair to (IUnityObjectBase, IUnityObjectBase))

Declaration
public static implicit operator (IUnityObjectBase, IUnityObjectBase)(AssetEqualityComparer.UnorderedPair pair)
Parameters
Type Name Description
AssetRipper.Assets.Cloning.AssetEqualityComparer.UnorderedPair pair
Returns
Type Description
System.ValueTuple<IUnityObjectBase, IUnityObjectBase>
| Improve this Doc View Source

Implicit((IUnityObjectBase First, IUnityObjectBase Second) to AssetEqualityComparer.UnorderedPair)

Declaration
public static implicit operator AssetEqualityComparer.UnorderedPair((IUnityObjectBase First, IUnityObjectBase Second) pair)
Parameters
Type Name Description
System.ValueTuple<IUnityObjectBase, IUnityObjectBase> pair
Returns
Type Description
AssetRipper.Assets.Cloning.AssetEqualityComparer.UnorderedPair
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾