61 lines
1.7 KiB
C#
61 lines
1.7 KiB
C#
// namespace Types.Models.Spt.Mod;
|
|
//
|
|
// public class NewItemDetails
|
|
// {
|
|
// export abstract class NewItemDetailsBase {
|
|
// /** Price of the item on flea market */
|
|
// fleaPriceRoubles: number;
|
|
//
|
|
// /** Price of the item in the handbook */
|
|
// handbookPriceRoubles: number;
|
|
//
|
|
// /** Handbook ParentId for the new item */
|
|
// handbookParentId: string;
|
|
//
|
|
// /**
|
|
// * A dictionary for locale settings, key = langauge (e.g. en,cn,es-mx,jp,fr)
|
|
// * If a language is not included, the first item in the array will be used in its place
|
|
// */
|
|
// locales: Record<string, LocaleDetails>;
|
|
// }
|
|
//
|
|
// export class NewItemFromCloneDetails extends NewItemDetailsBase {
|
|
// /** Id of the item to copy and use as a base */
|
|
// itemTplToClone: string;
|
|
//
|
|
// /** Item properties that should be applied over the top of the cloned base */
|
|
// overrideProperties: IProps;
|
|
//
|
|
// /** ParentId for the new item (item type) */
|
|
// parentId: string;
|
|
//
|
|
// /**
|
|
// * the id the new item should have, leave blank to have one generated for you
|
|
// * This is often known as the TplId, or TemplateId
|
|
// */
|
|
// newId = "";
|
|
// }
|
|
//
|
|
// export class NewItemDetails extends NewItemDetailsBase {
|
|
// newItem: ITemplateItem;
|
|
// }
|
|
//
|
|
// export class LocaleDetails {
|
|
// name: string;
|
|
// shortName: string;
|
|
// description: string;
|
|
// }
|
|
//
|
|
// export class CreateItemResult {
|
|
// constructor() {
|
|
// this.success = false;
|
|
// this.errors = [];
|
|
// }
|
|
//
|
|
// success: boolean;
|
|
// itemId: string;
|
|
// errors: string[];
|
|
// }
|
|
// }
|
|
|
|
// TODO: This needs to be reworked with however we do it for this project |