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