mysimulation/server/FSO.Server.Database/DA/Objects/DbObject.cs
Tony Bark 22191ce648 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
2024-05-01 02:55:43 -04:00

32 lines
1.1 KiB
C#
Executable file

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;
}
}