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.
39 lines
531 B
39 lines
531 B
using System;
|
|
using System.Collections.Generic;
|
|
|
|
public interface IHasDirtyFlag
|
|
{
|
|
bool IsDirty { get; set; }
|
|
}
|
|
|
|
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);
|
|
}
|
|
|
|
|
|
|
|
|
|
|