Table of Contents

Class Buff

Namespace
Nekoyume.Model.Buff
Assembly
Lib9c.dll
[Serializable]
public abstract class Buff : ICloneable
Inheritance
Buff
Implements
Derived
Inherited Members

Constructors

Buff(Buff)

protected Buff(Buff value)

Parameters

value Buff

Buff(BuffInfo)

protected Buff(BuffInfo buffInfo)

Parameters

buffInfo BuffInfo

Properties

BuffInfo

public BuffInfo BuffInfo { get; }

Property Value

BuffInfo

OriginalDuration

public int OriginalDuration { get; }

Property Value

int

RemainedDuration

public int RemainedDuration { get; set; }

Property Value

int

Methods

Clone()

Creates a new object that is a copy of the current instance.

public abstract object Clone()

Returns

object

A new object that is a copy of this instance.

GetTarget(CharacterBase)

public virtual IEnumerable<CharacterBase> GetTarget(CharacterBase caster)

Parameters

caster CharacterBase

Returns

IEnumerable<CharacterBase>

IsBuff()

public abstract bool IsBuff()

Returns

bool

IsDebuff()

public abstract bool IsDebuff()

Returns

bool