Class GameBundle
A Bundle encompassing an entire game.
Inheritance
System.Object
GameBundle
Assembly: AssetRipper.Assets.dll
Syntax
public sealed class GameBundle : Bundle
Properties
|
Improve this Doc
View Source
Name
The name of this bundle which is 'GameBundle'.
Declaration
public override string Name { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
|
Improve this Doc
View Source
ResourceProvider
Declaration
public IResourceProvider ResourceProvider { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
AddNewProcessedBundle(String)
Declaration
public ProcessedBundle AddNewProcessedBundle(string name = null)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
|
Improve this Doc
View Source
AddNewProcessedCollection(String, UnityVersion)
Adds a new processed asset collection to this bundle.
Declaration
public ProcessedAssetCollection AddNewProcessedCollection(string name, UnityVersion version)
Parameters
Type |
Name |
Description |
System.String |
name |
The name of the new asset collection.
|
UnityVersion |
version |
The Unity version of the new asset collection.
|
Returns
|
Improve this Doc
View Source
FetchAssetsInHierarchy()
Declaration
public IEnumerable<IUnityObjectBase> FetchAssetsInHierarchy()
Returns
|
Improve this Doc
View Source
FromPaths(IEnumerable<String>, AssetFactoryBase, IGameInitializer)
Create and initialize a GameBundle from a set of paths.
Declaration
public static GameBundle FromPaths(IEnumerable<string> paths, AssetFactoryBase assetFactory, IGameInitializer initializer = null)
Parameters
Type |
Name |
Description |
IEnumerable<System.String> |
paths |
The set of paths to load.
|
AssetFactoryBase |
assetFactory |
The factory for reading assets.
|
IGameInitializer |
initializer |
|
Returns
|
Improve this Doc
View Source
GetMaxUnityVersion()
Returns the maximum Unity version of all asset collections in this bundle.
Declaration
public UnityVersion GetMaxUnityVersion()
Returns
Type |
Description |
UnityVersion |
|
|
Improve this Doc
View Source
HasAnyAssetCollections()
Declaration
public bool HasAnyAssetCollections()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
InitializeAllDependencyLists(IDependencyProvider)
Initializes all dependency lists.
Declaration
public void InitializeAllDependencyLists(IDependencyProvider dependencyProvider = null)
Parameters
|
Improve this Doc
View Source
IsCompatibleBundle(Bundle)
Returns true if the given bundle is compatible with this bundle.
Declaration
protected override bool IsCompatibleBundle(Bundle bundle)
Parameters
Type |
Name |
Description |
Bundle |
bundle |
The bundle to check compatibility with.
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
|
Improve this Doc
View Source
ResolveExternalResource(String)
Resolves an external ResourceFile, or returns null if it cannot be found.
Declaration
protected override ResourceFile ResolveExternalResource(string originalName)
Parameters
Type |
Name |
Description |
System.String |
originalName |
The original name of the ResourceFile.
|
Returns
Overrides
Extension Methods