Class ExportIdHandler
Inheritance
System.Object
ExportIdHandler
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AssetRipper.Export.UnityProjects
Assembly: AssetRipper.Export.UnityProjects.dll
Syntax
public static class ExportIdHandler
Methods
| Improve this Doc View SourceGetInternalId()
Generate a random internal id.
Declaration
public static long GetInternalId()
Returns
Type | Description |
---|---|
System.Int64 | A random System.Int64 between System.Int64.MinValue and System.Int64.MaxValue. |
GetMainExportID(IUnityObjectBase)
Declaration
public static long GetMainExportID(IUnityObjectBase asset)
Parameters
Type | Name | Description |
---|---|---|
IUnityObjectBase | asset |
Returns
Type | Description |
---|---|
System.Int64 |
GetMainExportID(IUnityObjectBase, UInt32)
Declaration
public static long GetMainExportID(IUnityObjectBase asset, uint value)
Parameters
Type | Name | Description |
---|---|---|
IUnityObjectBase | asset | |
System.UInt32 | value |
Returns
Type | Description |
---|---|
System.Int64 |
GetMainExportID(Int32)
Declaration
public static long GetMainExportID(int classID)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | classID |
Returns
Type | Description |
---|---|
System.Int64 |
GetMainExportID(Int32, UInt32)
Declaration
public static long GetMainExportID(int classID, uint value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | classID | |
System.UInt32 | value |
Returns
Type | Description |
---|---|
System.Int64 |
GetRandomExportId(IUnityObjectBase, Func<Int64, Boolean>)
Generate a random export id.
Declaration
public static long GetRandomExportId(IUnityObjectBase asset, Func<long, bool> duplicateChecker)
Parameters
Type | Name | Description |
---|---|---|
IUnityObjectBase | asset | |
Func<System.Int64, System.Boolean> | duplicateChecker |
Returns
Type | Description |
---|---|
System.Int64 |