Table of Contents

Class KitModel

Namespace
Uncreated.Warfare.Models.Kits
Assembly
Uncreated.Warfare.dll
[Table("kits")]
public class KitModel
Inheritance
KitModel
Inherited Members

Properties

Access

public List<KitAccess> Access { get; set; }

Property Value

List<KitAccess>

Branch

[Required]
[JsonConverter(typeof(JsonStringEnumConverter))]
[CommandSettable]
public Branch Branch { get; set; }

Property Value

Branch

Bundles

public List<KitEliteBundle> Bundles { get; set; }

Property Value

List<KitEliteBundle>

Class

[Required]
[JsonConverter(typeof(JsonStringEnumConverter))]
[CommandSettable]
public Class Class { get; set; }

Property Value

Class

CreatedAt

public DateTimeOffset CreatedAt { get; set; }

Property Value

DateTimeOffset

Creator

public ulong Creator { get; set; }

Property Value

ulong

CreditCost

[CommandSettable]
public int CreditCost { get; set; }

Property Value

int

Delays

public List<KitDelay> Delays { get; set; }

Property Value

List<KitDelay>

Disabled

public bool Disabled { get; set; }

Property Value

bool

Faction

[JsonIgnore]
public Faction? Faction { get; set; }

Property Value

Faction

FactionFilter

public List<KitFilteredFaction> FactionFilter { get; set; }

Property Value

List<KitFilteredFaction>

FactionFilterIsWhitelist

public bool FactionFilterIsWhitelist { get; set; }

Property Value

bool

FactionId

[ForeignKey("Faction")]
[Column("Faction")]
public uint? FactionId { get; set; }

Property Value

uint?

Favorites

public List<KitFavorite> Favorites { get; set; }

Property Value

List<KitFavorite>

Id

[Required]
[StringLength(25)]
public required string Id { get; set; }

Property Value

string

Items

public List<KitItemModel> Items { get; set; }

Property Value

List<KitItemModel>

LastEditedAt

public DateTimeOffset LastEditedAt { get; set; }

Property Value

DateTimeOffset

LastEditor

public ulong LastEditor { get; set; }

Property Value

ulong

MapFilter

public List<KitFilteredMap> MapFilter { get; set; }

Property Value

List<KitFilteredMap>

MapFilterIsWhitelist

public bool MapFilterIsWhitelist { get; set; }

Property Value

bool

MinRequiredSquadMembers

[CommandSettable]
public int? MinRequiredSquadMembers { get; set; }

Property Value

int?

PremiumCost

[CommandSettable]
public decimal PremiumCost { get; set; }

Property Value

decimal

PrimaryKey

[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
[Column("pk")]
public uint PrimaryKey { get; set; }

Property Value

uint

RequestCooldown

[CommandSettable]
public float RequestCooldown { get; set; }

Property Value

float

RequiresNitro

[CommandSettable("NitroBooster")]
public bool RequiresNitro { get; set; }

Property Value

bool

RequiresSquad

[CommandSettable]
public bool RequiresSquad { get; set; }

Property Value

bool

Season

[CommandSettable]
public int Season { get; set; }

Property Value

int

Skillsets

public List<KitSkillset> Skillsets { get; set; }

Property Value

List<KitSkillset>

SquadLevel

[CommandSettable]
public SquadLevel SquadLevel { get; set; }

Property Value

SquadLevel

Translations

public List<KitTranslation> Translations { get; set; }

Property Value

List<KitTranslation>

Type

[Required]
[JsonConverter(typeof(JsonStringEnumConverter))]
[CommandSettable]
public KitType Type { get; set; }

Property Value

KitType

UnlockRequirements

public List<KitUnlockRequirement> UnlockRequirements { get; set; }

Property Value

List<KitUnlockRequirement>

Weapons

[StringLength(128)]
[CommandSettable]
public string? Weapons { get; set; }

Property Value

string