chore: improve ship customization stuff #2402
@ -125,25 +125,18 @@ export interface IPlacedDecosClient extends Omit<IPlacedDecosDatabase, "_id"> {
 | 
			
		||||
 | 
			
		||||
export interface ISetShipCustomizationsRequest {
 | 
			
		||||
    ShipId: string;
 | 
			
		||||
    Customization: Customization;
 | 
			
		||||
    Customization: {
 | 
			
		||||
        SkinFlavourItem?: string;
 | 
			
		||||
        Colors?: IColor;
 | 
			
		||||
        ShipAttachments?: IShipAttachments;
 | 
			
		||||
        LevelDecosVisible?: boolean;
 | 
			
		||||
        CustomJson?: string;
 | 
			
		||||
    };
 | 
			
		||||
    IsExterior: boolean;
 | 
			
		||||
    AirSupportPower?: string;
 | 
			
		||||
    IsShop?: boolean;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export interface Customization {
 | 
			
		||||
    SkinFlavourItem: string;
 | 
			
		||||
    Colors: IColor;
 | 
			
		||||
    ShipAttachments: ShipAttachments;
 | 
			
		||||
    LevelDecosVisible: boolean;
 | 
			
		||||
    CustomJson: string;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
//TODO: check for more attachments
 | 
			
		||||
export interface ShipAttachments {
 | 
			
		||||
    HOOD_ORNAMENT: string;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export interface IShipDecorationsRequest {
 | 
			
		||||
    Type: string;
 | 
			
		||||
    Pos: [number, number, number];
 | 
			
		||||
@ -206,8 +199,8 @@ export interface IFavouriteLoadoutDatabase {
 | 
			
		||||
export interface ITailorShopDatabase {
 | 
			
		||||
    FavouriteLoadouts: IFavouriteLoadoutDatabase[];
 | 
			
		||||
    Colors?: IColor;
 | 
			
		||||
    CustomJson: string;
 | 
			
		||||
    LevelDecosVisible: boolean;
 | 
			
		||||
    CustomJson?: string;
 | 
			
		||||
    LevelDecosVisible?: boolean;
 | 
			
		||||
    Rooms: IRoom[];
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user