You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
726 B
46 lines
726 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Numerics;
|
|
|
|
public interface IHasBuff
|
|
{
|
|
IReadOnlyList<BuffData> Buffs { get; }
|
|
}
|
|
|
|
public interface IBytesConverter
|
|
{
|
|
byte[] GetBytes();
|
|
void SetBytes(byte[] bytes, int offset = 0);
|
|
int GetSize();
|
|
}
|
|
|
|
public interface IOnPropertyChanged
|
|
{
|
|
event Action OnPropertyChanged;
|
|
}
|
|
|
|
public interface IOnCreate<T>
|
|
{
|
|
void OnCreate(T effect);
|
|
}
|
|
|
|
public interface IUpdatable
|
|
{
|
|
void Update(float deltaTime);
|
|
}
|
|
|
|
public interface IBattleEntity
|
|
{
|
|
bool IsBattleAvail();
|
|
void GetDamage(BigInteger atk, float critDmgRate, int critRate, int testID = -1);
|
|
}
|
|
|
|
public interface IOwnedComponent<T>
|
|
{
|
|
T Owner { get; }
|
|
void Initialize(T owner);
|
|
}
|
|
|
|
|
|
|
|
|