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
32
server/FSO.Server.Database/DA/Objects/DbObject.cs
Executable file
32
server/FSO.Server.Database/DA/Objects/DbObject.cs
Executable file
|
@ -0,0 +1,32 @@
|
|||
using System.Collections.Generic;
|
||||
|
||||
namespace FSO.Server.Database.DA.Objects
|
||||
{
|
||||
public class DbObject
|
||||
{
|
||||
//general persist idenfification
|
||||
public uint object_id { get; set; }
|
||||
public int shard_id { get; set; }
|
||||
public uint? owner_id { get; set; }
|
||||
public int? lot_id { get; set; }
|
||||
|
||||
//object info. most of this is unused, but can be used to show state for inventory objects
|
||||
public string dyn_obj_name { get; set; }
|
||||
public uint type { get; set; } //guid
|
||||
public ushort graphic { get; set; }
|
||||
public uint value { get; set; }
|
||||
public int budget { get; set; }
|
||||
public ulong dyn_flags_1 { get; set; }
|
||||
public ulong dyn_flags_2 { get; set; }
|
||||
|
||||
//upgrades
|
||||
public uint upgrade_level { get; set; }
|
||||
|
||||
//token system
|
||||
//if >0, attributes are stored on db rather than in state.
|
||||
//if 2, we're a value token. (attr 0 contains number that should be displayed in UI)
|
||||
public byte has_db_attributes { get; set; }
|
||||
|
||||
public List<int> AugmentedAttributes;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue