map, player, game, gamemode data now database driven
This commit is contained in:
22
Sources/App/Content/Config/GameConfig.swift
Normal file
22
Sources/App/Content/Config/GameConfig.swift
Normal file
@@ -0,0 +1,22 @@
|
||||
//
|
||||
// GameConfig.swift
|
||||
// App
|
||||
//
|
||||
// Created by Michael Simard on 10/29/21.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
|
||||
import Fluent
|
||||
import Vapor
|
||||
|
||||
struct GameConfig: Content {
|
||||
|
||||
var gameId: String
|
||||
var name: String
|
||||
var maps: [MapConfig]
|
||||
var enabled:Bool
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user