mysimulation/server/FSO.Server.Database/DA/LotClaims/ILotClaims.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

22 lines
742 B
C#
Executable file

using FSO.Common.Enum;
using System.Collections.Generic;
namespace FSO.Server.Database.DA.LotClaims
{
public interface ILotClaims
{
uint? TryCreate(DbLotClaim claim);
IEnumerable<DbLotClaim> GetAllByOwner(string owner);
bool Claim(uint id, string previousOwner, string newOwner);
DbLotClaim Get(uint id);
DbLotClaim GetByLotID(int id);
void RemoveAllByOwner(string owner);
void Delete(uint id, string owner);
List<DbLotStatus> AllLocations(int shardId);
List<DbLotActive> AllActiveLots(int shardId);
List<DbLotStatus> Top100Filter(int shard_id, LotCategory category, int limit);
List<uint> RecentsFilter(uint avatar_id, int limit);
}
}