mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-07-05 06:00:29 -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
33
server/FSO.Server.Database/DA/Objects/IObjects.cs
Executable file
33
server/FSO.Server.Database/DA/Objects/IObjects.cs
Executable file
|
@ -0,0 +1,33 @@
|
|||
using System.Collections.Generic;
|
||||
|
||||
namespace FSO.Server.Database.DA.Objects
|
||||
{
|
||||
public interface IObjects
|
||||
{
|
||||
uint Create(DbObject obj);
|
||||
|
||||
DbObject Get(uint id);
|
||||
bool Delete(uint id);
|
||||
IEnumerable<DbObject> All(int shard_id);
|
||||
List<DbObject> GetAvatarInventory(uint avatar_id);
|
||||
List<DbObject> GetAvatarInventoryWithAttrs(uint avatar_id);
|
||||
List<DbObject> ObjOfTypeForAvatar(uint avatar_id, uint guid);
|
||||
List<DbObject> ObjOfTypeInAvatarInventory(uint avatar_id, uint guid);
|
||||
List<DbObject> GetObjectOwners(IEnumerable<uint> object_ids);
|
||||
int ReturnLostObjects(uint lot_id, IEnumerable<uint> object_ids);
|
||||
bool ConsumeObjsOfTypeInAvatarInventory(uint avatar_id, uint guid, int num);
|
||||
List<DbObject> GetByAvatarId(uint avatar_id);
|
||||
List<DbObject> GetByAvatarIdLot(uint avatar_id, uint lot_id);
|
||||
int UpdateObjectOwnerLot(uint avatar_id, int lot_id, uint targ_avatar_id, List<uint> untradableGUIDs);
|
||||
|
||||
bool UpdatePersistState(uint id, DbObject obj);
|
||||
bool SetInLot(uint id, uint? lot_id);
|
||||
|
||||
int ChangeInventoryOwners(IEnumerable<uint> object_ids, uint oldOwner, uint newOwner);
|
||||
|
||||
List<DbObjectAttribute> GetObjectAttributes(List<uint> objects);
|
||||
int GetSpecificObjectAttribute(uint objectID, int index);
|
||||
void SetObjectAttributes(List<DbObjectAttribute> attrs);
|
||||
int TotalObjectAttributes(uint guid, int index);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue