-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #64 from project-fika/headless-3.9
Headless
- Loading branch information
Showing
26 changed files
with
637 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,4 +23,5 @@ export interface IFikaMatch { | |
time: FikaTime; | ||
raidCode: string; | ||
natPunch: boolean; | ||
isDedicated: boolean; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
import { IFikaConfigClient } from "./IFikaConfigClient"; | ||
import { IFikaConfigServer } from "./IFikaConfigServer"; | ||
import { IFikaConfigNatPunchServer } from "./IFikaConfigNatPunchServer"; | ||
import { IFikaConfigDedicated } from "./IFikaConfigDedicated"; | ||
|
||
export interface IFikaConfig { | ||
client: IFikaConfigClient; | ||
server: IFikaConfigServer; | ||
natPunchServer: IFikaConfigNatPunchServer; | ||
dedicated: IFikaConfigDedicated; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
export interface IFikaConfigDedicated { | ||
profiles: { | ||
amount: number; | ||
} | ||
scripts: { | ||
generate: boolean; | ||
forceIp: string; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export interface IDedicatedClientInfo { | ||
state: string; | ||
lastPing: number; | ||
} |
3 changes: 3 additions & 0 deletions
3
src/models/fika/routes/raid/dedicated/IGetStatusDedicatedResponse.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export interface IGetStatusDedicatedResponse { | ||
available: boolean | ||
} |
16 changes: 16 additions & 0 deletions
16
src/models/fika/routes/raid/dedicated/IStartDedicatedRequest.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { BotSettings, TimeAndWeatherSettings, WavesSettings } from "@spt-aki/models/eft/match/IRaidSettings"; | ||
import { DateTime } from "@spt-aki/models/enums/DateTime"; | ||
import { PlayersSpawnPlace } from "@spt-aki/models/enums/PlayersSpawnPlace"; | ||
import { SideType } from "@spt-aki/models/enums/SideType"; | ||
|
||
export interface IStartDedicatedRequest { | ||
expectedNumberOfPlayers: number; | ||
time: DateTime; | ||
locationId: string; | ||
spawnPlace: PlayersSpawnPlace; | ||
metabolismDisabled: boolean; | ||
timeAndWeatherSettings: TimeAndWeatherSettings; | ||
botSettings: BotSettings; | ||
wavesSettings: WavesSettings; | ||
side: SideType; | ||
} |
4 changes: 4 additions & 0 deletions
4
src/models/fika/routes/raid/dedicated/IStartDedicatedResponse.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export interface IStartDedicatedResponse { | ||
matchId: string; | ||
error: string; | ||
} |
Oops, something went wrong.