Method ComputeSize
ComputeSize(IResourceLocation, ResourceManager)
Computes the amount of data needed to be downloaded for this bundle.
선언
public virtual long ComputeSize(IResourceLocation location, ResourceManager resourceManager)
파라미터
타입 | 이름 | 설명 |
---|---|---|
IResourceLocation | location | The location of the bundle. |
ResourceManager | resourceManager | The object that contains all the resource locations. |
반환
타입 | 설명 |
---|---|
long | The size in bytes of the bundle that is needed to be downloaded. If the local cache contains the bundle or it is a local bundle, 0 will be returned. |