You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IsDone() bool //Called to check if match processing is finished, if variable must be set to true when GameMode.StartMatch() finishes
GetLevels() []*Level //Returns the allowed levels for this game mode, or nothing if any levels are allowed
GetWeapons() []Weapon //Returns the weapon list that will be in use for this game mode
GetWeaponSpawnRates() []WeaponSpawnRate //Returns the weapon spawn rates that match the four in-game options (normal, fast, none, slow), with 0/0 for no spawns
StartMatch(lobby *Lobby) //Gets called in a goroutine at the start of each match, must allow GameMode.IsDone() to return true if checking lobby.MatchInProgress() to finish running