Skip to content

OnMissionSucceeded

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnMissionSucceeded( BaseMission instance, MissionInstance missionInstance, BasePlayer assignee )
{
    Puts( "OnMissionSucceeded works!" );
}

Location

  • BaseMission::MissionSuccess(BaseMission/MissionInstance instance, BasePlayer assignee)
csharp
public virtual void MissionSuccess(BaseMission.MissionInstance instance, BasePlayer assignee)
{
	instance.status = BaseMission.MissionStatus.Accomplished;
	this.MissionEnded(instance, assignee);
	this.MissionComplete(instance, assignee);
	Interface.CallHook("OnMissionSucceeded", this, instance, assignee);
}

Released under the MIT License.