added vac/gameban marker for matches

This commit is contained in:
2021-10-28 08:47:41 +02:00
parent 25b153900f
commit 37233be336
14 changed files with 371 additions and 10 deletions

View File

@@ -19,6 +19,14 @@ func init() {
matchDescDemoParsed := matchFields[10].Descriptor()
// match.DefaultDemoParsed holds the default value on creation for the demo_parsed field.
match.DefaultDemoParsed = matchDescDemoParsed.Default.(bool)
// matchDescVacPresent is the schema descriptor for vac_present field.
matchDescVacPresent := matchFields[11].Descriptor()
// match.DefaultVacPresent holds the default value on creation for the vac_present field.
match.DefaultVacPresent = matchDescVacPresent.Default.(bool)
// matchDescGamebanPresent is the schema descriptor for gameban_present field.
matchDescGamebanPresent := matchFields[12].Descriptor()
// match.DefaultGamebanPresent holds the default value on creation for the gameban_present field.
match.DefaultGamebanPresent = matchDescGamebanPresent.Default.(bool)
playerFields := schema.Player{}.Fields()
_ = playerFields
// playerDescSteamUpdated is the schema descriptor for steam_updated field.