Struct RemoteContentLocation
This struct contains all information needed to download a remote content file.
Namespace: Unity.Entities.Content
Assembly: solution.dll
Syntax
[Serializable]
public struct RemoteContentLocation
Fields
Name | Description |
---|---|
Crc | The CRC value for the remote data. This is used to detect data corruption. |
Hash | The hash of the contents of the remote data. |
Path | The path of the remote content - this is typically the url. |
Size | The size, in bytes, of the remote data. |
Type | The type of location. This can be used by download services to determine if they are compatible. |
Properties
Name | Description |
---|---|
IsValid | Returns true if the Hash is valid. |
Methods
Name | Description |
---|---|
Equals(RemoteContentLocation) | Checks if the path to a remote file is equal to another. |
GetHashCode() | Gets the path to the hash code. |