Server/project/src/servers/DatabaseServer.ts
Refringe 5740774a46
Apply Biome Formatting
This is the result of running `npm run format` which applies the Biome formatting rules. Rejoice!
2024-07-23 11:12:53 -04:00

27 lines
671 B
TypeScript

import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables";
import { injectable } from "tsyringe";
@injectable()
export class DatabaseServer {
protected tableData: IDatabaseTables = {
bots: undefined,
hideout: undefined,
locales: undefined,
locations: undefined,
match: undefined,
templates: undefined,
traders: undefined,
globals: undefined,
server: undefined,
settings: undefined,
};
public getTables(): IDatabaseTables {
return this.tableData;
}
public setTables(tableData: IDatabaseTables): void {
this.tableData = tableData;
}
}