mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 21:24:14 +00:00
ffc2fadc20
## Description: ## Please complete the following: - [ ] I have added screenshots for all UI updates - [ ] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced - [ ] I understand that submitting code with bugs that could have been caught through manual testing blocks releases and new features for all contributors ## Please put your Discord username so you can be contacted if a bug or regression is found: <DISCORD USERNAME> Co-authored-by: evan <openfrontio@gmail.com>
73 lines
2.0 KiB
TypeScript
73 lines
2.0 KiB
TypeScript
import { GameEnv, ServerConfig } from "../../src/core/configuration/Config";
|
|
import { GameMapType } from "../../src/core/game/Game";
|
|
import { GameID } from "../../src/core/Schemas";
|
|
|
|
export class TestServerConfig implements ServerConfig {
|
|
otelEnabled(): boolean {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
otelEndpoint(): string {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
otelUsername(): string {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
otelPassword(): string {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
region(): string {
|
|
return "test";
|
|
}
|
|
turnIntervalMs(): number {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
gameCreationRate(): number {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
lobbyMaxPlayers(map: GameMapType): number {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
discordRedirectURI(): string {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
numWorkers(): number {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
workerIndex(gameID: GameID): number {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
workerPath(gameID: GameID): string {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
workerPort(gameID: GameID): number {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
workerPortByIndex(workerID: number): number {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
env(): GameEnv {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
adminToken(): string {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
adminHeader(): string {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
gitCommit(): string {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
r2Bucket(): string {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
r2Endpoint(): string {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
r2AccessKey(): string {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
r2SecretKey(): string {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
}
|