Class AreaBuffComponent
Inheritance
System.Object
AreaBuffComponent
Implements
System.ComponentModel.INotifyPropertyChanged
Assembly: Eco.Gameplay.dll
Syntax
public abstract class AreaBuffComponent : WorldObjectComponent, ILinkable, IOwned, IHasSerializableID, IRPCAuthChecks, INotifyPropertyChanged, IThreadSafeSubscriptions, ISubscriptions<ThreadSafeSubscriptions>, ISubscriptions, IHasInteractions, IAreaBuffer, IController, IViewController, IHasUniversalID
Constructors
AreaBuffComponent()
Declaration
public AreaBuffComponent()
Properties
AllowStackingBuffs
Declaration
public bool AllowStackingBuffs { get; }
Property Value
Type |
Description |
System.Boolean |
|
BoostIcons
Declaration
public abstract string BoostIcons { get; }
Property Value
Type |
Description |
System.String |
|
BuffDesc
Declaration
public abstract string BuffDesc { get; }
Property Value
Type |
Description |
System.String |
|
BuffIconName
Declaration
public virtual string BuffIconName { get; }
Property Value
Type |
Description |
System.String |
|
BuffMarkedUpName
Declaration
public virtual string BuffMarkedUpName { get; }
Property Value
Type |
Description |
System.String |
|
BuffSourceObject
Declaration
public INamed BuffSourceObject { get; }
Property Value
OverlayCategories
Declaration
public List<string[]> OverlayCategories { get; }
Property Value
Type |
Description |
System.Collections.Generic.List<System.String[]> |
|
StrengthAtPos
Declaration
public AreaDiminVal StrengthAtPos { get; }
Property Value
Methods
ApplyBuff(IBuffable, Single)
Declaration
public abstract Nullable<BuffDesc> ApplyBuff(IBuffable target, float strength)
Parameters
Type |
Name |
Description |
IBuffable |
target |
|
System.Single |
strength |
|
Returns
Type |
Description |
System.Nullable<BuffDesc> |
|
CanBuff(IBuffable)
Declaration
public abstract bool CanBuff(IBuffable buffable)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Destroy()
Declaration
public override void Destroy()
Overrides
Initialize()
Declaration
public override void Initialize()
Overrides
Implements
System.ComponentModel.INotifyPropertyChanged
Extension Methods