mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-07-18 20:16:44 -04:00
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
This commit is contained in:
parent
f12ba1502b
commit
22191ce648
591 changed files with 53264 additions and 3362 deletions
27
server/FSO.Server.Database/DA/Neighborhoods/INeighborhoods.cs
Executable file
27
server/FSO.Server.Database/DA/Neighborhoods/INeighborhoods.cs
Executable file
|
@ -0,0 +1,27 @@
|
|||
using System.Collections.Generic;
|
||||
|
||||
namespace FSO.Server.Database.DA.Neighborhoods
|
||||
{
|
||||
public interface INeighborhoods
|
||||
{
|
||||
List<DbNeighborhood> All(int shard_id);
|
||||
DbNeighborhood Get(uint neighborhood_id);
|
||||
DbNeighborhood GetByMayor(uint mayor_id);
|
||||
DbNeighborhood GetByLocation(uint location);
|
||||
int DeleteMissing(int shard_id, List<string> AllGUIDs);
|
||||
int UpdateFromJSON(DbNeighborhood update);
|
||||
int AddNhood(DbNeighborhood update);
|
||||
void UpdateDescription(uint neighborhood_id, string description);
|
||||
void UpdateMayor(uint neigh_id, uint? mayor_id);
|
||||
void UpdateTownHall(uint neigh_id, uint? lot_id);
|
||||
void UpdateCycle(uint neigh_id, uint? cycle_id);
|
||||
void UpdateName(uint neighborhood_id, string name);
|
||||
void UpdateFlag(uint neighborhood_id, uint flag);
|
||||
|
||||
DbNhoodBan GetNhoodBan(uint user_id);
|
||||
bool AddNhoodBan(DbNhoodBan ban);
|
||||
|
||||
List<DbNeighborhood> SearchExact(int shard_id, string name, int limit);
|
||||
List<DbNeighborhood> SearchWildcard(int shard_id, string name, int limit);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue