22 lines
580 B
C#
22 lines
580 B
C#
using UnityEngine;
|
|
|
|
namespace Continentis.MainGame.Character
|
|
{
|
|
public abstract partial class CharacterBuffBase : BuffBase<CharacterBase>
|
|
{
|
|
public CharacterBase attachedCharacter;
|
|
public CharacterBase sourceCharacter;
|
|
|
|
public UISubmodule uiSubmodule;
|
|
}
|
|
|
|
public partial class CharacterBuffBase
|
|
{
|
|
public override void Apply(CharacterBase attached)
|
|
{
|
|
this.Apply(attached, null);
|
|
}
|
|
|
|
public abstract void Apply(CharacterBase attachedCharacter, CharacterBase sourceCharacter = null);
|
|
}
|
|
} |