improve: loadout config save FocusSchool (#408)
This commit is contained in:
parent
9b7127972d
commit
2178b7523e
@ -27,13 +27,16 @@ const EquipmentSelectionSchema = new Schema<IEquipmentSelection>(
|
|||||||
|
|
||||||
const loadoutConfigSchema = new Schema<ILoadoutConfigDatabase>(
|
const loadoutConfigSchema = new Schema<ILoadoutConfigDatabase>(
|
||||||
{
|
{
|
||||||
|
FocusSchool: String,
|
||||||
PresetIcon: String,
|
PresetIcon: String,
|
||||||
Favorite: Boolean,
|
Favorite: Boolean,
|
||||||
n: String,
|
n: String, // Loadout name
|
||||||
s: EquipmentSelectionSchema,
|
s: EquipmentSelectionSchema, // Suit
|
||||||
p: EquipmentSelectionSchema,
|
l: EquipmentSelectionSchema, // Primary weapon
|
||||||
l: EquipmentSelectionSchema,
|
p: EquipmentSelectionSchema, // Secondary weapon
|
||||||
m: EquipmentSelectionSchema
|
m: EquipmentSelectionSchema, // Melee weapon
|
||||||
|
h: EquipmentSelectionSchema, // Gravimag weapon
|
||||||
|
a: EquipmentSelectionSchema // Necromech exalted weapon
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: false
|
id: false
|
||||||
|
@ -621,11 +621,11 @@ export interface ILoadoutConfigClient {
|
|||||||
Favorite?: boolean;
|
Favorite?: boolean;
|
||||||
n?: string; // Loadout name
|
n?: string; // Loadout name
|
||||||
s?: IEquipmentSelection; // Suit
|
s?: IEquipmentSelection; // Suit
|
||||||
p?: IEquipmentSelection;
|
p?: IEquipmentSelection; // Secondary weapon
|
||||||
l?: IEquipmentSelection; // Primary weapon
|
l?: IEquipmentSelection; // Primary weapon
|
||||||
m?: IEquipmentSelection; // Melee weapon
|
m?: IEquipmentSelection; // Melee weapon
|
||||||
h?: IEquipmentSelection; // Gravimag weapon
|
h?: IEquipmentSelection; // Gravimag weapon
|
||||||
a?: IEquipmentSelection;
|
a?: IEquipmentSelection; // Necromech exalted weapon
|
||||||
ItemId: IOid;
|
ItemId: IOid;
|
||||||
Remove?: boolean; // when client wants to remove a config, it only includes ItemId & Remove.
|
Remove?: boolean; // when client wants to remove a config, it only includes ItemId & Remove.
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user