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