Class AssetEqualityComparer
Inheritance
System.Object
AssetEqualityComparer
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
|
Improve this Doc
View Source
OtherObject
Declaration
public IUnityObjectBase OtherObject { get; }
Property Value
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
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
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
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
|
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
Returns
Type |
Description |
AssetRipper.Assets.Cloning.AssetEqualityComparer.UnorderedPair |
|