mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 13:00:42 +00:00
8ff3f4496c
references #2001 ## Description: Improve the ranked matchmaking modal. Better messages, and show 1v1 elo <img width="450" height="210" alt="Screenshot 2026-01-08 at 7 11 20 PM" src="https://github.com/user-attachments/assets/e4f8323c-5d98-48de-babe-b51526a6d408" /> <img width="622" height="614" alt="Screenshot 2026-01-08 at 7 11 14 PM" src="https://github.com/user-attachments/assets/73d10f84-b5b5-4ba8-95bb-a181a9fd9dae" /> ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced ## Please put your Discord username so you can be contacted if a bug or regression is found: evan
89 lines
2.5 KiB
TypeScript
89 lines
2.5 KiB
TypeScript
import { JWK } from "jose";
|
|
import { GameEnv, ServerConfig } from "../../src/core/configuration/Config";
|
|
import { GameMapType, PublicGameModifiers } from "../../src/core/game/Game";
|
|
import { GameID } from "../../src/core/Schemas";
|
|
|
|
export class TestServerConfig implements ServerConfig {
|
|
turnstileSiteKey(): string {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
turnstileSecretKey(): string {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
apiKey(): string {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
allowedFlares(): string[] | undefined {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
stripePublishableKey(): string {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
domain(): string {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
subdomain(): string {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
jwtAudience(): string {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
jwtIssuer(): string {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
jwkPublicKey(): Promise<JWK> {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
otelEnabled(): boolean {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
otelEndpoint(): string {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
otelAuthHeader(): string {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
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.");
|
|
}
|
|
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.");
|
|
}
|
|
getRandomPublicGameModifiers(): PublicGameModifiers {
|
|
return { isCompact: false, isRandomSpawn: false };
|
|
}
|
|
supportsCompactMapForTeams(map: GameMapType): boolean {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
}
|