Class ContentLocationService
RemoteContentLocationService is an abstract in order to allow for custom implementations of resolving the location of remote content.
Namespace: Unity.Entities.Content
Assembly: Unity.Entities.dll
Syntax
public abstract class ContentLocationService
Properties
Name | Description |
---|---|
LocationCount | The number of locations. |
Name | The download service name. Each service name must be unique. |
Priority | The priority of the service. Higher values will place it at the front of the service list. |
Methods
Name | Description |
---|---|
Dispose() | |
GetLocationStatus(RemoteContentId) | Get the current status of a resolving location. |
GetResolvedContentIds(ref UnsafeList<RemoteContentId>) | Retrieves all resolved content ids. |
GetResolvedRemoteContentLocations(ref NativeHashSet<RemoteContentLocation>) | Retrieves all resolved content locations. Depending on the implementation, this may not contain the entire set of locations. |
OnAddedToDeliveryService(ContentDeliveryService) | Called when the RemoteContentLocationService is added to a delivery service. This allows for any setup needed after being added to the delivery service. |
Process() | Method called during the main process loop from the delivery service. |
ResolveLocation(RemoteContentId) | Starts the resolving process for a location. This may execute immediately and return a complete LocationStatus or it may be asynchronous. If the returned status Stat property is Resolving, you must periodically recheck the status to determine when it is completed. |
TryGetLocationSet(in FixedString512Bytes, out RemoteContentId*, out int) | Get a location set by name. |