feat: unequipping weapons & deleting loadout configs #160

Merged
Sainan merged 3 commits from unequip-weapon into main 2024-05-04 14:11:55 -07:00
Showing only changes of commit d65480a0bb - Show all commits

View File

@ -76,6 +76,7 @@ export interface ILoadoutConfigDatabase extends Omit<ILoadoutConfigClient, "Item
// for request and response from and to client // for request and response from and to client
export interface ILoadoutConfigClient { export interface ILoadoutConfigClient {
ItemId: IOid; ItemId: IOid;
Remove?: boolean; // when client wants to remove a config, it only includes ItemId & Remove.
n?: string; n?: string;
PresetIcon?: string; PresetIcon?: string;
Favorite?: boolean; Favorite?: boolean;
@ -83,7 +84,6 @@ export interface ILoadoutConfigClient {
p?: IEquipmentSelection; p?: IEquipmentSelection;
l?: IEquipmentSelection; l?: IEquipmentSelection;
m?: IEquipmentSelection; m?: IEquipmentSelection;
Remove?: boolean;
} }
export interface IEquipmentSelection { export interface IEquipmentSelection {