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>(
|
||||
{
|
||||
FocusSchool: String,
|
||||
PresetIcon: String,
|
||||
Favorite: Boolean,
|
||||
n: String,
|
||||
s: EquipmentSelectionSchema,
|
||||
p: EquipmentSelectionSchema,
|
||||
l: EquipmentSelectionSchema,
|
||||
m: EquipmentSelectionSchema
|
||||
n: String, // Loadout name
|
||||
s: EquipmentSelectionSchema, // Suit
|
||||
l: EquipmentSelectionSchema, // Primary weapon
|
||||
p: EquipmentSelectionSchema, // Secondary weapon
|
||||
m: EquipmentSelectionSchema, // Melee weapon
|
||||
h: EquipmentSelectionSchema, // Gravimag weapon
|
||||
a: EquipmentSelectionSchema // Necromech exalted weapon
|
||||
},
|
||||
{
|
||||
id: false
|
||||
|
@ -621,11 +621,11 @@ export interface ILoadoutConfigClient {
|
||||
Favorite?: boolean;
|
||||
n?: string; // Loadout name
|
||||
s?: IEquipmentSelection; // Suit
|
||||
p?: IEquipmentSelection;
|
||||
p?: IEquipmentSelection; // Secondary weapon
|
||||
l?: IEquipmentSelection; // Primary weapon
|
||||
m?: IEquipmentSelection; // Melee weapon
|
||||
h?: IEquipmentSelection; // Gravimag weapon
|
||||
a?: IEquipmentSelection;
|
||||
a?: IEquipmentSelection; // Necromech exalted weapon
|
||||
ItemId: IOid;
|
||||
Remove?: boolean; // when client wants to remove a config, it only includes ItemId & Remove.
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user