Class JobRequirements
Inheritance
System.Object
JobRequirements
Assembly: Content.Shared.dll
Syntax
public static class JobRequirements : object
Methods
|
Improve this Doc
View Source
TryRequirementMet(JobRequirement, Dictionary<String, TimeSpan>, out FormattedMessage, IEntityManager, IPrototypeManager)
Returns a string with the reason why a particular requirement may not be met.
Declaration
public static bool TryRequirementMet(JobRequirement requirement, Dictionary<string, TimeSpan> playTimes, out FormattedMessage reason, IEntityManager entManager, IPrototypeManager prototypes)
Parameters
Type |
Name |
Description |
JobRequirement |
requirement |
|
Dictionary<System.String, TimeSpan> |
playTimes |
|
Robust.Shared.Utility.FormattedMessage |
reason |
|
IEntityManager |
entManager |
|
Robust.Shared.Prototypes.IPrototypeManager |
prototypes |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
TryRequirementsMet(JobPrototype, Dictionary<String, TimeSpan>, out FormattedMessage, IEntityManager, IPrototypeManager)
Declaration
public static bool TryRequirementsMet(JobPrototype job, Dictionary<string, TimeSpan> playTimes, out FormattedMessage reason, IEntityManager entManager, IPrototypeManager prototypes)
Parameters
Type |
Name |
Description |
JobPrototype |
job |
|
Dictionary<System.String, TimeSpan> |
playTimes |
|
Robust.Shared.Utility.FormattedMessage |
reason |
|
IEntityManager |
entManager |
|
Robust.Shared.Prototypes.IPrototypeManager |
prototypes |
|
Returns
Type |
Description |
System.Boolean |
|