예제 #1
0
    static void endPlayerJob()
    {
        OnJobEnd.Invoke();
        EventControl.removeEvents(PlayerDataHolder.Current.PlayerJob.getJobEvents());
        PaerToolBox.callNonUniqueStatChange(PlayerDataHolder.Current.PlayerJob);
        PlayerDataHolder.Current.PlayerJob = null;
        Flag flag = new Flag("PLAYER_JOB_CONTRACT_END", 0, false);

        flag.FireFlag();
    }
예제 #2
0
 /// <summary>
 /// Passthrough event handler for <see cref="OnJobEnd"/>.
 /// </summary>
 /// <param name="obj">The <see cref="JobEndInfo"/>.</param>
 private static void JobManager_JobEnd(JobEndInfo obj) => OnJobEnd?.Invoke(null, obj);