Re-organize all projects (#4166)

This commit is contained in:
DrSmugleaf
2021-06-09 22:19:39 +02:00
committed by GitHub
parent 9f50e4061b
commit ff1a2d97ea
1773 changed files with 5258 additions and 5508 deletions

View File

@@ -1,6 +1,5 @@
#nullable enable
using System;
using Content.Server.Mobs;
using Robust.Shared.Utility;
namespace Content.Server.Objectives.Interfaces
@@ -12,7 +11,7 @@ namespace Content.Server.Objectives.Interfaces
/// </summary>
/// <param name="mind">Mind to assign to.</param>
/// <returns>The new IObjectiveCondition.</returns>
IObjectiveCondition GetAssigned(Mind mind);
IObjectiveCondition GetAssigned(Mind.Mind mind);
/// <summary>
/// Returns the title of the condition.

View File

@@ -1,6 +1,4 @@
using Content.Server.Mobs;
namespace Content.Server.Objectives.Interfaces
namespace Content.Server.Objectives.Interfaces
{
public interface IObjectiveRequirement
{
@@ -8,6 +6,6 @@ namespace Content.Server.Objectives.Interfaces
/// Checks whether or not the entity & its surroundings are valid to be given the objective.
/// </summary>
/// <returns>Returns true if objective can be given.</returns>
bool CanBeAssigned(Mind mind);
bool CanBeAssigned(Mind.Mind mind);
}
}

View File

@@ -1,5 +1,4 @@
using System.Collections.Generic;
using Content.Server.Mobs;
namespace Content.Server.Objectives.Interfaces
{
@@ -8,11 +7,11 @@ namespace Content.Server.Objectives.Interfaces
/// <summary>
/// Returns all objectives the provided mind is valid for.
/// </summary>
IEnumerable<ObjectivePrototype> GetAllPossibleObjectives(Mind mind);
IEnumerable<ObjectivePrototype> GetAllPossibleObjectives(Mind.Mind mind);
/// <summary>
/// Returns a randomly picked objective the provided mind is valid for.
/// </summary>
ObjectivePrototype? GetRandomObjective(Mind mind);
ObjectivePrototype? GetRandomObjective(Mind.Mind mind);
}
}