mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-03-25 02:39:11 +00:00
23 lines
742 B
C#
23 lines
742 B
C#
|
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);
|
|||
|
}
|
|||
|
}
|