mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-03-22 09:22:24 +00:00
22 lines
702 B
C#
22 lines
702 B
C#
|
using System.Collections.Generic;
|
|||
|
|
|||
|
namespace FSO.Server.Database.DA.AvatarClaims
|
|||
|
{
|
|||
|
public interface IAvatarClaims
|
|||
|
{
|
|||
|
DbAvatarClaim Get(int id);
|
|||
|
IEnumerable<DbAvatarClaim> GetAll();
|
|||
|
IEnumerable<DbAvatarActive> GetAllActiveAvatars();
|
|||
|
int? GetAllActiveAvatarsCount();
|
|||
|
DbAvatarClaim GetByAvatarID(uint id);
|
|||
|
IEnumerable<DbAvatarClaim> 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);
|
|||
|
}
|
|||
|
}
|