aboutsummaryrefslogtreecommitdiff
path: root/backend/models
diff options
context:
space:
mode:
Diffstat (limited to 'backend/models')
-rw-r--r--backend/models/models.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/backend/models/models.go b/backend/models/models.go
index be6265f..cdcd111 100644
--- a/backend/models/models.go
+++ b/backend/models/models.go
@@ -118,6 +118,17 @@ type ScoreResponse struct {
118 Records any `json:"records"` 118 Records any `json:"records"`
119} 119}
120 120
121type SearchResponse struct {
122 Players []struct {
123 SteamID string `json:"steam_id"`
124 UserName string `json:"user_name"`
125 } `json:"players"`
126 Maps []struct {
127 ID int `json:"id"`
128 Name string `json:"name"`
129 } `json:"maps"`
130}
131
121type PlayerSummaries struct { 132type PlayerSummaries struct {
122 SteamId string `json:"steamid"` 133 SteamId string `json:"steamid"`
123 CommunityVisibilityState int `json:"communityvisibilitystate"` 134 CommunityVisibilityState int `json:"communityvisibilitystate"`