From 15e727c6c36f7df48e0ed451a0dcef82c0f3e0ed Mon Sep 17 00:00:00 2001 From: cyber-dream Date: Mon, 7 Nov 2022 15:06:45 +0300 Subject: [PATCH] Add backgorunds to games --- gameUtils/gameTypes.go | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/gameUtils/gameTypes.go b/gameUtils/gameTypes.go index 1d060eb..dfac299 100644 --- a/gameUtils/gameTypes.go +++ b/gameUtils/gameTypes.go @@ -13,6 +13,11 @@ type GameInterfaceAssets struct { Title string Icon string Description string + Backgrounds []GameInterfaceBackground +} + +type GameInterfaceBackground struct { + File string } type Games struct { @@ -27,6 +32,6 @@ type JSGameInterface struct { } type Argument struct { - Body string `json:"body"` - Value string `json:"value"` + Body string + Value string }