public void ForceUpdateObjectiveStatus(eWardenObjectiveInteractionType type, eWardenSubObjectiveStatus status)
 {
     WardenObjectiveManager.Current.AttemptInteract(new pWardenObjectiveInteraction
     {
         inLayer     = Base.LayerType,
         type        = type,
         newSubObj   = status,
         forceUpdate = true
     });
 }
示例#2
0
 private static void Postfix(LG_LayerType layer,
                             string mainObjective,
                             WardenObjectiveDataBlock data,
                             eWardenSubObjectiveStatus sub,
                             bool visible          = true,
                             bool isAdditionalHelp = false)
 {
     Watch.Current?.UpdateMainObjective(mainObjective);
     Log.Debug($"Got new objective! - {mainObjective}");
 }