using System; using System.Collections.Generic; public interface IHasDirtyFlag { bool IsDirty { get; set; } } public interface IHasBuff { IReadOnlyList 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 { void OnCreate(T effect); } public interface IUpdatable { void Update(float deltaTime); }