using System.Collections.Generic; namespace FSO.Server.Database.DA.AvatarClaims { public interface IAvatarClaims { DbAvatarClaim Get(int id); IEnumerable GetAll(); IEnumerable GetAllActiveAvatars(); int? GetAllActiveAvatarsCount(); DbAvatarClaim GetByAvatarID(uint id); IEnumerable GetAllByOwner(string owner); int? TryCreate(DbAvatarClaim claim); bool Claim(int id, string previousOwner, string newOwner, uint location); void RemoveRemaining(string previousOwner, uint location); void Delete(int id, string owner); void DeleteAll(string owner); } }