/* this.server.addService("/client/friend/request/list/inbox", new FileService()); this.server.addService("/client/friend/request/list/outbox", new FileService()); this.server.addService("/client/game/config", new FileService()); this.server.addService("/client/game/profile/list", new FileService()); this.server.addService("/client/game/profile/select", new FileService()); this.server.addService("/client/handbook/builds/my/list", new FileService()); this.server.addService("/client/mail/dialog/list", new FileService()); this.server.addService("/client/match/updateping", new FileService()); this.server.addService("/client/notifier/channel/create", new FileService()); this.server.addService("/client/profile/status", new FileService()); // todo: trading server this.server.addService("/client/trading/api/traderSettings", new FileService()); this.server.addService("/client/trading/customization/storage", new FileService()); // todo: profile creation this.server.addService("/client/account/customization", new FileService()); this.server.addService("/client/game/profile/nickname/reserved", new FileService()); this.server.addService("/client/game/profile/nickname/validate", new FileService()); this.server.addService("/client/game/profile/create", new FileService()); */ export class GameStartService extends Service { public run(req: IncomingMessage, res: ServerResponse, data: string): void { this.sendJson(res, CachedResponseHelper.responses["NULL"]); } } export class GameValidateVersionService extends Service { public run(req: IncomingMessage, res: ServerResponse, data: string): void { this.sendJson(res, CachedResponseHelper.responses["NULL"]); } } export class ServerListService extends Service { public run(req: IncomingMessage, res: ServerResponse, data: string): void { this.sendJson(res, CachedResponseHelper.responses["SERVERLIST"]); } } export class FriendListService extends Service { public run(req: IncomingMessage, res: ServerResponse, data: string): void { this.sendJson(res, CachedResponseHelper.responses["FRIENDLIST"]); } } export class KeepAliveService extends Service { public run(req: IncomingMessage, res: ServerResponse, data: string): void { this.sendJson(res, CachedResponseHelper.responses["KEEPALIVE"]); } } export class GameLogoutService extends Service { public run(req: IncomingMessage, res: ServerResponse, data: string): void { this.sendJson(res, CachedResponseHelper.responses["GAME_LOGOUT"]); } } export class LocaleLanguagesService extends Service { public run(req: IncomingMessage, res: ServerResponse, data: string): void { this.sendFile(res, FileResponseHelper.files["LOCALES_LANGUAGES"]); } } export class LocaleEnMenuService extends Service { public run(req: IncomingMessage, res: ServerResponse, data: string): void { this.sendFile(res, FileResponseHelper.files["LOCALES_ENMENU"]); } } export class LocaleEnGlobalService extends Service { public run(req: IncomingMessage, res: ServerResponse, data: string): void { this.sendFile(res, FileResponseHelper.files["LOCALES_ENGLOBAL"]); } } export class CustomizationTemplatesService extends Service { public run(req: IncomingMessage, res: ServerResponse, data: string): void { this.sendFile(res, FileResponseHelper.files["TEMPLATES_CUSTOMIZATIONGLOBAL"]); } } export class HideoutAreaTemplatesService extends Service { public run(req: IncomingMessage, res: ServerResponse, data: string): void { this.sendFile(res, FileResponseHelper.files["TEMPLATES_HIDEOUTAREAS"]); } } export class HideoutRecipeTemplatesService extends Service { public run(req: IncomingMessage, res: ServerResponse, data: string): void { this.sendFile(res,FileResponseHelper.files["TEMPLATES_HIDEOUTRECIPES"] ); } } export class HideoutScavcaseTemplatesService extends Service { public run(req: IncomingMessage, res: ServerResponse, data: string): void { this.sendFile(res, FileResponseHelper.files["TEMPLATES_HIDEOUTSCAVCASE"]); } } export class LocationTemplatesService extends Service { public run(req: IncomingMessage, res: ServerResponse, data: string): void { this.sendFile(res, FileResponseHelper.files["TEMPLATES_LOCATIONS"]); } } export class ClientSettingsService extends Service { public run(req: IncomingMessage, res: ServerResponse, data: string): void { this.sendFile(res, FileResponseHelper.files["SETTINGS_CLIENT"]); } } export class GameSettingsService extends Service { public run(req: IncomingMessage, res: ServerResponse, data: string): void { this.sendFile(res, FileResponseHelper.files["SETTINGS_GAME"]); } } export class HideoutSettingsService extends Service { public run(req: IncomingMessage, res: ServerResponse, data: string): void { this.sendFile(res, FileResponseHelper.files["SETTINGS_HIDEOUT"]); } } export class WeatherService extends Service { public run(req: IncomingMessage, res: ServerResponse, data: string): void { this.sendFile(res, FileResponseHelper.files["GENERATE_WEATHER"]); } }