mysimulation/server/FSO.Server.Database/DA/AvatarClaims/IAvatarClaims.cs
Tony Bark 22191ce648 Removed NioTSO client and server
- NioTSO client isn't needed because we're using RayLib
- Added FreeSO's API server to handle most backend operations
2024-05-01 02:55:43 -04:00

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);
}
}