mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-03-20 16:51:21 +00:00
33 lines
1.1 KiB
C#
33 lines
1.1 KiB
C#
|
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;
|
|||
|
}
|
|||
|
}
|