mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-03-22 01:12:24 +00:00
- NioTSO client isn't needed because we're using RayLib - Added FreeSO's API server to handle most backend operations
21 lines
702 B
C#
Executable file
21 lines
702 B
C#
Executable file
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);
|
|
}
|
|
}
|