Added ITemplates
interface
This commit is contained in:
parent
d6f7374a9a
commit
3d4447c978
@ -1,20 +1,13 @@
|
|||||||
import { IGlobals } from "@spt/models/eft/common/IGlobals";
|
import { IGlobals } from "@spt/models/eft/common/IGlobals";
|
||||||
import { IAchievement } from "@spt/models/eft/common/tables/IAchievement";
|
|
||||||
import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem";
|
|
||||||
import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase";
|
|
||||||
import { IMatch } from "@spt/models/eft/common/tables/IMatch";
|
import { IMatch } from "@spt/models/eft/common/tables/IMatch";
|
||||||
import { IProfileTemplates } from "@spt/models/eft/common/tables/IProfileTemplate";
|
|
||||||
import { IQuest } from "@spt/models/eft/common/tables/IQuest";
|
|
||||||
import { IRepeatableQuestDatabase } from "@spt/models/eft/common/tables/IRepeatableQuests";
|
|
||||||
import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem";
|
|
||||||
import { ITrader } from "@spt/models/eft/common/tables/ITrader";
|
import { ITrader } from "@spt/models/eft/common/tables/ITrader";
|
||||||
import { IDefaultEquipmentPreset } from "@spt/models/eft/profile/ISptProfile";
|
|
||||||
import { IBots } from "@spt/models/spt/bots/IBots";
|
import { IBots } from "@spt/models/spt/bots/IBots";
|
||||||
import { IHideout } from "@spt/models/spt/hideout/IHideout";
|
import { IHideout } from "@spt/models/spt/hideout/IHideout";
|
||||||
import { ILocaleBase } from "@spt/models/spt/server/ILocaleBase";
|
import { ILocaleBase } from "@spt/models/spt/server/ILocaleBase";
|
||||||
import { ILocations } from "@spt/models/spt/server/ILocations";
|
import { ILocations } from "@spt/models/spt/server/ILocations";
|
||||||
import { IServerBase } from "@spt/models/spt/server/IServerBase";
|
import { IServerBase } from "@spt/models/spt/server/IServerBase";
|
||||||
import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase";
|
import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase";
|
||||||
|
import { ITemplates } from "@spt/models/spt/templates/ITemplates";
|
||||||
|
|
||||||
export interface IDatabaseTables
|
export interface IDatabaseTables
|
||||||
{
|
{
|
||||||
@ -23,26 +16,7 @@ export interface IDatabaseTables
|
|||||||
locales?: ILocaleBase
|
locales?: ILocaleBase
|
||||||
locations?: ILocations
|
locations?: ILocations
|
||||||
match?: IMatch
|
match?: IMatch
|
||||||
templates?: {
|
templates?: ITemplates
|
||||||
character: string[]
|
|
||||||
items: Record<string, ITemplateItem>
|
|
||||||
quests: Record<string, IQuest>
|
|
||||||
repeatableQuests: IRepeatableQuestDatabase
|
|
||||||
handbook: IHandbookBase
|
|
||||||
customization: Record<string, ICustomizationItem>
|
|
||||||
|
|
||||||
/** The profile templates listed in the launcher on profile creation, split by account type (e.g. Standard) then side (e.g. bear/usec) */
|
|
||||||
profiles: IProfileTemplates
|
|
||||||
|
|
||||||
/** Flea prices of items - gathered from online flea market dump */
|
|
||||||
prices: Record<string, number>
|
|
||||||
|
|
||||||
/** Default equipment loadouts that show on main inventory screen */
|
|
||||||
defaultEquipmentPresets: IDefaultEquipmentPreset[]
|
|
||||||
|
|
||||||
/** Achievements */
|
|
||||||
achievements: IAchievement[]
|
|
||||||
}
|
|
||||||
traders?: Record<string, ITrader>
|
traders?: Record<string, ITrader>
|
||||||
|
|
||||||
globals?: IGlobals
|
globals?: IGlobals
|
||||||
|
30
project/src/models/spt/templates/ITemplates.ts
Normal file
30
project/src/models/spt/templates/ITemplates.ts
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
import { IAchievement } from "@spt/models/eft/common/tables/IAchievement";
|
||||||
|
import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem";
|
||||||
|
import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase";
|
||||||
|
import { IProfileTemplates } from "@spt/models/eft/common/tables/IProfileTemplate";
|
||||||
|
import { IQuest } from "@spt/models/eft/common/tables/IQuest";
|
||||||
|
import { IRepeatableQuestDatabase } from "@spt/models/eft/common/tables/IRepeatableQuests";
|
||||||
|
import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem";
|
||||||
|
import { IDefaultEquipmentPreset } from "@spt/models/eft/profile/ISptProfile";
|
||||||
|
|
||||||
|
export interface ITemplates
|
||||||
|
{
|
||||||
|
character: string[]
|
||||||
|
items: Record<string, ITemplateItem>
|
||||||
|
quests: Record<string, IQuest>
|
||||||
|
repeatableQuests: IRepeatableQuestDatabase
|
||||||
|
handbook: IHandbookBase
|
||||||
|
customization: Record<string, ICustomizationItem>
|
||||||
|
|
||||||
|
/** The profile templates listed in the launcher on profile creation, split by account type (e.g. Standard) then side (e.g. bear/usec) */
|
||||||
|
profiles: IProfileTemplates
|
||||||
|
|
||||||
|
/** Flea prices of items - gathered from online flea market dump */
|
||||||
|
prices: Record<string, number>
|
||||||
|
|
||||||
|
/** Default equipment loadouts that show on main inventory screen */
|
||||||
|
defaultEquipmentPresets: IDefaultEquipmentPreset[]
|
||||||
|
|
||||||
|
/** Achievements */
|
||||||
|
achievements: IAchievement[]
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user