Class GenericStatusEffect
Adds a generic status effect to the entity,
not worrying about things like how to affect the time it lasts for
or component fields or anything. Just adds a component to an entity
for a given time. Easy.
Inheritance
System.Object
GenericStatusEffect
Assembly: Content.Server.dll
Syntax
public sealed class GenericStatusEffect : ReagentEffect
Fields
|
Improve this Doc
View Source
Component
Declaration
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Key
Declaration
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Refresh
Declaration
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Time
Declaration
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Type
Should this effect add the status effect, remove time from it, or set its cooldown?
Declaration
public StatusEffectMetabolismType Type
Field Value
Methods
|
Improve this Doc
View Source
Effect(ReagentEffectArgs)
Declaration
public override void Effect(ReagentEffectArgs args)
Parameters
Type |
Name |
Description |
Content.Shared.Chemistry.Reagent.ReagentEffectArgs |
args |
|
|
Improve this Doc
View Source
ReagentEffectGuidebookText(IPrototypeManager, IEntitySystemManager)
Declaration
protected override string? ReagentEffectGuidebookText(IPrototypeManager prototype, IEntitySystemManager entSys)
Parameters
Type |
Name |
Description |
Robust.Shared.Prototypes.IPrototypeManager |
prototype |
|
IEntitySystemManager |
entSys |
|
Returns
Type |
Description |
System.Nullable<System.String> |
|