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