Interface IMissionTask
Interface for an object that can be used as a mission task.
Namespace: SociallyDistant.Core.Missions
Assembly: SociallyDistant.Framework.dll
Syntax
public interface IMissionTask
Methods
WaitForCompletion(IMissionContext, string[])
Called by the mission system when the objective is started. Waits for the task to be completed.
Declaration
Task WaitForCompletion(IMissionContext context, string[] arguments)
Parameters
Type | Name | Description |
---|---|---|
IMissionContext | context | Information about the mission being played, and a reference to the game context. |
string[] | arguments | Arguments specified by the mission script for the objective. |
Returns
Type | Description |
---|---|
Task | A task that completes when the objective is completed by the player. |